From 2d77ba65be2062ce5f233d0b3b2b58681aeee075 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 7 Apr 2006 10:59:10 +0000 Subject: r14957: fixed shell syntax for config.h creation, and move after AC_OUTPUT (This used to be commit a3d6d28adc2ece11e90c72d28ea918d8fcca7bc0) --- source4/configure.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source4') 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 -- cgit