diff options
author | Alec Warner <antarus@gentoo.org> | 2007-01-23 03:03:23 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2007-01-23 03:03:23 +0000 |
commit | 0c76bf7bd4f5c5bee750ddb1f3b0c214748b4b14 (patch) | |
tree | bdb1b19354f6be614d46ca0c9095134e7a70c244 /app-admin/ulogd/files | |
parent | bump for bug # 116741 (diff) | |
download | gentoo-2-0c76bf7bd4f5c5bee750ddb1f3b0c214748b4b14.tar.gz gentoo-2-0c76bf7bd4f5c5bee750ddb1f3b0c214748b4b14.tar.bz2 gentoo-2-0c76bf7bd4f5c5bee750ddb1f3b0c214748b4b14.zip |
patch the configure.in thanks to code from steven debock and bug # 144154
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-admin/ulogd/files')
-rw-r--r-- | app-admin/ulogd/files/configure-fixes.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/app-admin/ulogd/files/configure-fixes.patch b/app-admin/ulogd/files/configure-fixes.patch new file mode 100644 index 000000000000..206404445ece --- /dev/null +++ b/app-admin/ulogd/files/configure-fixes.patch @@ -0,0 +1,60 @@ +--- configure.in.orig 2007-01-21 15:37:46.000000000 +0100 ++++ configure.in 2007-01-22 21:23:34.000000000 +0100 +@@ -34,14 +34,14 @@ + dnl + dnl test for MySQL + dnl +-AC_ARG_WITH(mysql, +- --with-mysql=<directory> mysql installed in <directory>,[ +-if test $withval != yes +-then ++AC_ARG_WITH(mysql, AS_HELP_STRING([--with-mysql=<directory>],[mysql installed in <directory>]),[with_mysql=$withval ++],[with_mysql=no]) ++if test $withval != yes -a $withval != no ; then + dir=$withval + else + dir="/usr/local" + fi ++if test $withval != no; then + mysqldir="" + AC_MSG_CHECKING(for MySQL files) + for d in $dir /usr /usr/local /usr/local/mysql /opt/mysql /opt/packages/mysql +@@ -108,8 +108,7 @@ + fi + + fi +-]) +- ++fi + + dnl + dnl Check whether the user wants log IP-addresses as strings rather +@@ -130,14 +129,16 @@ + dnl + dnl test for PostgreSQL + dnl +-AC_ARG_WITH(pgsql, +- --with-pgsql=<directory> pgsql installed in <directory>,[ +-if test $withval != yes ++ ++AC_ARG_WITH(pgsql, AS_HELP_STRING([--with-pgsql=<directory>],[pgsql installed in <directory>]),[with_mysql=$withval],[with_mysql=no]) ++if test $withval != yes -a $withval != no + then + dir=$withval + else + dir="/usr/local" + fi ++if test $withval = yes ++then + pgsqldir="" + AC_MSG_CHECKING(for PGSQL files) + for d in $dir /usr /usr/local /usr/local/pgsql /opt/pgsql /opt/packages/pgsql +@@ -181,7 +182,7 @@ + AC_SUBST(PGSQL_LIB) + + fi +-]) ++fi + + dnl + dnl Check whether the user wants to log IP-addresses as strings rather |