Mercurial > hg > xemacs-beta
comparison configure.in @ 286:57709be46d1b r21-0b41
Import from CVS: tag r21-0b41
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:35:03 +0200 |
parents | 558f606b08ae |
children | e11d67e05968 |
comparison
equal
deleted
inserted
replaced
285:9a3756523c1b | 286:57709be46d1b |
---|---|
1036 | 1036 |
1037 dnl Straightforward OS determination | 1037 dnl Straightforward OS determination |
1038 case "$canonical" in | 1038 case "$canonical" in |
1039 *-*-linux* ) opsys=linux ;; | 1039 *-*-linux* ) opsys=linux ;; |
1040 *-*-netbsd* ) opsys=netbsd ;; | 1040 *-*-netbsd* ) opsys=netbsd ;; |
1041 *-*-openbsd* ) opsys=openbsd ;; | |
1041 *-*-nextstep* ) opsys=nextstep ;; | 1042 *-*-nextstep* ) opsys=nextstep ;; |
1042 *-*-vms ) opsys=vms ;; | 1043 *-*-vms ) opsys=vms ;; |
1043 | 1044 |
1044 dnl DEC OSF | 1045 dnl DEC OSF |
1045 *-dec-osf1.3 | *-dec-osf2* ) opsys=decosf1-3 ;; | 1046 *-dec-osf1.3 | *-dec-osf2* ) opsys=decosf1-3 ;; |
1095 machine=hp9000s300 ;; | 1096 machine=hp9000s300 ;; |
1096 pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;; | 1097 pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;; |
1097 pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;; | 1098 pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;; |
1098 esac | 1099 esac |
1099 ;; | 1100 ;; |
1101 | |
1102 dnl OpenBSD ports | |
1103 *-*-openbsd* ) | |
1104 case "${canonical}" in | |
1105 alpha*-*-openbsd*) machine=alpha ;; | |
1106 i386-*-openbsd*) machine=intel386 ;; | |
1107 m68k-*-openbsd*) machine=hp9000s300 ;; | |
1108 mipsel-*-openbsd*) machine=pmax ;; | |
1109 ns32k-*-openbsd*) machine=ns32000 ;; | |
1110 sparc-*-openbsd*) machine=sparc ;; | |
1111 vax-*-openbsd*) machine=vax ;; | |
1112 esac | |
1113 ;; | |
1100 | 1114 |
1101 dnl Acorn RISCiX: | 1115 dnl Acorn RISCiX: |
1102 arm-acorn-riscix1.1* ) machine=acorn opsys=riscix1-1 ;; | 1116 arm-acorn-riscix1.1* ) machine=acorn opsys=riscix1-1 ;; |
1103 arm-acorn-riscix1.2* | arm-acorn-riscix ) machine=acorn opsys=riscix1-2 ;; | 1117 arm-acorn-riscix1.2* | arm-acorn-riscix ) machine=acorn opsys=riscix1-2 ;; |
1104 | 1118 |
1716 dnl Use either command line flag, environment var, or autodetection | 1730 dnl Use either command line flag, environment var, or autodetection |
1717 if test "$cflags_specified" = "no"; then | 1731 if test "$cflags_specified" = "no"; then |
1718 dnl Following values of CFLAGS are known to work well. | 1732 dnl Following values of CFLAGS are known to work well. |
1719 dnl Should we take debugging options into consideration? | 1733 dnl Should we take debugging options into consideration? |
1720 if test "$GCC" = "yes"; then | 1734 if test "$GCC" = "yes"; then |
1721 CFLAGS="-g -O2 -Wall -Wno-switch" | 1735 CFLAGS="-g -O3 -Wall -Wno-switch" |
1722 dnl I'm not convinced this is a good idea any more. -sb | 1736 dnl I'm not convinced this is a good idea any more. -sb |
1723 dnl test "$opsys $machine" = "linux intel386" && \ | 1737 dnl test "$opsys $machine" = "linux intel386" && \ |
1724 dnl CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2" | 1738 dnl CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2" |
1725 elif test "$__sunpro_c" = "yes"; then | 1739 elif test "$__sunpro_c" = "yes"; then |
1726 case "$opsys" in | 1740 case "$opsys" in |
2714 AC_DEFINE(HAVE_PNG) | 2728 AC_DEFINE(HAVE_PNG) |
2715 XE_PREPEND(-lpng, libs_x) | 2729 XE_PREPEND(-lpng, libs_x) |
2716 fi | 2730 fi |
2717 | 2731 |
2718 dnl autodetect TIFF | 2732 dnl autodetect TIFF |
2719 test -z "$with_tiff" && { AC_CHECK_HEADER(tiffio.h, ,with_tiff=no) } | 2733 test -z "$with_tiff" && { AC_CHECK_HEADER(tiffio.h, ,with_tiff=no) } |
2720 test -z "$with_tiff" && { AC_CHECK_LIB(tiff, TIFFReadScanline,[:],with_tiff=no) } | 2734 test -z "$with_tiff" && { AC_CHECK_LIB(tiff, TIFFClientOpen,[:],with_tiff=no) } |
2721 test -z "$with_tiff" && with_tiff=yes | 2735 test -z "$with_tiff" && with_tiff=yes |
2722 if test "$with_tiff" = "yes"; then | 2736 if test "$with_tiff" = "yes"; then |
2723 AC_DEFINE(HAVE_TIFF) | 2737 AC_DEFINE(HAVE_TIFF) |
2724 XE_PREPEND(-ltiff, libs_x) | 2738 XE_PREPEND(-ltiff, libs_x) |
2725 fi | 2739 fi |