dnl
dnl configure.in:
dnl
-dnl Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
+dnl Copyright (c) 2008 James McKenzie <sympathy@madingley.org>,
dnl All rights reserved.
dnl
-dnl $Id$
+dnl $Id: configure.in,v 1.6 2008/03/06 21:34:09 james Exp $
+dnl
+dnl $Log: configure.in,v $
+dnl Revision 1.6 2008/03/06 21:34:09 james
+dnl *** empty log message ***
+dnl
+dnl Revision 1.5 2008/03/06 21:33:02 james
+dnl *** empty log message ***
+dnl
+dnl Revision 1.4 2008/02/27 15:17:56 james
+dnl *** empty log message ***
+dnl
+dnl Revision 1.3 2008/02/27 15:04:32 james
+dnl *** empty log message ***
+dnl
+dnl Revision 1.2 2008/02/13 18:05:06 james
+dnl *** empty log message ***
dnl
-dnl $Log$
dnl Revision 1.1 2008/02/03 16:20:23 james
dnl *** empty log message ***
dnl
if test "$ac_cv_header_unistd_h" = "yes"; then
G2_HAVE_UNISTD_H=1
fi
+G2_HAVE_MALLOC_H=0
+if test "$ac_cv_header_malloc_h" = "yes"; then
+ G2_HAVE_MALLOC_H=1
+fi
+G2_HAVE_STDINT_H=0
+if test "$ac_cv_header_stdint_h" = "yes"; then
+ G2_HAVE_STDINT_H=1
+fi
+G2_TIME_WITH_SYS_TIME=0
+if test "$ac_cv_header_time_h" = "yes"; then
+ G2_TIME_WITH_SYS_TIME=1
+fi
+G2_TM_IN_SYS_TIME=0
+if test "$ac_cv_struct_tm" = "sys/time.h"; then
+ G2_TM_IN_SYS_TIME=1
+fi
+
+dnl CFLAGS=-g
+
AC_SUBST(G2_TM_H)
AC_SUBST(G2_HAVE_STDINT_H)
AC_SUBST(G2_HAVE_SYS_INT_TYPES_H)
AC_SUBST(G2_HAVE_UNISTD_H)
-
-
+AC_SUBST(G2_HAVE_MALLOC_H)
+AC_SUBST(G2_HAVE_STDINT_H)
+AC_SUBST(G2_TIME_WITH_SYS_TIME)
+AC_SUBST(G2_TM_IN_SYS_TIME)
AC_OUTPUT([Makefile
src/Makefile
- src/sympathy.h
+ src/sympathy.h.head
test/Makefile
apps/Makefile
libsympathy-config.src],[chmod +x libsympathy-config.src])