Mercurial > hg > xemacs-beta
comparison configure.in @ 1984:36760cdcb631
[xemacs-hg @ 2004-04-05 22:50:44 by james]
And one more commit because it still never does the top level for me.
author | james |
---|---|
date | Mon, 05 Apr 2004 22:50:51 +0000 |
parents | 02446ca6a05d |
children | a8b463c4984a |
comparison
equal
deleted
inserted
replaced
1983:9c872f33ecbe | 1984:36760cdcb631 |
---|---|
398 use_assertions="yes" | 398 use_assertions="yes" |
399 with_toolbars="" | 399 with_toolbars="" |
400 with_tty="" | 400 with_tty="" |
401 use_union_type="no" | 401 use_union_type="no" |
402 with_dnet="" | 402 with_dnet="" |
403 use_number_lib="no" | |
403 dnl pdump defaults per opsys, do not default it here | 404 dnl pdump defaults per opsys, do not default it here |
404 pdump="" | 405 pdump="" |
405 dnl dragndrop is still experimental, except on Windows. When it is stable, | 406 dnl dragndrop is still experimental, except on Windows. When it is stable, |
406 dnl comment out the following line: | 407 dnl comment out the following line: |
407 with_dragndrop_default="no" | 408 with_dragndrop_default="no" |
701 \`lockf', \`flock', \`file', \`locking', or \`mmdf'."]) ;; | 702 \`lockf', \`flock', \`file', \`locking', or \`mmdf'."]) ;; |
702 esac | 703 esac |
703 eval "$opt=\"$val\"" | 704 eval "$opt=\"$val\"" |
704 ;; | 705 ;; |
705 | 706 |
707 dnl Enhanced Lisp numbers | |
708 "use_number_lib" ) | |
709 case "$val" in | |
710 gmp ) val=gmp ;; | |
711 mp ) val=mp ;; | |
712 * ) USAGE_ERROR(["The \`--$optname' option must have one of these values: | |
713 \`gmp' or \`mp'."]) ;; | |
714 esac | |
715 eval "$opt=\"$val\"" | |
716 ;; | |
717 | |
706 dnl Has the user requested error-checking? | 718 dnl Has the user requested error-checking? |
707 "error_checking" ) | 719 "error_checking" ) |
708 dnl value can be all, none, and/or a list of categories to check. | 720 dnl value can be all, none, and/or a list of categories to check. |
709 dnl Example: --error-checking=all,noextents,nocharbpos | 721 dnl Example: --error-checking=all,noextents,nocharbpos |
710 dnl Example: --error-checking=none,malloc,gc | 722 dnl Example: --error-checking=none,malloc,gc |
2737 fi | 2749 fi |
2738 AC_CHECK_SIZEOF(int) | 2750 AC_CHECK_SIZEOF(int) |
2739 AC_CHECK_SIZEOF(long) | 2751 AC_CHECK_SIZEOF(long) |
2740 AC_CHECK_SIZEOF(long long) | 2752 AC_CHECK_SIZEOF(long long) |
2741 AC_CHECK_SIZEOF(void *) | 2753 AC_CHECK_SIZEOF(void *) |
2754 AC_CHECK_SIZEOF(double) | |
2742 | 2755 |
2743 dnl check for long file names | 2756 dnl check for long file names |
2744 AC_SYS_LONG_FILE_NAMES | 2757 AC_SYS_LONG_FILE_NAMES |
2745 | 2758 |
2746 dnl -lm is required for floating point support, among other things | 2759 dnl -lm is required for floating point support, among other things |
4851 if test "$usage_tracking" = "yes"; then | 4864 if test "$usage_tracking" = "yes"; then |
4852 AC_DEFINE(USAGE_TRACKING) | 4865 AC_DEFINE(USAGE_TRACKING) |
4853 XE_PREPEND(-Bstatic -lut -Bdynamic, LIBS) | 4866 XE_PREPEND(-Bstatic -lut -Bdynamic, LIBS) |
4854 fi | 4867 fi |
4855 | 4868 |
4869 dnl Enhanced number support | |
4870 if test "$use_number_lib" = "gmp"; then | |
4871 AC_CHECK_HEADER(gmp.h, [ | |
4872 AC_CHECK_LIB(gmp, __gmpz_init, have_mpz_init=yes)]) | |
4873 if test "$have_mpz_init" = "yes"; then | |
4874 AC_DEFINE(WITH_NUMBER_TYPES) | |
4875 AC_DEFINE(WITH_GMP) | |
4876 XE_PREPEND(-lgmp, LIBS) | |
4877 else | |
4878 XE_DIE("Required GMP numeric support cannot be provided.") | |
4879 fi | |
4880 elif test "$use_number_lib" = "mp"; then | |
4881 AC_CHECK_HEADER(mp.h, [ | |
4882 AC_CHECK_LIB(mp, mp_mfree, have_mp_mfree=yes, [ | |
4883 AC_CHECK_LIB(mp, mfree, have_mfree=yes)])]) | |
4884 if test "$have_mp_mfree" = "yes"; then | |
4885 AC_DEFINE(MP_PREFIX) | |
4886 XE_PREPEND(-lmp, LIBS) | |
4887 AC_CHECK_FUNC(mp_move, [AC_DEFINE(HAVE_MP_MOVE)]) | |
4888 elif test "$have_mfree" = "yes"; then | |
4889 XE_PREPEND(-lmp, LIBS) | |
4890 AC_CHECK_FUNC(move, [AC_DEFINE(HAVE_MP_MOVE)]) | |
4891 else | |
4892 XE_DIE("Required MP numeric support cannot be provided.") | |
4893 fi | |
4894 AC_DEFINE(WITH_NUMBER_TYPES) | |
4895 AC_DEFINE(WITH_MP) | |
4896 fi | |
4897 | |
4856 dnl Unfortunately, just because we can link doesn't mean we can run. | 4898 dnl Unfortunately, just because we can link doesn't mean we can run. |
4857 dnl One of the above link tests may have succeeded but caused resulting | 4899 dnl One of the above link tests may have succeeded but caused resulting |
4858 dnl executables to fail to run. Also any tests using AC_TRY_RUN will | 4900 dnl executables to fail to run. Also any tests using AC_TRY_RUN will |
4859 dnl have reported incorrect results. | 4901 dnl have reported incorrect results. |
4860 AC_TRY_RUN([int main(int c,char *v[]){return 0;}],[:],[ | 4902 AC_TRY_RUN([int main(int c,char *v[]){return 0;}],[:],[ |
5454 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 5496 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
5455 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 5497 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
5456 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 5498 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
5457 test "$with_dnet" = yes && echo " Compiling in support for DNET." | 5499 test "$with_dnet" = yes && echo " Compiling in support for DNET." |
5458 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." | 5500 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." |
5501 test "$use_number_lib" = "gmp" && echo " Compiling in support for more number types using the GNU MP library." | |
5502 test "$use_number_lib" = "mp" && echo " Compiling in support for more number types using the BSD MP library." | |
5459 if test "$use_union_type" = yes ; then | 5503 if test "$use_union_type" = yes ; then |
5460 echo " Using the union type for Lisp_Objects." | 5504 echo " Using the union type for Lisp_Objects." |
5461 echo " WARNING: ---------------------------------------------------------" | 5505 echo " WARNING: ---------------------------------------------------------" |
5462 echo " WARNING: This tends to trigger compiler bugs, especially when" | 5506 echo " WARNING: This tends to trigger compiler bugs, especially when" |
5463 echo " WARNING: combined with MULE and ERROR_CHECKING. Crashes have" | 5507 echo " WARNING: combined with MULE and ERROR_CHECKING. Crashes have" |