/[global]/global/configure.ac
ViewVC logotype

Diff of /global/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.36 by shigio, Wed Oct 27 07:44:22 2004 UTC revision 1.37 by shigio, Sat Nov 6 09:25:16 2004 UTC
# Line 106  INCLUDES='-I$(top_srcdir)/libutil -I$(to Line 106  INCLUDES='-I$(top_srcdir)/libutil -I$(to
106  LDADD='../libutil/libgloutil.a ../libdb/libglodb.a ../libglibc/libgloglibc.a'  LDADD='../libutil/libgloutil.a ../libdb/libglodb.a ../libglibc/libgloglibc.a'
107    
108  dnl  dnl
 dnl for Postgres support  
 dnl  
 AC_MSG_CHECKING(for postgres support)  
 AC_ARG_WITH(postgres,  
 [  --with-postgres[=DIR]     include postgres support ],  
 [  
         if test "$withval" = 'no'; then  
                 AC_MSG_RESULT(no)  
         else  
                 case $withval in  
                 ''|yes) POSTGRES=/usr/local/pgsql;;  
                 *)      POSTGRES=$withval;;  
                 esac  
                 if ! test -d $POSTGRES; then  
                         AC_MSG_ERROR([directory '$POSTGRES' not found.])  
                 fi  
                 INCLUDES="$INCLUDES -I$POSTGRES/include"  
                 LDFLAGS="$LDFLAGS -L$POSTGRES/lib -lpq -lcrypt"  
                 AC_DEFINE(USE_POSTGRES,1,[Define if you use postgres.])  
                 AC_MSG_RESULT([yes, using $POSTGRES])  
         fi  
 ],[  
         AC_MSG_RESULT(no)  
 ])  
 dnl  
109  dnl for home-etc support  dnl for home-etc support
110  dnl  dnl
111  AC_MSG_CHECKING(for home-etc support)  AC_MSG_CHECKING(for home-etc support)

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26