summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-07 10:59:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:45 -0500
commit2d77ba65be2062ce5f233d0b3b2b58681aeee075 (patch)
tree0de1c009f9ccd210524a8b0327a810affa048bf2
parent127967334fbf3851debacbc0f2574461b542cbad (diff)
downloadsamba-2d77ba65be2062ce5f233d0b3b2b58681aeee075.tar.gz
samba-2d77ba65be2062ce5f233d0b3b2b58681aeee075.tar.bz2
samba-2d77ba65be2062ce5f233d0b3b2b58681aeee075.zip
r14957: fixed shell syntax for config.h creation, and move after AC_OUTPUT
(This used to be commit a3d6d28adc2ece11e90c72d28ea918d8fcca7bc0)
-rw-r--r--source4/configure.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/configure.in b/source4/configure.in
index 456b34f650..8bf0551964 100644
--- a/source4/configure.in
+++ b/source4/configure.in
@@ -110,14 +110,14 @@ $SMB_INFO_SUBSYSTEMS
$SMB_INFO_LIBRARIES
CEOF
-cmp include/config_tmp.h include/config.h >/dev/null 2>&1
-CMP_RET=$?
-if [ $CMP_RET != 0 ];then
- cp include/config_tmp.h include/config.h
-fi
-
AC_OUTPUT_COMMANDS(
[$PERL -I${builddir} -I${srcdir} -I${srcdir}/build ${srcdir}/build/smb_build/main.pl || exit $?],[
PERL="$PERL";export PERL;export srcdir; export builddir;
])
AC_OUTPUT
+
+cmp include/config_tmp.h include/config.h >/dev/null 2>&1
+CMP_RET=$?
+if test $CMP_RET != 0; then
+ cp include/config_tmp.h include/config.h
+fi