summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-09 02:52:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:01 -0500
commite6b457d55031f1987c8fa5719c5bbf46743281a0 (patch)
tree5be8b87ef4db6bc84e4a2cb8c960a0129bcc936e /source4/lib/replace
parent35f1a2c30af0cb0a677642b893ebc38579482526 (diff)
downloadsamba-e6b457d55031f1987c8fa5719c5bbf46743281a0.tar.gz
samba-e6b457d55031f1987c8fa5719c5bbf46743281a0.tar.bz2
samba-e6b457d55031f1987c8fa5719c5bbf46743281a0.zip
r18283: libreplace.m4 needs to be early in configure.ac in other packages too
(This used to be commit 03f9c67c066d772d9a544f1183fbee609ab8137b)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/configure.ac2
-rw-r--r--source4/lib/replace/libreplace.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/configure.ac b/source4/lib/replace/configure.ac
index bd500ae8d4..aaf404e373 100644
--- a/source4/lib/replace/configure.ac
+++ b/source4/lib/replace/configure.ac
@@ -5,8 +5,6 @@ AC_PREREQ(2.50)
AC_INIT(dlfcn.c)
AC_CONFIG_SRCDIR([dlfcn.c])
AC_CONFIG_HEADER(config.h)
-AC_PROG_INSTALL
-AC_PROG_CC
if test "$ac_cv_prog_gcc" = yes; then
CFLAGS="$CFLAGS -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings"
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index 6a24c053e3..519b911de5 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -16,6 +16,7 @@ AC_ISC_POSIX
AC_USE_SYSTEM_EXTENSIONS
AC_C_INLINE
AC_PROG_CC
+AC_PROG_INSTALL
LIBREPLACE_C99_STRUCT_INIT([],[])
@@ -30,6 +31,7 @@ esac
AC_C_BIGENDIAN
AC_HEADER_STDC
+
AC_CHECK_SIZEOF(off_t,cross)
AC_CHECK_SIZEOF(size_t,cross)
AC_CHECK_SIZEOF(ssize_t,cross)