Hi,
On Tue, Mar 04, 2003 at 06:16:24AM -0500, Alan DeKok wrote:
> Y Sreenivasulu <[EMAIL PROTECTED]> wrote:
> > Thanks for your information Alan. Can you suggest where can I
> > find such source code patches?
> It's free software. You have the power to create them yourself.
speaking of which, below is one that's untested. If someone can
please explain how to regenerate an individual configure script,
I'd rather try that instead of hacking directly into the generated
code.
The problem why it's untested is that I don't manage to re-generate
configure:
In the root directory of freeradius:
$ gmake reconfig
autoheader
Provide an AUTOCONF_VERSION environment variable, please
echo timestamp > src/include/stamp-h.in
$ env AUTOCONF_VERSION=2.52 gmake reconfig
gmake: Nothing to be done for `reconfig'.
In src/modules/rlm_sql/drivers/rlm_sql_postgresql:
$ env AUTOCONF_VERSION=2.52 gmake reconfig
configure.in:45: error: possibly undefined macro: AC_SMART_CHECK_INCLUDE
configure.in:51: error: possibly undefined macro: AC_SMART_CHECK_LIB
gmake: *** [reconfig] Error 1
And now the patch:
Purpose: Search the header directory that the OpenBSD (3.2-current) port
defines, too. So, if Postgresql is installed, it should be
found.
--- src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.in.orig Thu Nov 7
17:18:48 2002
+++ src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.in Tue Mar 11 19:04:38
2003
@@ -41,7 +41,7 @@
esac ]
)
- smart_try_dir="$rlm_sql_postgresql_include_dir /usr/include/postgresql
/usr/local/pgsql/include /usr/include/pgsql"
+ smart_try_dir="$rlm_sql_postgresql_include_dir /usr/include/postgresql
/usr/local/pgsql/include /usr/local/include/postgresql /usr/include/pgsql"
AC_SMART_CHECK_INCLUDE(libpq-fe.h)
if test "x$ac_cv_header_libpqmfe_h" != "xyes"; then
fail="$fail libpq-fe.h"
Best,
--Toni++
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html