[netperf-dev] netperf4 commit notice r48 - trunk

raj at netperf.org raj at netperf.org
Wed Jan 25 12:09:28 PST 2006


Author: raj
Date: 2006-01-25 12:09:23 -0800 (Wed, 25 Jan 2006)
New Revision: 48

Modified:
   trunk/configure
   trunk/configure.ac
Log:
Start automagically adding things to stuff like CPPFLAGS based on platform


Modified: trunk/configure
===================================================================
--- trunk/configure	2006-01-25 20:04:57 UTC (rev 47)
+++ trunk/configure	2006-01-25 20:09:23 UTC (rev 48)
@@ -20532,6 +20532,18 @@
 fi
 
 
+# likely as good a place as any to see about adding stuff to flags I
+# wonder if this needs to get any more sophisticated than this?
+
+case $target in
+     *-*-linux*)
+        CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_GNU_SOURCE"
+	;;
+     *-*-hpux*)
+        CPPFLAGS="$CPPFLAGS -D_REENTRANT"
+	;;
+esac
+
 # Checks for libraries.
 
 echo "$as_me:$LINENO: checking for main in -lm" >&5

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2006-01-25 20:04:57 UTC (rev 47)
+++ trunk/configure.ac	2006-01-25 20:09:23 UTC (rev 48)
@@ -25,6 +25,18 @@
 
 AC_C_CONST
 
+# likely as good a place as any to see about adding stuff to flags I
+# wonder if this needs to get any more sophisticated than this?
+
+case $target in 
+     *-*-linux*)
+        CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_GNU_SOURCE"
+	;;
+     *-*-hpux*)
+        CPPFLAGS="$CPPFLAGS -D_REENTRANT"
+	;;
+esac
+
 # Checks for libraries.
 AC_HAVE_LIBRARY(m)
 AC_HAVE_LIBRARY(pthread)



More information about the netperf-dev mailing list