Remove unet_PIPE_CFLAGS macro.
[ircu2.10.12-pk.git] / configure.in
index eaefd8cb5622ef582f79fbef9eba5aeccb8627ce..732916399655faa1507230bcbb2f211d4e87d555 100644 (file)
@@ -41,8 +41,8 @@ ac_default_prefix=$unet_cv_prefix
 dnl Define the input and output configuration header file.
 AC_CONFIG_HEADER([config.h])
 
-dnl Demand at least version 2.50 of autoconf
-AC_PREREQ(2.50)
+dnl Demand at least version 2.59 of autoconf (for AS_HELP_STRING)
+AC_PREREQ(2.59)
 
 dnl Find out what type of system we are
 AC_CANONICAL_HOST
@@ -64,10 +64,6 @@ fi
 if test x"$CFLAGS" != x; then
     CFLAGS=`echo "$CFLAGS" | sed -e s/-O2/$unet_cv_optimization/`
 fi
-dnl Remove -pipe during configure
-if test x"$CFLAGS" != x; then
-    CFLAGS=`echo "$CFLAGS" | sed -e 's/-pipe//g'`
-fi
 dnl Notice the -g flag and deal accordingly
 if test x"$CFLAGS" != x; then
     unet_old_cflags=$CFLAGS
@@ -180,13 +176,9 @@ dnl byacc does not seem to have any way to test for workingness, so only warn.
   AC_MSG_WARN([$YACC may not work as yacc.])
 fi
 
-
 unet_NONBLOCKING
 unet_SIGNALS
 
-dnl Add -pipe when possible
-unet_PIPE_CFLAGS
-
 dnl Check OS for os_dep files.
 AC_MSG_CHECKING(for OS-dependent information)
 case "$host" in