summaryrefslogtreecommitdiffstats
path: root/source/lib/replace/libreplace_macros.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-14 07:30:46 +0000
committerStefan Metzmacher <metze@samba.org>2006-09-14 07:30:46 +0000
commit5a65c7ff8097f6a3261595352b22d6894d9018a7 (patch)
tree533d548c12759dc45bfa6aa737812ad19935c06c /source/lib/replace/libreplace_macros.m4
parent00212cd6dd09e9c4d5349b72d2ceb2278ea9e027 (diff)
downloadsamba-5a65c7ff8097f6a3261595352b22d6894d9018a7.tar.gz
samba-5a65c7ff8097f6a3261595352b22d6894d9018a7.tar.xz
samba-5a65c7ff8097f6a3261595352b22d6894d9018a7.zip
r18503: - _GNU_SOURCE is defined by libreplace
- move AS_HELP_STRING replacement to libreplace metze
Diffstat (limited to 'source/lib/replace/libreplace_macros.m4')
-rw-r--r--source/lib/replace/libreplace_macros.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/replace/libreplace_macros.m4 b/source/lib/replace/libreplace_macros.m4
index 913de5eab17..41ec03f07ae 100644
--- a/source/lib/replace/libreplace_macros.m4
+++ b/source/lib/replace/libreplace_macros.m4
@@ -264,3 +264,7 @@ define(AC_ADD_INCLUDE,
EOF
])
+dnl AS_HELP_STRING is not available in autoconf 2.57, and AC_HELP_STRING is deprecated
+dnl in autoconf 2.59, so define AS_HELP_STRING to be AC_HELP_STRING unless it is already
+dnl defined.
+m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])