Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] Re: (PR#5118) CVS fails in autogen.sh
Home

[Freeciv-Dev] Re: (PR#5118) CVS fails in autogen.sh

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jorneg@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#5118) CVS fails in autogen.sh
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 19 Aug 2003 08:20:28 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Sat, 16 Aug 2003, jorneg@xxxxxxxxxxx wrote:
> + running automake ...
> server/Makefile.am:79: variable `USER_DB_LIB' not defined

Please try the attached patch.

  - Per

"The truth is there is an ideological struggle between those who believe
that the best way to grow the economy is to give more money to the
wealthy, and the Democrats who believe that the wealthy will make more
money if average people do better." -- Bill Clinton, November 2000

Index: m4/auth.m4
===================================================================
RCS file: /home/freeciv/CVS/freeciv/m4/auth.m4,v
retrieving revision 1.1
diff -u -r1.1 auth.m4
--- m4/auth.m4  10 Jul 2003 03:34:30 -0000      1.1
+++ m4/auth.m4  19 Aug 2003 15:19:43 -0000
@@ -1,4 +1,6 @@
 AC_DEFUN(FC_CHECK_AUTH, [
+USER_DB_LIB=""
+USER_DB_DEP=""
 AC_ARG_ENABLE(auth,
 [  --enable-auth[[=lib]]     enable authentication 
                                  [[default userdb 
lib=server/userdb/libuserdb.a]]],
@@ -15,11 +17,11 @@
 if test "x$auth" = "xtrue" ; then
   AC_DEFINE(AUTHENTICATION_ENABLED, 1, [authentication support])
   USER_DB_LIB=$user_db_lib
-  AC_SUBST(USER_DB_LIB)
 
   if test "x$user_db_lib" = "xuserdb/libuserdb.a" ; then
     USER_DB_DEP=$user_db_lib
-    AC_SUBST(USER_DB_DEP)
   fi
 fi
+AC_SUBST(USER_DB_LIB)
+AC_SUBST(USER_DB_DEP)
 ])

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#5118) CVS fails in autogen.sh, Per I. Mathisen <=