bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Specifying the name of the gnulib library.


From: Alfred M. Szmidt
Subject: [PATCH] Specifying the name of the gnulib library.
Date: Fri, 16 Mar 2007 20:01:14 +0100 (CET)

Hi,

this allows a user to specify the name of the gnulib library
(currently libPACKAGE) to something that they might prefer through
bootstrap.conf by setting the variable gnulib_name.  In inetutils we
use libgnu for gnulib, and libinetutils.a for our own functions.

2007-03-16  Alfred M. Szmidt  <address@hidden>

        * build-aux/bootstrap (gnulib_name): New variable.
        (gnulib_tool_options): Use it.

--- bootstrap   15 Mar 2007 23:58:36 +0100      1.1
+++ bootstrap   16 Mar 2007 19:54:12 +0100      
@@ -89,6 +89,7 @@ extract_package_name='
   }
 '
 package=`sed -n "$extract_package_name" configure.ac` || exit
+gnulib_name=lib$package
 
 build_aux=build-aux
 # Extra files from gnulib, which override files from other sources.
@@ -450,7 +451,7 @@ gnulib_tool_options="\
  --no-changelog\
  --aux-dir $bt/$build_aux\
  --doc-base $bt/doc\
- --lib lib$package\
+ --lib $gnulib_name\
  --m4-base $bt/m4/\
  --source-base $bt/lib/\
  --tests-base $bt/tests\




reply via email to

[Prev in Thread] Current Thread [Next in Thread]