Author: mturk Date: Tue Sep 14 15:55:47 2010 New Revision: 996963 URL: http://svn.apache.org/viewvc?rev=996963&view=rev Log: DAEMON-171 Fix FreeBSD build. Patch provided by Simon Olofsson.
Modified: commons/proper/daemon/trunk/src/native/unix/configure.in commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 Modified: commons/proper/daemon/trunk/src/native/unix/configure.in URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/configure.in?rev=996963&r1=996962&r2=996963&view=diff ============================================================================== --- commons/proper/daemon/trunk/src/native/unix/configure.in (original) +++ commons/proper/daemon/trunk/src/native/unix/configure.in Tue Sep 14 15:55:47 2010 @@ -101,7 +101,7 @@ then LDCMD="$CC" fi AC_SUBST(LDCMD) -if test "$supported_os" == "linux" +if test "$supported_os" = "linux" then AC_CHECK_LIB([cap], [cap_init], [CFLAGS="$CFLAGS -DHAVE_LIBCAP" ; LIBS="$LIBS -lcap"]) fi Modified: commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4?rev=996963&r1=996962&r2=996963&view=diff ============================================================================== --- commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 (original) +++ commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 Tue Sep 14 15:55:47 2010 @@ -84,7 +84,7 @@ AC_DEFUN(AP_SUPPORTED_HOST,[ i?86) CFLAGS="$CFLAGS -DCPU=\\\"i386\\\"" HOST_CPU=i386;; - x86_64) + x86_64 | amd64) CFLAGS="$CFLAGS -DCPU=\\\"amd64\\\"" HOST_CPU=amd64;; bs2000)