summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9094cf044..522f54b05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -289,6 +289,16 @@ AC_ARG_WITH([cflags],
289 fi 289 fi
290 ] 290 ]
291) 291)
292
293AC_ARG_WITH([cflags-after],
294 [ --with-cflags-after Specify additional flags to pass to compiler after configure],
295 [
296 if test -n "$withval" && test "x$withval" != "xno" && \
297 test "x${withval}" != "xyes"; then
298 CFLAGS_AFTER="$withval"
299 fi
300 ]
301)
292AC_ARG_WITH([cppflags], 302AC_ARG_WITH([cppflags],
293 [ --with-cppflags Specify additional flags to pass to preprocessor] , 303 [ --with-cppflags Specify additional flags to pass to preprocessor] ,
294 [ 304 [
@@ -307,6 +317,15 @@ AC_ARG_WITH([ldflags],
307 fi 317 fi
308 ] 318 ]
309) 319)
320AC_ARG_WITH([ldflags-after],
321 [ --with-ldflags-after Specify additional flags to pass to linker after configure],
322 [
323 if test -n "$withval" && test "x$withval" != "xno" && \
324 test "x${withval}" != "xyes"; then
325 LDFLAGS_AFTER="$withval"
326 fi
327 ]
328)
310AC_ARG_WITH([libs], 329AC_ARG_WITH([libs],
311 [ --with-libs Specify additional libraries to link with], 330 [ --with-libs Specify additional libraries to link with],
312 [ 331 [
@@ -5022,6 +5041,9 @@ AC_SUBST([TEST_SSH_UTF8], [$TEST_SSH_UTF8])
5022AC_SUBST([TEST_MALLOC_OPTIONS], [$TEST_MALLOC_OPTIONS]) 5041AC_SUBST([TEST_MALLOC_OPTIONS], [$TEST_MALLOC_OPTIONS])
5023AC_SUBST([UNSUPPORTED_ALGORITHMS], [$unsupported_algorithms]) 5042AC_SUBST([UNSUPPORTED_ALGORITHMS], [$unsupported_algorithms])
5024 5043
5044CFLAGS="${CFLAGS} ${CFLAGS_AFTER}"
5045LDFLAGS="${LDFLAGS} ${LDFLAGS_AFTER}"
5046
5025AC_EXEEXT 5047AC_EXEEXT
5026AC_CONFIG_FILES([Makefile buildpkg.sh opensshd.init openssh.xml \ 5048AC_CONFIG_FILES([Makefile buildpkg.sh opensshd.init openssh.xml \
5027 openbsd-compat/Makefile openbsd-compat/regress/Makefile \ 5049 openbsd-compat/Makefile openbsd-compat/regress/Makefile \