[prev in list] [next in list] [prev in thread] [next in thread]
List: midgard-dev
Subject: [midgard-dev] cvs: /midgard/lib configure.in
From: hukka <midgard-dev () greywolves ! org>
Date: 1999-10-26 7:17:05
[Download RAW message or body]
hukka Tue Oct 26 10:17:05 1999 EDT
Modified files:
/midgard/lib configure.in
Log:
Added check for the crypt.h file
Index: midgard/lib/configure.in
diff -u midgard/lib/configure.in:1.5 midgard/lib/configure.in:1.6
--- midgard/lib/configure.in:1.5 Fri Aug 6 15:17:31 1999
+++ midgard/lib/configure.in Thu Sep 16 13:12:31 1999
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.5 1999/08/06 12:17:31 hukka Exp $
+dnl $Id: configure.in,v 1.6 1999/09/16 10:12:31 hukka Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(midgard.c)
dnl Automake is needed for the build system.
@@ -39,15 +39,33 @@
fi
])
+dnl Find glib
+AC_ARG_WITH(glib,
+[ --with-glib=DIR The glib installation prefix.
+ The glib header files should be in
+ DIR/include, and the library
+ libglib in DIR/lib.
+], [
+ if test "$withval" != "yes" -a "$withval" != "no"; then
+ CPPFLAGS="$CPPFLAGS -I$withval/include"
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ fi
+])
+
dnl Checks for programs.
AM_PROG_LIBTOOL
dnl Checks for libraries.
-AC_SEARCH_LIBS(SQLAllocConnect, iodbc odbc, [
+AC_SEARCH_LIBS(SQLAllocConnect, odbc iodbc, [
], [
AC_MSG_ERROR("ODBC not found. Either iODBC or unixODBC is required.")
])
+AC_SEARCH_LIBS(g_string_new, glib, [
+], [
+ AC_MSG_ERROR("The required glib utility library not found.")
+])
+
dnl Checks for header files.
AC_HEADER_STDC
@@ -59,4 +77,4 @@
dnl Checks for library functions.
AC_SEARCH_LIBS(crypt, crypt)
-AC_OUTPUT(Makefile)
+AC_OUTPUT(Makefile test/Makefile)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic