configure.in
changeset 6580 a7d6106f1715
parent 6577 d38491853506
child 6594 dccafb0699dc
equal deleted inserted replaced
6579:2390a7403b77 6580:a7d6106f1715
   178     if test x$have_gcc_mmd_mt = xyes; then
   178     if test x$have_gcc_mmd_mt = xyes; then
   179         DEPENDENCY_TRACKING_OPTIONS="-MMD -MT \$@"
   179         DEPENDENCY_TRACKING_OPTIONS="-MMD -MT \$@"
   180     fi
   180     fi
   181 fi
   181 fi
   182 
   182 
   183 AC_MSG_CHECKING(for linker option --no-undefined)
   183 # Actually this doesn't work on OpenBSD and BeOS
   184 have_no_undefined=no
   184 #AC_MSG_CHECKING(for linker option --no-undefined)
   185 save_LDFLAGS="$LDFLAGS"
   185 #have_no_undefined=no
   186 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
   186 #save_LDFLAGS="$LDFLAGS"
   187 AC_TRY_LINK([
   187 #LDFLAGS="$LDFLAGS -Wl,--no-undefined"
   188 ],[
   188 #AC_TRY_LINK([
   189 ],[
   189 #],[
   190 have_no_undefined=yes
   190 #],[
   191 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
   191 #have_no_undefined=yes
   192 ])
   192 #EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
   193 LDFLAGS="$save_LDFLAGS"
   193 #])
   194 AC_MSG_RESULT($have_no_undefined)
   194 #LDFLAGS="$save_LDFLAGS"
       
   195 #AC_MSG_RESULT($have_no_undefined)
   195 
   196 
   196 dnl See whether we are allowed to use the system C library
   197 dnl See whether we are allowed to use the system C library
   197 AC_ARG_ENABLE(libc,
   198 AC_ARG_ENABLE(libc,
   198 AC_HELP_STRING([--enable-libc], [Use the system C library [[default=yes]]]),
   199 AC_HELP_STRING([--enable-libc], [Use the system C library [[default=yes]]]),
   199               , enable_libc=yes)
   200               , enable_libc=yes)