comparison configure.in @ 594:fd49b88b9f06

[xemacs-hg @ 2001-05-31 12:47:21 by ben] goddamn fucking cvs
author ben
date Thu, 31 May 2001 12:47:28 +0000
parents 5ce8d1ac7bde
children cdb192350f65
comparison
equal deleted inserted replaced
593:5fd7ba8b56e7 594:fd49b88b9f06
347 with_site_modules='yes' 347 with_site_modules='yes'
348 with_menubars='' 348 with_menubars=''
349 with_scrollbars='' 349 with_scrollbars=''
350 with_widgets='' 350 with_widgets=''
351 with_dialogs='' 351 with_dialogs=''
352 dnl The following will be overridden if we are under Cygwin and compile
353 dnl with MS Windows support. Set this to yes as soon as we've fixed
354 dnl the coding-system defaults to be binary in all cases under Unix.
355 with_file_coding='no'
356 cpp='' cppflags='' libs='' ldflags='' 352 cpp='' cppflags='' libs='' ldflags=''
357 extra_includes='' 353 extra_includes=''
358 dynamic='' 354 dynamic=''
359 with_x11='' 355 with_x11=''
360 with_msw='' 356 with_msw=''
527 523
528 dnl Options that take a user-supplied value, as in --x-includes=/usr/X11R6/include 524 dnl Options that take a user-supplied value, as in --x-includes=/usr/X11R6/include
529 dnl The cache-file option is ignored (for compatibility with other configures) 525 dnl The cache-file option is ignored (for compatibility with other configures)
530 srcdir | \ 526 srcdir | \
531 compiler | \ 527 compiler | \
528 xemacs_compiler | \
532 cflags | \ 529 cflags | \
533 cpp | \ 530 cpp | \
534 cppflags | \ 531 cppflags | \
535 libs | \ 532 libs | \
536 ldflags | \ 533 ldflags | \
3614 if test "$with_file_coding" = "yes" && test "$with_mule" = "no"; then 3611 if test "$with_file_coding" = "yes" && test "$with_mule" = "no"; then
3615 AC_DEFINE(FILE_CODING) 3612 AC_DEFINE(FILE_CODING)
3616 XE_ADD_OBJS(file-coding.o) 3613 XE_ADD_OBJS(file-coding.o)
3617 fi 3614 fi
3618 3615
3616 dnl will change to yes as soon as my mule ws is merged in.
3617 test -z "$with_file_coding" && with_file_coding=no
3618
3619 if test "$with_mule" = "yes" ; then 3619 if test "$with_mule" = "yes" ; then
3620 AC_CHECKING(for Mule-related features) 3620 AC_CHECKING(for Mule-related features)
3621 AC_DEFINE(MULE) 3621 AC_DEFINE(MULE)
3622 AC_DEFINE(FILE_CODING) 3622 AC_DEFINE(FILE_CODING)
3623 XE_ADD_OBJS(mule.o mule-ccl.o mule-charset.o file-coding.o) 3623 XE_ADD_OBJS(mule.o mule-ccl.o mule-charset.o file-coding.o)
4082 fi 4082 fi
4083 4083
4084 dnl Win32 Native uses native sound 4084 dnl Win32 Native uses native sound
4085 if test -z "$sound_found"; then 4085 if test -z "$sound_found"; then
4086 if test "$with_msw" = "yes"; then 4086 if test "$with_msw" = "yes"; then
4087 sound_found=yes 4087 sound_found=yes
4088 native_sound_lib= 4088 native_sound_lib=
4089 XE_ADD_OBJS(ntplay.o)
4089 fi 4090 fi
4090 fi 4091 fi
4091 4092
4092 dnl Check for Linux/BSD native sound 4093 dnl Check for Linux/BSD native sound (also on recent Cygwins)
4093 if test -z "$sound_found"; then 4094 if test -z "$sound_found"; then
4094 for dir in "machine" "sys" "linux"; do 4095 for dir in "machine" "sys" "linux"; do
4095 AC_CHECK_HEADER(${dir}/soundcard.h, 4096 AC_CHECK_HEADER(${dir}/soundcard.h,
4096 sound_found=yes 4097 sound_found=yes
4097 need_miscplay=yes 4098 need_miscplay=yes
4708 AC_SUBST(native_sound_lib) 4709 AC_SUBST(native_sound_lib)
4709 AC_SUBST(sound_cflags) 4710 AC_SUBST(sound_cflags)
4710 AC_SUBST(RANLIB) 4711 AC_SUBST(RANLIB)
4711 AC_SUBST(dynodump_arch) 4712 AC_SUBST(dynodump_arch)
4712 4713
4713 dnl Preliminary support for using a different compiler for xemacs itself. 4714 dnl Support for using a different compiler for xemacs itself.
4714 dnl Useful for building XEmacs with a C++ or 64-bit compiler. 4715 dnl Useful for building XEmacs with a C++ compiler.
4715 : ${XEMACS_CC:=$CC} 4716 dnl For example, `configure --compiler=gcc --xemacs-compiler=g++
4717
4718 dnl The compiler used to build xemacs, as opposed to the compiler
4719 dnl used by configure and lib-src, is determined from the following
4720 dnl sources, in order of priority:
4721 dnl o --xemacs-compiler configure flag
4722 dnl o XEMACS_CC environment variable
4723 dnl o same as the regular compiler, (determined previously)
4724 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler"
4725 : ${XEMACS_CC:="$CC"}
4716 AC_SUBST(XEMACS_CC) 4726 AC_SUBST(XEMACS_CC)
4717 4727
4718 dnl The default is yes 4728 dnl The default is yes
4719 if test "$with_prefix" = "yes"; then 4729 if test "$with_prefix" = "yes"; then
4720 AC_DEFINE(PREFIX_USER_DEFINED) 4730 AC_DEFINE(PREFIX_USER_DEFINED)