]> granicus.if.org Git - libevent/commitdiff
build: remove commented code from configure.ac
authorfanquake <fanquake@gmail.com>
Fri, 3 Jul 2020 07:47:10 +0000 (15:47 +0800)
committerfanquake <fanquake@gmail.com>
Tue, 7 Jul 2020 05:57:34 +0000 (13:57 +0800)
configure.ac

index 33dcf2457bf5d07132feb7f093dcef211e5b2b71..9e62bc0421ee43b3b099b60637d75cb9b6cb5c8a 100644 (file)
@@ -23,26 +23,16 @@ AC_PREFIX_DEFAULT([/usr/local])
 dnl Try and get a full POSIX environment on obscure systems
 AC_USE_SYSTEM_EXTENSIONS
 
-AC_CANONICAL_BUILD
-AC_CANONICAL_HOST
 dnl the 'build' machine is where we run configure and compile
 dnl the 'host' machine is where the resulting stuff runs.
-
-dnlcase "$host_os" in
-dnl
-dnl osf5*)
-dnl    CFLAGS="$CFLAGS -D_OSF_SOURCE"
-dnl    ;;
-dnlesac
+AC_CANONICAL_BUILD
+AC_CANONICAL_HOST
 
 dnl Checks for programs.
 AM_PROG_CC_C_O
 AC_PROG_INSTALL
 AC_PROG_LN_S
-dnl AC_PROG_MKDIR_P - $(MKDIR_P) should be defined by AM_INIT_AUTOMAKE
-
 AC_PROG_SED
-
 AC_PROG_GCC_TRADITIONAL
 
 AC_ARG_ENABLE(gcc-warnings,
@@ -91,10 +81,6 @@ AC_ARG_ENABLE([clock-gettime],
 LT_PREREQ([2.4.2])
 LT_INIT
 
-dnl   Uncomment "AC_DISABLE_SHARED" to make shared libraries not get
-dnl   built by default.  You can also turn shared libs on and off from
-dnl   the command line with --enable-shared and --disable-shared.
-dnl AC_DISABLE_SHARED
 AC_SUBST(LIBTOOL_DEPS)
 
 AM_CONDITIONAL([BUILD_SAMPLES], [test "$enable_samples" = "yes"])
@@ -880,10 +866,6 @@ if test x$enable_gcc_warnings != xno && test "$GCC" = "yes"; then
         AX_CHECK_COMPILE_FLAG([-Qunused-arguments], [CFLAGS="$CFLAGS -Qunused-arguments"],[],[-Werror])
     esac
   fi
-
-dnl This will break the world on some 64-bit architectures
-dnl CFLAGS="$CFLAGS -Winline"
-
 fi
 
 LIBEVENT_GC_SECTIONS=