]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
don't use acconfig.h anymore because its deprecated with newer autoconf svn/VALGRIND_1_0_BRANCH
authorDirk Mueller <daywalker@users.sourceforge.net>
Wed, 16 Oct 2002 12:41:06 +0000 (12:41 +0000)
committerDirk Mueller <daywalker@users.sourceforge.net>
Wed, 16 Oct 2002 12:41:06 +0000 (12:41 +0000)
versions. it will work with old autoconf as well.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@1234

.cvsignore
acconfig.h [deleted file]
configure.in

index 6e4e554bcd105a1ea33c86e9c3edd6a1244580ba..4f0d3efc87e7405287421debc72fce8852b5554e 100644 (file)
@@ -11,3 +11,4 @@ cachegrind
 vg_annotate
 vg_cachegen
 default.supp
+autom4te.cache
diff --git a/acconfig.h b/acconfig.h
deleted file mode 100644 (file)
index 5e98213..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#undef KERNEL_2_2
-#undef KERNEL_2_4
-
-#undef HAVE_SCHED_PRIORITY
-#undef HAVE_NFDS_T
-
-#undef GLIBC_2_1
-#undef GLIBC_2_2
-#undef GLIBC_2_3
-
-#undef XFREE_3
-#undef XFREE_4
index 8536845e5edde4616ac90411217d493e580cc3e6..9ab05d79c514776e3e06ff70d192eddf8274067d 100644 (file)
@@ -89,12 +89,12 @@ kernel=`uname -r`
 case "${kernel}" in
      2.4.*) 
            AC_MSG_RESULT([2.4 family (${kernel})])
-           AC_DEFINE(KERNEL_2_4)
+           AC_DEFINE([KERNEL_2_4], 1, [Define to 1 if you're using Linux 2.4.x])
            ;;
 
      2.2.*) 
            AC_MSG_RESULT([2.2 family (${kernel})])
-           AC_DEFINE(KERNEL_2_2)
+           AC_DEFINE([KERNEL_2_2], 1, [Define to 1 if you're using Linux 2.2.x])
            ;;
 
      *) 
@@ -144,19 +144,19 @@ glibc="2.3")
 case "${glibc}" in
      2.1)
        AC_MSG_RESULT(2.1 family)
-       AC_DEFINE(GLIBC_2_1)
+       AC_DEFINE([GLIBC_2_1], 1, [Define to 1 if you're using glibc 2.1.x])
        DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.1.supp"
        ;;
 
      2.2)
        AC_MSG_RESULT(2.2 family)
-       AC_DEFINE(GLIBC_2_2)
+       AC_DEFINE([GLIBC_2_2], 1, [Define to 1 if you're using glibc 2.2.x])
        DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.2.supp"
        ;;
 
      2.3)
        AC_MSG_RESULT(2.3 family)
-       AC_DEFINE(GLIBC_2_3)
+       AC_DEFINE([GLIBC_2_3], 1, [Define to 1 if you're using glibc 2.3.x])
        ## Use the same suppression for as for 2.2.
        ## This is a horrible hack that should be gotten
        ## rid of.  JRS, 20021007.
@@ -181,7 +181,7 @@ vg_have_sched_priority=no)
 ])
 AC_MSG_RESULT($vg_have_sched_priority)
 if test "$vg_have_sched_priority" = yes; then
-AC_DEFINE(HAVE_SCHED_PRIORITY)
+AC_DEFINE([HAVE_SCHED_PRIORITY], 1, [pthread / sched_priority exists])
 fi
 
 AC_MSG_CHECKING([whether nfds_t is defined])
@@ -194,7 +194,7 @@ vg_have_nfds_t=no)
 ])
 AC_MSG_RESULT($vg_have_nfds_t)
 if test "$vg_have_nfds_t" = yes; then
-AC_DEFINE(HAVE_NFDS_T)
+AC_DEFINE([HAVE_NFDS_T], 1, [nfds_t exists])
 fi
 
 # try to detect the XFree version
@@ -244,7 +244,7 @@ EOF
 
        *version=4*) 
           AC_MSG_RESULT([XFree 4.x family])
-          AC_DEFINE(XFREE_4)
+          AC_DEFINE([XFREE_4], 1, [Define to 1 if you're using XFree 4.x])
           DEFAULT_SUPP="${DEFAULT_SUPP} xfree-4.supp"
           # haaaaaaack!
           DEFAULT_SUPP="${DEFAULT_SUPP} xfree-3.supp"
@@ -252,7 +252,7 @@ EOF
 
        *version=3*) 
           AC_MSG_RESULT([XFree 3.x family])
-          AC_DEFINE(XFREE_3)
+          AC_DEFINE([XFREE_3], 1, [Define to 1 if you're using XFree86 3.x])
           DEFAULT_SUPP="${DEFAULT_SUPP} xfree-3.supp"
           # haaaaaaack!
           DEFAULT_SUPP="${DEFAULT_SUPP} xfree-4.supp"