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

Diff of /global/configure.ac

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

revision 1.56 by h-iwamoto, Wed Jun 29 12:00:53 2005 UTC revision 1.57 by h-iwamoto, Mon Jul 11 12:20:25 2005 UTC
# Line 107  INCLUDES='-I$(top_srcdir)/libutil -I$(to Line 107  INCLUDES='-I$(top_srcdir)/libutil -I$(to
107  LDADD='../libutil/libgloutil.a ../libdb/libglodb.a ../libglibc/libgloglibc.a'  LDADD='../libutil/libgloutil.a ../libdb/libglodb.a ../libglibc/libgloglibc.a'
108    
109  dnl  dnl
110    dnl This option is for debugging GLOBAL. Not for normal use.
111    dnl
112    AC_ARG_WITH(db185-compat,
113    [  --with-db185-compat[=DIR] use DB1.85 compatible API included in DB2 or later ],
114    [
115            if test "$withval" != 'no'; then
116                    case "$withval" in
117                    ''|yes)
118                            ;;
119                    *)
120                            if ! test -d $withval; then
121                                    AC_MSG_ERROR([directory $withval not found.])
122                            fi
123                            if ! test -r $withval/include/db_185.h; then
124                                    AC_MSG_ERROR([header $withval/include/db_185.h not found.])
125                            fi
126                            INCLUDES="$INCLUDES -I$withval/include"
127                            LDFLAGS="$LDFLAGS -L$withval/lib"
128                            ;;
129                    esac
130                    LDADD='../libutil/libgloutil.a -ldb ../libglibc/libgloglibc.a'
131                    AC_DEFINE(USE_DB185_COMPAT,1,[Define if you use DB1.85 compatible API.])
132            fi
133    ],[ with_db185_compat='no' ])
134    AM_CONDITIONAL([USE_DB185_COMPAT], [test "$with_db185_compat" != no])
135    
136    dnl
137  dnl for home-etc support  dnl for home-etc support
138  dnl  dnl
139  AC_MSG_CHECKING(for home-etc support)  AC_MSG_CHECKING(for home-etc support)

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

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