commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r164232 - /jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in
Date Fri, 22 Apr 2005 13:01:31 GMT
Author: jfclere
Date: Fri Apr 22 06:01:30 2005
New Revision: 164232

URL: http://svn.apache.org/viewcvs?rev=164232&view=rev
Log:
CFLAGS was set too early... before JAVA_HOME!

Modified:
    jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in

Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in?rev=164232&r1=164231&r2=164232&view=diff
==============================================================================
--- jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in (original)
+++ jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in Fri Apr 22 06:01:30 2005
@@ -68,8 +68,6 @@
   CFLAGS="$CFLAGS -I`/bin/pwd -P`"
   cd $_prevdir
   unset _prevdir
-else
-  CFLAGS="$CFLAGS -I$JAVA_HOME/include -I$JAVA_HOME/include/$supported_os"
 fi
 
 dnl -------------------------------------------------------------------------
@@ -79,6 +77,10 @@
 AP_JAVA()
 AP_PROG_JAVAC()
 AP_PROG_JAR()
+if test "$supported_os" != "darwin"
+then
+  CFLAGS="$CFLAGS -I$JAVA_HOME/include -I$JAVA_HOME/include/$supported_os"
+fi
 
 dnl -------------------------------------------------------------------------
 dnl Add gcc specific CFLAGS.



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message