From d052efe002830ad10892844476545a41dfbbb067 Mon Sep 17 00:00:00 2001 From: imaginos Date: Sat, 2 Apr 2005 23:11:56 +0000 Subject: [PATCH] use /usr/local as default git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@62 726aef4b-f618-498e-8847-2d620e286838 --- configure | 4 ++++ configure.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/configure b/configure index 027df9fc..d20fc98f 100755 --- a/configure +++ b/configure @@ -2698,6 +2698,10 @@ if test -z "$NOSSL"; then appendCXX -DHAVE_LIBSSL fi +if test -z "$prefix" || test $prefix = "NONE"; then + prefix="/usr/local" +fi + if test "$MODULES" = "yes"; then if test -n "$ISSUN"; then echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 diff --git a/configure.in b/configure.in index 2ff5528e..b7ad1df6 100644 --- a/configure.in +++ b/configure.in @@ -51,6 +51,10 @@ if test -z "$NOSSL"; then appendCXX -DHAVE_LIBSSL fi +if test -z "$prefix" || test $prefix = "NONE"; then + prefix="/usr/local" +fi + if test "$MODULES" = "yes"; then if test -n "$ISSUN"; then AC_CHECK_LIB( dl, dlopen, appendCXX -D_MODULES,, )