Mercurial > libpst
comparison configure.in @ 120:6395ced2b8b2
disable building pst2dii on cygwin
consistent ordering of our include files
all system includes protected by ifdef HAVE_ from autoconf
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 01 Feb 2009 11:24:22 -0800 |
parents | 0f1492b7fe8b |
children | 8399ef94c11b |
comparison
equal
deleted
inserted
replaced
119:f50f4321aa2d | 120:6395ced2b8b2 |
---|---|
5 | 5 |
6 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) | 6 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) |
7 | 7 |
8 AC_CANONICAL_HOST | 8 AC_CANONICAL_HOST |
9 | 9 |
10 # Check for Win32 | 10 # Check for win32 which needs iconv library specified on the link line |
11 AC_MSG_CHECKING([for Win32]) | 11 AC_MSG_CHECKING([for Win32]) |
12 case "$host" in | 12 case "$host" in |
13 *-mingw*) | 13 *-mingw*) |
14 os_win32=yes | 14 os_win32=yes |
15 ;; | |
16 *cygwin*) | |
17 os_win32=yes | |
18 enable_dii=no # cygwin would find windir/system32/convert, not image magick convert | |
15 ;; | 19 ;; |
16 *) | 20 *) |
17 os_win32=no | 21 os_win32=no |
18 ;; | 22 ;; |
19 esac | 23 esac |
78 AM_CONDITIONAL(NEED_XGETOPT, [test yes = no]), | 82 AM_CONDITIONAL(NEED_XGETOPT, [test yes = no]), |
79 AM_CONDITIONAL(NEED_XGETOPT, [test yes = yes]) | 83 AM_CONDITIONAL(NEED_XGETOPT, [test yes = yes]) |
80 ) | 84 ) |
81 AC_HEADER_DIRENT | 85 AC_HEADER_DIRENT |
82 AC_HEADER_STDC | 86 AC_HEADER_STDC |
83 AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h stdint.h stdlib.h string.h sys/param.h unistd.h wchar.h]) | 87 AC_CHECK_HEADERS([ctype.h dirent.h errno.h fcntl.h inttypes.h limits.h signal.h stdarg.h stdint.h stdio.h stdlib.h string.h sys/param.h sys/stat.h sys/types.h time.h unistd.h wchar.h]) |
84 | 88 |
85 # Checks for typedefs, structures, and compiler characteristics. | 89 # Checks for typedefs, structures, and compiler characteristics. |
86 AC_HEADER_STDBOOL | 90 AC_HEADER_STDBOOL |
87 AC_C_CONST | 91 AC_C_CONST |
88 AC_TYPE_OFF_T | 92 AC_TYPE_OFF_T |