Mercurial > hg > xemacs-beta
comparison configure.in @ 448:3078fd1074e8 r21-2-39
Import from CVS: tag r21-2-39
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:38:25 +0200 |
parents | 1ccc32a20af4 |
children | 98528da0b7fc |
comparison
equal
deleted
inserted
replaced
447:4fc5f13f3bd3 | 448:3078fd1074e8 |
---|---|
1949 AC_MSG_WARN(There have been reports of egcs-1.1 not compiling XEmacs correctly on) | 1949 AC_MSG_WARN(There have been reports of egcs-1.1 not compiling XEmacs correctly on) |
1950 AC_MSG_WARN(Alpha Linux. There have also been reports that egcs-1.0.3a is O.K.) | 1950 AC_MSG_WARN(Alpha Linux. There have also been reports that egcs-1.0.3a is O.K.) |
1951 AC_MSG_ERROR(Aborting due to known problem) | 1951 AC_MSG_ERROR(Aborting due to known problem) |
1952 ;; | 1952 ;; |
1953 *:i*86*:2.7.2*) | 1953 *:i*86*:2.7.2*) |
1954 case "$GCC_VERSION" in | 1954 case "$CFLAGS" in |
1955 2.7.2) | 1955 *-O2*|*-O3*) |
1956 case "$CFLAGS" in | 1956 case "$GCC_VERSION" in |
1957 *-O2*|*-O3*) | 1957 2.7.2) |
1958 case "$CFLAGS" in | 1958 case "$CFLAGS" in |
1959 *-fno-strength-reduce*) ;; | 1959 *-fno-strength-reduce*) ;; |
1960 *) | 1960 *) |
1961 AC_MSG_RESULT(yes) | 1961 AC_MSG_RESULT(yes) |
1962 AC_MSG_WARN(Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using) | 1962 AC_MSG_WARN(Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using) |
1964 AC_MSG_ERROR(Aborting due to known problem) | 1964 AC_MSG_ERROR(Aborting due to known problem) |
1965 ;; | 1965 ;; |
1966 esac | 1966 esac |
1967 ;; | 1967 ;; |
1968 esac | 1968 esac |
1969 case "$CFLAGS" in | |
1970 *-fno-caller-saves*) ;; | |
1971 *) | |
1972 AC_MSG_RESULT(yes) | |
1973 AC_MSG_WARN(Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using) | |
1974 AC_MSG_WARN(-fno-caller-saves.) | |
1975 AC_MSG_ERROR(Aborting due to known problem) | |
1976 ;; | |
1977 esac | |
1969 ;; | 1978 ;; |
1970 esac | 1979 esac |
1971 case "$CFLAGS" in | |
1972 *-fno-caller-saves*) ;; | |
1973 *) | |
1974 AC_MSG_RESULT(yes) | |
1975 AC_MSG_WARN(Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using) | |
1976 AC_MSG_WARN(-fno-caller-saves.) | |
1977 AC_MSG_ERROR(Aborting due to known problem) | |
1978 ;; | |
1979 esac | |
1980 ;; | 1980 ;; |
1981 esac | 1981 esac |
1982 AC_MSG_RESULT(no) | 1982 AC_MSG_RESULT(no) |
1983 fi | 1983 fi |
1984 | 1984 |
2758 if test "$with_msw" != "no"; then | 2758 if test "$with_msw" != "no"; then |
2759 AC_CHECKING(for MS-Windows) | 2759 AC_CHECKING(for MS-Windows) |
2760 AC_CHECK_LIB(gdi32,main,with_msw=yes) | 2760 AC_CHECK_LIB(gdi32,main,with_msw=yes) |
2761 if test "$with_msw" = "yes"; then | 2761 if test "$with_msw" = "yes"; then |
2762 AC_DEFINE(HAVE_MS_WINDOWS) | 2762 AC_DEFINE(HAVE_MS_WINDOWS) |
2763 | |
2764 dnl The net installer only works with MS-Windows currently | |
2765 XE_APPEND(netinstall, MAKE_SUBDIR) | |
2766 XE_APPEND(netinstall, SRC_SUBDIR_DEPS) | |
2767 XE_APPEND(netinstall, INSTALL_ARCH_DEP_SUBDIR) | |
2768 | |
2763 install_pp="$blddir/lib-src/installexe.sh" | 2769 install_pp="$blddir/lib-src/installexe.sh" |
2764 XE_APPEND(-lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool, libs_system) | 2770 XE_APPEND(-lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool, libs_system) |
2765 test "$with_dragndrop" != no && XE_APPEND(msw, dragndrop_proto) | 2771 test "$with_dragndrop" != no && XE_APPEND(msw, dragndrop_proto) |
2766 if test "$window_system" != x11; then | 2772 if test "$window_system" != x11; then |
2767 window_system=msw | 2773 window_system=msw |
4108 AC_EGREP_CPP(yes, | 4114 AC_EGREP_CPP(yes, |
4109 [#include <$db_h_file> | 4115 [#include <$db_h_file> |
4110 #if DB_VERSION_MAJOR > 1 | 4116 #if DB_VERSION_MAJOR > 1 |
4111 yes | 4117 yes |
4112 #endif | 4118 #endif |
4113 ], [AC_MSG_RESULT(2); dbfunc=db_open], [AC_MSG_RESULT(1); dbfunc=dbopen]) | 4119 ], [AC_EGREP_CPP(yes, |
4120 [#include <$db_h_file> | |
4121 #if DB_VERSION_MAJOR > 2 | |
4122 yes | |
4123 #endif | |
4124 ], [AC_MSG_RESULT(3); dbfunc=db_create],[ | |
4125 AC_MSG_RESULT(2); dbfunc=db_open])],[ | |
4126 AC_MSG_RESULT(1); dbfunc=dbopen]) | |
4114 AC_CHECK_FUNC($dbfunc, with_database_berkdb=yes need_libdb=no, [ | 4127 AC_CHECK_FUNC($dbfunc, with_database_berkdb=yes need_libdb=no, [ |
4115 AC_CHECK_LIB(db, $dbfunc, with_database_berkdb=yes need_libdb=yes)]) | 4128 AC_CHECK_LIB(db, $dbfunc, with_database_berkdb=yes need_libdb=yes)]) |
4116 fi | 4129 fi |
4117 | 4130 |
4118 if test "$with_database_berkdb" = "yes"; then | 4131 if test "$with_database_berkdb" = "yes"; then |