bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Bugfix for gdbm-1.8.0:Makefile.in


From: Ulli Horlacher
Subject: Re: Bugfix for gdbm-1.8.0:Makefile.in
Date: Thu, 6 Sep 2001 16:28:39 +0200

On Thu 2001-09-06 (15:54), Ulli Horlacher wrote:
> The configure script of gdbm-1.8.0 ignores the --prefix option.
> 
> Here is my bugfix:

Sorry, I was a little bit too fast. I found similar bugs with other pseudo-
macros in Makefile.in .

The fix for all them is now:

charly:~/src/gdbm-1.8.0: diff -u Makefile.in~ Makefile.in
--- Makefile.in~        Thu Sep  6 16:28:00 2001
+++ Makefile.in Thu Sep  6 16:05:26 2001
@@ -21,28 +21,28 @@
 MAKEINFO = makeinfo
 TEXI2DVI = texi2dvi

-DEFS =
+DEFS = @DEFS@

 # Where the system [n]dbm routines are...
 LIBS = @LIBS@ -lc

 # SunOS 4 users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL.
-CFLAGS = -O
-LDFLAGS =
+CFLAGS = @CFLAGS@
+LDFLAGS = @LDFLAGS@

 # Common prefix for installation directories
-prefix = /usr/local
-exec_prefix = $(prefix)
-binprefix = $(exec_prefix)
-manprefix = $(prefix)
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+binprefix = @bindir@
+manprefix = @mandir@

 # Directory in which to put libgdbm.a.
-libdir = $(exec_prefix)/lib
+libdir = @libdir@
 # The include directory for gdbm.h and dbm.h.
-includedir = $(prefix)/include
+includedir = @includedir@
 # Info and man directories.
-infodir = $(prefix)/info
-man3dir = $(prefix)/man/man3
+infodir = @infodir@
+man3dir = $(manprefix)/man3
 manext = 3

 #### End of system configuration section. ####


-- 
-- Ullrich Horlacher, BelWue Coordination ------- mailto:address@hidden --
   Computing Centre University of Stuttgart (RUS)  phone: +49 711 685 5868
   Allmandring 30, D-70550 Stuttgart, Germany        fax: +49 711 678 8363
-- saft://saft.belwue.de/framstag ----------------- http://www.belwue.de/ ----



reply via email to

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