235 |
# Tell automake about this, so it can include the right .c files. |
# Tell automake about this, so it can include the right .c files. |
236 |
AM_CONDITIONAL(USE_CUSTOMS, test "$use_customs" = true) |
AM_CONDITIONAL(USE_CUSTOMS, test "$use_customs" = true) |
237 |
|
|
238 |
|
# See if the user asked to handle case insensitive file systems. |
239 |
|
|
240 |
|
AH_TEMPLATE(HAVE_CASE_INSENSITIVE_FS, [Use case insensitive file names]) |
241 |
|
AC_ARG_ENABLE(case-insensitive-file-system, |
242 |
|
AC_HELP_STRING([--enable-case-insensitive-file-system], |
243 |
|
[enable case insensitive file system support]), |
244 |
|
case_insensitive_fs="yes" AC_DEFINE(HAVE_CASE_INSENSITIVE_FS), |
245 |
|
case_insensitive_fs="no") |
246 |
|
|
247 |
# See if we can handle the job server feature, and if the user wants it. |
# See if we can handle the job server feature, and if the user wants it. |
248 |
|
|
249 |
AC_ARG_ENABLE(job-server, |
AC_ARG_ENABLE(job-server, |
340 |
MAKE_HOST="$host" |
MAKE_HOST="$host" |
341 |
AC_SUBST(MAKE_HOST) |
AC_SUBST(MAKE_HOST) |
342 |
|
|
343 |
|
w32_target_env=no |
344 |
|
AM_CONDITIONAL(WINDOWSENV, false) |
345 |
|
|
346 |
|
case "$host" in |
347 |
|
*-*-mingw32) |
348 |
|
AM_CONDITIONAL(WINDOWSENV, true) |
349 |
|
w32_target_env=yes |
350 |
|
AC_DEFINE([WINDOWS32], [1], [Use platform specific coding]) |
351 |
|
AC_DEFINE([HAVE_DOS_PATHS], [1], [Use platform specific coding]) |
352 |
|
;; |
353 |
|
esac |
354 |
|
|
355 |
# Include the Maintainer's Makefile section, if it's here. |
# Include the Maintainer's Makefile section, if it's here. |
356 |
|
|
357 |
MAINT_MAKEFILE=/dev/null |
MAINT_MAKEFILE=/dev/null |
412 |
# Specify what files are to be created. |
# Specify what files are to be created. |
413 |
AC_CONFIG_FILES(Makefile glob/Makefile po/Makefile.in config/Makefile doc/Makefile) |
AC_CONFIG_FILES(Makefile glob/Makefile po/Makefile.in config/Makefile doc/Makefile) |
414 |
|
|
415 |
|
# Only process if target is MS-Windows |
416 |
|
if test "$w32_target_env" == yes; then |
417 |
|
AC_CONFIG_FILES(w32/Makefile) |
418 |
|
fi |
419 |
|
|
420 |
# OK, do it! |
# OK, do it! |
421 |
|
|
422 |
AC_OUTPUT |
AC_OUTPUT |