ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/configure.in
(Generate patch)

Comparing Convert-UUlib/uulib/configure.in (file contents):
Revision 1.4 by root, Sun Feb 10 22:47:18 2002 UTC vs.
Revision 1.4.2.5 by root, Sun Apr 18 19:55:46 2004 UTC

1dnl This file is an input file used by the GNU "autoconf" program to 1dnl This file is an input file used by the GNU "autoconf" program to
2dnl generate the file "configure", which tries to guess your system 2dnl generate the file "configure", which tries to guess your system
3dnl configuration so that no manual editing of the Makefile should be 3dnl configuration so that no manual editing of the Makefile should be
4dnl necessary 4dnl necessary
5dnl
6dnl $Id: configure.in,v 1.4.2.5 2004/04/18 19:55:46 root Exp $
7dnl
5 8
6AC_INIT(uulib.c) 9AC_INIT(uulib.c)
7AC_PREREQ(2.9) 10AC_PREREQ(2.9)
8AC_CONFIG_HEADER(config.h) 11AC_CONFIG_HEADER(config.h)
9 12
10# 13#
11# package revision 14# package revision
12# 15#
13VERSION=0.5 16VERSION=0.5
14PATCH=15 17PATCH=20
15
16AC_ARG_WITH(cc,,CC=$with_cc)
17AC_ARG_WITH(cflags,,CFLAGS=$with_cflags)
18 18
19AC_PROG_CC 19AC_PROG_CC
20AC_PROG_CPP 20AC_PROG_CPP
21wi_CFLAGS
22wi_PROTOTYPES 21wi_PROTOTYPES
23AC_PROG_MAKE_SET 22AC_PROG_MAKE_SET
24AC_PROG_RANLIB 23AC_PROG_RANLIB
25 24
26if test "$wi_cv_prototypes" = no ; then 25if test "$wi_cv_prototypes" = no ; then
39AC_HEADER_TIME 38AC_HEADER_TIME
40AC_CHECK_HEADERS(fcntl.h unistd.h memory.h malloc.h errno.h) 39AC_CHECK_HEADERS(fcntl.h unistd.h memory.h malloc.h errno.h)
41AC_CHECK_HEADERS(io.h sys/time.h) 40AC_CHECK_HEADERS(io.h sys/time.h)
42AC_CHECK_FUNCS(gettimeofday) 41AC_CHECK_FUNCS(gettimeofday)
43 42
44AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,FP_tempnam)) 43AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,_FP_tempnam))
45
46AC_CHECK_FUNC(chmod,AC_DEFINE(HAVE_CHMOD))
47AC_CHECK_FUNC(umask,AC_DEFINE(HAVE_UMASK))
48AC_CHECK_FUNC(mkstemp,AC_DEFINE(HAVE_MKSTEMP))
49 44
50# 45#
51# strerror might be internally defined. this would cause a 46# strerror might be internally defined. this would cause a
52# CHECK_FUNCS(strerror) to fail because it'd be called with 47# CHECK_FUNCS(strerror) to fail because it'd be called with
53# zero arguments. So use our own code. 48# zero arguments. So use our own code.
55AC_MSG_CHECKING([for strerror]) 50AC_MSG_CHECKING([for strerror])
56AC_TRY_LINK([ 51AC_TRY_LINK([
57char *blubb() { return (char *) strerror (42); } 52char *blubb() { return (char *) strerror (42); }
58],[ 53],[
59(void) blubb(); 54(void) blubb();
60],have_strerror=yes,AC_DEFINE(strerror,FP_strerror) 55],have_strerror=yes,AC_DEFINE(strerror,_FP_strerror)
61have_strerror=no) 56have_strerror=no)
62AC_MSG_RESULT($have_strerror) 57AC_MSG_RESULT($have_strerror)
63 58
64AC_MSG_CHECKING([for stdin]) 59AC_MSG_CHECKING([for stdin])
65AC_TRY_LINK([ 60AC_TRY_LINK([
115# 110#
116# done 111# done
117# 112#
118 113
119AC_OUTPUT(Makefile) 114AC_OUTPUT(Makefile)
120

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines