aboutsummaryrefslogtreecommitdiffstats
path: root/libical/configure.in
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-19 02:17:07 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-19 02:17:07 +0800
commit25e1b34aafe43ba6cf1040340a38dd38a90aad33 (patch)
tree0b4e666e45bf457edcc0095634f0ae6f429b8b5a /libical/configure.in
parentbc17057ec598cd5f755fd66244c429ecc51cff01 (diff)
downloadgsoc2013-evolution-25e1b34aafe43ba6cf1040340a38dd38a90aad33.tar
gsoc2013-evolution-25e1b34aafe43ba6cf1040340a38dd38a90aad33.tar.gz
gsoc2013-evolution-25e1b34aafe43ba6cf1040340a38dd38a90aad33.tar.bz2
gsoc2013-evolution-25e1b34aafe43ba6cf1040340a38dd38a90aad33.tar.lz
gsoc2013-evolution-25e1b34aafe43ba6cf1040340a38dd38a90aad33.tar.xz
gsoc2013-evolution-25e1b34aafe43ba6cf1040340a38dd38a90aad33.tar.zst
gsoc2013-evolution-25e1b34aafe43ba6cf1040340a38dd38a90aad33.zip
import of libical-0.16
svn path=/trunk/; revision=2484
Diffstat (limited to 'libical/configure.in')
-rw-r--r--libical/configure.in60
1 files changed, 40 insertions, 20 deletions
diff --git a/libical/configure.in b/libical/configure.in
index 54e05e4ba4..fa4d090949 100644
--- a/libical/configure.in
+++ b/libical/configure.in
@@ -1,28 +1,48 @@
dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.2)
AC_INIT(src/libical/ical.h)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(libical,0.15a)
+AM_INIT_AUTOMAKE(libical,0.16)
dnl Checks for programs.
-AC_PROG_CC
-AC_STDC_HEADERS
AC_PROG_YACC
+AC_PROG_CC
AM_PROG_LEX
-AM_PROG_LIBTOOL
+AC_PROG_LN_S
+AC_PROG_RANLIB
AC_PROG_INSTALL
-AC_PROG_CPP
-AC_PROG_MAKE_SET
-AC_PATH_PROG(RM, rm, /bin/rm)
-AC_PATH_PROG(MV, mv, /bin/mv)
-AC_PATH_PROG(TAR, tar, /bin/tar)
-
-AC_SUBST(CFLAGS)
-AC_SUBST(CPPFLAGS)
-AC_SUBST(LDFLAGS)
-
-AC_OUTPUT([
-Makefile
-src/Makefile
-src/libical/Makefile
-src/libicalss/Makefile])
+
+AC_SUBST(AR)
+AC_CHECK_PROGS(AR, ar aal, ar)
+
+AC_DEFINE(ICAL_ERRORS_ARE_FATAL,1)
+AC_DEFINE(ICAL_SAFESAVES,1)
+
+dnl Checks for libraries.
+dnl Replace `main' with a function in -lical:
+dnl AC_CHECK_LIB(ical, main)
+
+dnl Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS(time.h sys/types.h assert.h)
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_TYPE_SIZE_T
+AC_STRUCT_TM
+
+dnl Checks for library functions.
+AC_CHECK_FUNCS(strdup)
+
+AC_OUTPUT(\
+src/libical/icalversion.h \
+config.h \
+src/libical/Makefile \
+src/libicalss/Makefile \
+src/test/Makefile \
+src/Makefile \
+design-data/Makefile \
+doc/Makefile \
+scripts/Makefile \
+test-data/Makefile \
+src/Makefile \
+Makefile )