From 653eb8a0e0efcc06be522a77a925939597fff971 Mon Sep 17 00:00:00 2001 From: psychon Date: Thu, 24 Sep 2009 19:38:36 +0000 Subject: [PATCH] configure.in: Don't explicitly set default prefix configure automatically sets the prefix to /usr/local if the user didn't set one explicitly with --prefix, but it does so later than our own code. This must have been a problem in the past, but now everything works fine without this hack. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1637 726aef4b-f618-498e-8847-2d620e286838 --- configure | 4 ---- configure.in | 4 ---- 2 files changed, 8 deletions(-) diff --git a/configure b/configure index 19ef1d8e..bb7f05f7 100755 --- a/configure +++ b/configure @@ -3165,10 +3165,6 @@ fi fi fi -if test -z "$prefix" || test $prefix = "NONE"; then - prefix="/usr/local" -fi - # Check whether --with-module-prefix was given. if test "${with_module_prefix+set}" = set; then : diff --git a/configure.in b/configure.in index 38121679..2b4b23b6 100644 --- a/configure.in +++ b/configure.in @@ -152,10 +152,6 @@ if test -z "$NOSSL"; then fi fi -if test -z "$prefix" || test $prefix = "NONE"; then - prefix="/usr/local" -fi - AC_ARG_WITH( [module-prefix], AS_HELP_STRING([--with-module-prefix], [module object code [[LIBDIR/znc]]]), [MODDIR=$withval],