From: Alan T. DeKok Date: Fri, 10 Sep 2010 11:55:47 +0000 (+0200) Subject: Fix typo in command-line option X-Git-Tag: release_3_0_0_beta0~1257 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=freeradius.git;a=commitdiff_plain;h=ba7ff87d14cce0897e832665b9d4b9957fc99af1 Fix typo in command-line option And set "libltdl-installable" if we're using our local libltdl. Otherwise, it will *still* use the system one. --- diff --git a/configure b/configure index d48179f..be6779b 100755 --- a/configure +++ b/configure @@ -1476,7 +1476,7 @@ Optional Features: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-system-libtldl Use the libltdl installed in your system (default=use our own) + --with-system-libltdl Use the libltdl installed in your system (default=use our own) --with-system-libtool Use the libtool installed in your system (default=use our own) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use @@ -4788,15 +4788,16 @@ echo "$as_me: error: GNU Make is not installed. Please download and install it fi -# Check whether --with-system-libtldl was given. -if test "${with_system_libtldl+set}" = set; then - withval=$with_system_libtldl; +# Check whether --with-system-libltdl was given. +if test "${with_system_libltdl+set}" = set; then + withval=$with_system_libltdl; LIBLTDL="-lltdl" INCLTDL= LTDL_SUBDIRS= else +test x"$enable_ltdl_install" = x && enable_ltdl_install=yes { echo "$as_me:$LINENO: checking for lt_dlinit in -lltdl" >&5 echo $ECHO_N "checking for lt_dlinit in -lltdl... $ECHO_C" >&6; } if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then @@ -5567,7 +5568,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 5570 "configure"' > conftest.$ac_ext + echo '#line 5571 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -7673,11 +7674,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7676: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7677: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7680: \$? = $ac_status" >&5 + echo "$as_me:7681: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7963,11 +7964,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7966: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7967: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7970: \$? = $ac_status" >&5 + echo "$as_me:7971: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8067,11 +8068,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8070: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8071: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8074: \$? = $ac_status" >&5 + echo "$as_me:8075: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -10444,7 +10445,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:12949: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12952: \$? = $ac_status" >&5 + echo "$as_me:12953: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13049,11 +13050,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13052: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13053: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13056: \$? = $ac_status" >&5 + echo "$as_me:13057: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14647,11 +14648,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14650: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14651: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:14654: \$? = $ac_status" >&5 + echo "$as_me:14655: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -14751,11 +14752,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14754: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14755: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14758: \$? = $ac_status" >&5 + echo "$as_me:14759: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -16971,11 +16972,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16974: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16975: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16978: \$? = $ac_status" >&5 + echo "$as_me:16979: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -17261,11 +17262,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17264: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17265: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:17268: \$? = $ac_status" >&5 + echo "$as_me:17269: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -17365,11 +17366,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17368: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17369: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:17372: \$? = $ac_status" >&5 + echo "$as_me:17373: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized diff --git a/configure.in b/configure.in index d338aa6..6cf97e4 100644 --- a/configure.in +++ b/configure.in @@ -72,8 +72,8 @@ if test -z "$makever"; then from ftp://prep.ai.mit.edu/pub/gnu/make/ before continuing.) fi -AC_ARG_WITH(system-libtldl, -[ --with-system-libtldl Use the libltdl installed in your system (default=use our own)], +AC_ARG_WITH(system-libltdl, +[ --with-system-libltdl Use the libltdl installed in your system (default=use our own)], [ LIBLTDL="-lltdl" INCLTDL= @@ -81,6 +81,8 @@ LTDL_SUBDIRS= enable_ltdl_install=no ], [ +dnl If libltdl isn't installable, set it to be installable. +[test x"$enable_ltdl_install" = x && enable_ltdl_install=yes] AC_LIBLTDL_INSTALLABLE dnl tell Makefile to build ltdl if needed