Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 144154 | Differences between
and this patch

Collapse All | Expand All

(-)configure.in.orig (-10 / +11 lines)
Lines 34-47 Link Here
34
dnl
34
dnl
35
dnl test for MySQL
35
dnl test for MySQL
36
dnl
36
dnl
37
AC_ARG_WITH(mysql,
37
AC_ARG_WITH(mysql, AS_HELP_STRING([--with-mysql=<directory>],[mysql installed in <directory>]),[with_mysql=$withval
38
 --with-mysql=<directory>		mysql installed in <directory>,[
38
],[with_mysql=no])
39
if test $withval != yes
39
if test $withval != yes -a $withval != no ; then
40
then
41
        dir=$withval
40
        dir=$withval
42
else
41
else
43
        dir="/usr/local"
42
        dir="/usr/local"
44
fi
43
fi
44
if test $withval != no; then
45
mysqldir=""
45
mysqldir=""
46
AC_MSG_CHECKING(for MySQL files)
46
AC_MSG_CHECKING(for MySQL files)
47
for d in $dir /usr /usr/local /usr/local/mysql /opt/mysql /opt/packages/mysql
47
for d in $dir /usr /usr/local /usr/local/mysql /opt/mysql /opt/packages/mysql
Lines 108-115 Link Here
108
	fi
108
	fi
109
109
110
fi      
110
fi      
111
])      
111
fi
112
113
112
114
dnl
113
dnl
115
dnl Check whether the user wants log IP-addresses as strings rather
114
dnl Check whether the user wants log IP-addresses as strings rather
Lines 130-143 Link Here
130
dnl
129
dnl
131
dnl test for PostgreSQL
130
dnl test for PostgreSQL
132
dnl
131
dnl
133
AC_ARG_WITH(pgsql,
132
134
 --with-pgsql=<directory>		pgsql installed in <directory>,[
133
AC_ARG_WITH(pgsql, AS_HELP_STRING([--with-pgsql=<directory>],[pgsql installed in <directory>]),[with_mysql=$withval],[with_mysql=no])
135
if test $withval != yes
134
if test $withval != yes -a $withval != no
136
then
135
then
137
        dir=$withval
136
        dir=$withval
138
else
137
else
139
        dir="/usr/local"
138
        dir="/usr/local"
140
fi
139
fi
140
if test $withval = yes
141
then
141
pgsqldir=""
142
pgsqldir=""
142
AC_MSG_CHECKING(for PGSQL files)
143
AC_MSG_CHECKING(for PGSQL files)
143
for d in $dir /usr /usr/local /usr/local/pgsql /opt/pgsql /opt/packages/pgsql
144
for d in $dir /usr /usr/local /usr/local/pgsql /opt/pgsql /opt/packages/pgsql
Lines 181-187 Link Here
181
	AC_SUBST(PGSQL_LIB)
182
	AC_SUBST(PGSQL_LIB)
182
183
183
fi      
184
fi      
184
])      
185
fi      
185
186
186
dnl
187
dnl
187
dnl Check whether the user wants to log IP-addresses as strings rather
188
dnl Check whether the user wants to log IP-addresses as strings rather

Return to bug 144154