common/autoconf/configure.ac

changeset 972
f3697e0783e2
parent 970
e885c762cedd
parent 868
6f19b2440412
child 1133
50aaf272884f
child 1320
045eace96e6d
equal deleted inserted replaced
971:584dc2e95e04 972:f3697e0783e2
176 # 176 #
177 # Check dependencies for external and internal libraries. 177 # Check dependencies for external and internal libraries.
178 # 178 #
179 ############################################################################### 179 ###############################################################################
180 180
181 # After we have toolchain, we can compile fixpath. It's needed by the lib checks.
182 BASIC_COMPILE_FIXPATH
183
181 LIB_SETUP_INIT 184 LIB_SETUP_INIT
182 LIB_SETUP_X11 185 LIB_SETUP_X11
183 LIB_SETUP_CUPS 186 LIB_SETUP_CUPS
184 LIB_SETUP_FREETYPE 187 LIB_SETUP_FREETYPE
185 LIB_SETUP_ALSA 188 LIB_SETUP_ALSA
186 LIB_SETUP_MISC_LIBS 189 LIB_SETUP_MISC_LIBS
187 LIB_SETUP_STATIC_LINK_LIBSTDCPP 190 LIB_SETUP_STATIC_LINK_LIBSTDCPP
188 191
189 # After we have toolchain and the paths to all libraries (needed by msys), we can compile the fixpath helper
190 BASIC_COMPILE_FIXPATH
191 192
192 ############################################################################### 193 ###############################################################################
193 # 194 #
194 # We need to do some final tweaking, when everything else is done. 195 # We need to do some final tweaking, when everything else is done.
195 # 196 #
231 CUSTOM_LATE_HOOK 232 CUSTOM_LATE_HOOK
232 233
233 # We're messing a bit with internal autoconf variables to put the config.status 234 # We're messing a bit with internal autoconf variables to put the config.status
234 # in the output directory instead of the current directory. 235 # in the output directory instead of the current directory.
235 CONFIG_STATUS="$OUTPUT_ROOT/config.status" 236 CONFIG_STATUS="$OUTPUT_ROOT/config.status"
237
236 # Create the actual output files. Now the main work of configure is done. 238 # Create the actual output files. Now the main work of configure is done.
237 AC_OUTPUT 239 AC_OUTPUT
238 240
241 # Try to move the config.log file to the output directory.
242 if test -e ./config.log; then
243 $MV -f ./config.log "$OUTPUT_ROOT/config.log" 2> /dev/null
244 fi
245
239 # Make the compare script executable 246 # Make the compare script executable
240 $CHMOD +x $OUTPUT_ROOT/compare.sh 247 $CHMOD +x $OUTPUT_ROOT/compare.sh
241 248
242 # Finally output some useful information to the user 249 # Finally output some useful information to the user
243 HELP_PRINT_SUMMARY_AND_WARNINGS 250 HELP_PRINT_SUMMARY_AND_WARNINGS

mercurial