|
From: Jeremy F. <je...@go...> - 2005-02-09 20:15:07
|
CVS commit by fitzhardinge:
I think this will let older autotools work. Also, changes --with-pie/tls options
to --enable-pie/tls, since --with is for naming other packages, and --enable is
for feature flags.
M +4 -7 configure.in 1.148
--- valgrind/configure.in #1.147:1.148
@@ -1,4 +1,3 @@
# Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
AC_INIT(Valgrind, 2.3.0.CVS, val...@li...)
AC_CONFIG_SRCDIR(coregrind/vg_main.c)
@@ -255,7 +254,6 @@
# Check for TLS support in the compiler and linker
AC_CACHE_CHECK([for TLS support], vg_cv_tls,
- [AC_ARG_WITH(tls, AS_HELP_STRING([--with-tls],
- [platform does or does not support TLS]),
- [vg_cv_tls=$withval],
+ [AC_ARG_ENABLE(tls, [ --enable-tls platform supports TLS],
+ [vg_cv_tls=$enableval],
[AC_RUN_IFELSE([AC_LANG_PROGRAM([[static __thread int foo;]],
[[return foo;]])],
@@ -269,7 +267,6 @@
# Check for PIE support in the compiler and linker
AC_CACHE_CHECK([for PIE support], vg_cv_pie,
- [AC_ARG_WITH(pie, AS_HELP_STRING([--with-pie],
- [force (or --without to prevent) the use of PIE linking]),
- [vg_cv_pie=$withval],
+ [AC_ARG_ENABLE(pie, [ --enable-pie platform supports PIE linking],
+ [vg_cv_pie=$enableval],
[safe_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -fpie"
|