common/autoconf/configure.ac

changeset 972
f3697e0783e2
parent 970
e885c762cedd
parent 868
6f19b2440412
child 1133
50aaf272884f
child 1320
045eace96e6d
     1.1 --- a/common/autoconf/configure.ac	Thu Sep 12 12:29:17 2013 -0700
     1.2 +++ b/common/autoconf/configure.ac	Tue Nov 05 17:33:48 2013 -0800
     1.3 @@ -178,6 +178,9 @@
     1.4  #
     1.5  ###############################################################################
     1.6  
     1.7 +# After we have toolchain, we can compile fixpath. It's needed by the lib checks.
     1.8 +BASIC_COMPILE_FIXPATH
     1.9 +
    1.10  LIB_SETUP_INIT
    1.11  LIB_SETUP_X11
    1.12  LIB_SETUP_CUPS
    1.13 @@ -186,8 +189,6 @@
    1.14  LIB_SETUP_MISC_LIBS
    1.15  LIB_SETUP_STATIC_LINK_LIBSTDCPP
    1.16  
    1.17 -# After we have toolchain and the paths to all libraries (needed by msys), we can compile the fixpath helper
    1.18 -BASIC_COMPILE_FIXPATH
    1.19  
    1.20  ###############################################################################
    1.21  #
    1.22 @@ -233,9 +234,15 @@
    1.23  # We're messing a bit with internal autoconf variables to put the config.status
    1.24  # in the output directory instead of the current directory.
    1.25  CONFIG_STATUS="$OUTPUT_ROOT/config.status"
    1.26 +
    1.27  # Create the actual output files. Now the main work of configure is done.
    1.28  AC_OUTPUT
    1.29  
    1.30 +# Try to move the config.log file to the output directory.
    1.31 +if test -e ./config.log; then
    1.32 +  $MV -f ./config.log "$OUTPUT_ROOT/config.log" 2> /dev/null
    1.33 +fi
    1.34 +
    1.35  # Make the compare script executable
    1.36  $CHMOD +x $OUTPUT_ROOT/compare.sh
    1.37  

mercurial