summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2011-05-16 00:14:47 +0000
committerRasmus Lerdorf <rasmus@php.net>2011-05-16 00:14:47 +0000
commit353077d23438f8b22d6f043e1da4101b163b165e (patch)
tree717b30bf4f3da49da8cd61bbf53398d6b0b73838 /TSRM
parentc0748c785619e6a1180c3c7b9c50a6831bc8a12f (diff)
downloadphp-git-353077d23438f8b22d6f043e1da4101b163b165e.tar.gz
Get rid of autoconf warnings
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/acconfig.h1
-rw-r--r--TSRM/build.mk2
-rw-r--r--TSRM/configure.in4
3 files changed, 5 insertions, 2 deletions
diff --git a/TSRM/acconfig.h b/TSRM/acconfig.h
deleted file mode 100644
index 2b94cf35e7..0000000000
--- a/TSRM/acconfig.h
+++ /dev/null
@@ -1 +0,0 @@
-#undef PTHREADS
diff --git a/TSRM/build.mk b/TSRM/build.mk
index aac1a8b982..f5756af72c 100644
--- a/TSRM/build.mk
+++ b/TSRM/build.mk
@@ -33,7 +33,7 @@ $(makefile_in_files): $(makefile_am_files)
aclocal.m4: configure.in acinclude.m4
aclocal
-$(config_h_in): configure.in acconfig.h
+$(config_h_in): configure.in
# explicitly remove target since autoheader does not seem to work
# correctly otherwise (timestamps are not updated)
@rm -f $@
diff --git a/TSRM/configure.in b/TSRM/configure.in
index acfdd00b35..6f10f5ab13 100644
--- a/TSRM/configure.in
+++ b/TSRM/configure.in
@@ -7,6 +7,10 @@ AC_INIT(TSRM.c)
AM_INIT_AUTOMAKE(TSRM, 1.0, nodefine)
AM_CONFIG_HEADER(tsrm_config.h)
+AH_TOP([
+#undef PTHREADS
+])
+
sinclude(tsrm.m4)
TSRM_BASIC_CHECKS