configure.in
changeset 12390 60f322c5984f
parent 12258 231245d461a2
child 12391 ca6e41ade79a
equal deleted inserted replaced
12389:5817dbd75619 12390:60f322c5984f
   229         ])
   229         ])
   230         LDFLAGS="$save_LDFLAGS"
   230         LDFLAGS="$save_LDFLAGS"
   231         ;;
   231         ;;
   232 esac
   232 esac
   233 AC_MSG_RESULT($have_no_undefined)
   233 AC_MSG_RESULT($have_no_undefined)
       
   234 
       
   235 AC_MSG_CHECKING(for linker option --dynamicbase)
       
   236 have_dynamicbase=no
       
   237 case "$host" in
       
   238     *)
       
   239         save_LDFLAGS="$LDFLAGS"
       
   240         LDFLAGS="$LDFLAGS -Wl,--dynamicbase"
       
   241         AC_TRY_LINK([
       
   242         ],[
       
   243         ],[
       
   244         have_dynamicbase=yes
       
   245         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--dynamicbase"
       
   246         ])
       
   247         LDFLAGS="$save_LDFLAGS"
       
   248         ;;
       
   249 esac
       
   250 AC_MSG_RESULT($have_dynamicbase)
       
   251 
       
   252 AC_MSG_CHECKING(for linker option --nxcompat)
       
   253 have_nxcompat=no
       
   254 case "$host" in
       
   255     *)
       
   256         save_LDFLAGS="$LDFLAGS"
       
   257         LDFLAGS="$LDFLAGS -Wl,--nxcompat"
       
   258         AC_TRY_LINK([
       
   259         ],[
       
   260         ],[
       
   261         have_nxcompat=yes
       
   262         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--nxcompat"
       
   263         ])
       
   264         LDFLAGS="$save_LDFLAGS"
       
   265         ;;
       
   266 esac
       
   267 AC_MSG_RESULT($have_nxcompat)
       
   268 
       
   269 AC_MSG_CHECKING(for linker option --high-entropy-va)
       
   270 have_high_entropy_va=no
       
   271 case "$host" in
       
   272     *)
       
   273         save_LDFLAGS="$LDFLAGS"
       
   274         LDFLAGS="$LDFLAGS -Wl,--high-entropy-va"
       
   275         AC_TRY_LINK([
       
   276         ],[
       
   277         ],[
       
   278         have_high_entropy_va=yes
       
   279         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--high-entropy-va"
       
   280         ])
       
   281         LDFLAGS="$save_LDFLAGS"
       
   282         ;;
       
   283 esac
       
   284 AC_MSG_RESULT($have_high_entropy_va)
   234 
   285 
   235 dnl See whether we are allowed to use the system C library
   286 dnl See whether we are allowed to use the system C library
   236 AC_ARG_ENABLE(libc,
   287 AC_ARG_ENABLE(libc,
   237 AC_HELP_STRING([--enable-libc], [Use the system C library [[default=yes]]]),
   288 AC_HELP_STRING([--enable-libc], [Use the system C library [[default=yes]]]),
   238               , enable_libc=yes)
   289               , enable_libc=yes)