summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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