aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2004-04-04 16:47:20 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2004-04-04 16:47:20 +0000
commit1f3235767ee02c51b50767ffbd63f95c3665933d (patch)
tree8ae07d7e245b7aab0b3b3baf0f1bdbbb339405b3 /configure
parentDebian Bug#241192 w3m ipv6 FQDN resolution failure (diff)
downloadw3m-1f3235767ee02c51b50767ffbd63f95c3665933d.tar.gz
w3m-1f3235767ee02c51b50767ffbd63f95c3665933d.zip
[w3m-dev 04049] w3m-cvs-1.914-misc.patch
* Makefile.in (funcname.tab): dont modify when target is unchanged. (CFLAGS): need $(CPPFLAGS)? * config.h.in: add HAVE_STDINT_H, HAVE_INTTYPES_H * configure.in: s/AC_CANONICAL_SYSTEM/AC_CANONICAL_HOST/ don't use AC_CYGWIN don't use $CYGWIN, use $host_os *cygwin* AC_DEFINE in AC_CHECK_HEADER (float.h, sys/select.h) add stdint.h, inttypes.h * etc.c (find_auth_pass_entry): host is case insensitive * libwc/wc_types.h: use stdint.h or inttypes.h * main.c (MAIN); need GC_init() From: AIDA Shinra <shinra@j10n.org>
Diffstat (limited to '')
-rw-r--r--configure.in17
1 files changed, 10 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 92dedea..3eb13b4 100644
--- a/configure.in
+++ b/configure.in
@@ -28,9 +28,8 @@ AC_PROG_RANLIB
AC_PATH_PROGS(PERL, perl, /usr/local/bin/perl)
AC_PATH_PROGS(NKF, nkf, /usr/local/bin/nkf)
AC_PATH_PROGS(MAN, man, /usr/bin/man)
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_HOST
-AC_CYGWIN
AC_EXEEXT
AC_SUBST(EXEEXT)
@@ -110,9 +109,11 @@ AC_CHECK_LIB(z, zError, [AUXBIN_TARGETS="$AUXBIN_TARGETS inflate\$(EXT)"])
AC_DEFINE(AUXBIN_TARGETS, "$AUXBIN_TARGETS")
AC_SUBST(USE_BINMODE_STREAM)
-if test x$CYGWIN = xyes; then
- AC_DEFINE(USE_BINMODE_STREAM)
-fi
+case "$host_os" in
+ *cygwin*)
+ AC_DEFINE(USE_BINMODE_STREAM)
+ ;;
+esac
AC_HEADER_DIRENT
AC_HEADER_STDC
@@ -121,9 +122,11 @@ dnl AC_CHECK_HEADERS(fcntl.h malloc.h sgtty.h strings.h sys/ioctl.h sys/time.h t
AC_CHECK_HEADER(termios.h, [AC_DEFINE(HAVE_TERMIOS_H)],
[AC_CHECK_HEADER(termio.h, [AC_DEFINE(HAVE_TERMIO_H)],
[AC_CHECK_HEADER(sgtty.h, [AC_DEFINE(HAVE_SGTTY_H)])])])
-AC_CHECK_HEADER([float.h])
-AC_CHECK_HEADER([sys/select.h])
+AC_CHECK_HEADER([float.h], [AC_DEFINE(HAVE_FLOAT_H)])
+AC_CHECK_HEADER([sys/select.h], [AC_DEFINE(HAVE_SYS_SELECT_H)])
AC_CHECK_HEADER([locale.h], [AC_DEFINE(HAVE_LOCALE_H)])
+AC_CHECK_HEADER([stdint.h], [AC_DEFINE(HAVE_STDINT_H)])
+AC_CHECK_HEADER([inttypes.h], [AC_DEFINE(HAVE_INTTYPES_H)])
dnl Checks for typedefs, structures, and compiler characteristics.
dnl AC_C_CONST