|
Heh... right after I hit send, I figured out what the problem was! Here's a patch (against configure.in) that solves the problem for me. Can a few of you try it? If it works, please commit it? Thanks! --- configure.in.orig Fri May 25 14:39:35 2001 +++ configure.in Fri May 25 14:39:48 2001 @@ -178,7 +178,7 @@ dnl * eval SYSCONFDIR="$sysconfdir" eval SYSCONFDIR="$SYSCONFDIR" -SYSCONFDIR="`echo "$sysconfdir" |sed 's/^NONE/\/usr\/local/'`" +SYSCONFDIR="`echo "$SYSCONFDIR" |sed 's/^NONE/\/usr\/local/'`" AC_DEFINE_UNQUOTED(SYSCONFDIR,"$SYSCONFDIR") AC_OUTPUT(Makefile src/Makefile doc/Makefile linux/Makefile freebsd/Makefile tn5250-config xt5250) On Fri, 25 May 2001, Scott Klement wrote: > > Here's a bug that I've been trying to find a good way to fix, and I > just can't seem to find one... > > When you do a ./configure to build tn5250, it creates a file called > src/tn5250-config.h In this file is a line that looks like this: > > /* Define this to the system config directory. */ > #define SYSCONFDIR "${prefix}/etc" > > > What I'm looking for is a way to replace the "${prefix}" with a directory, > such as /usr/local. Right now, what it does is actually look for a > directory called "${prefix}", and that just doesn't work :) > > Shouldn't autoconf be replacing ${prefix} with the actual directory name? > it appears to me that it SHOULD -- but I've tested it, and it never does. > > I've tested this on RedHat 6.1, and 6.2 as well as FreeBSD. I think I'm > using autoconf 2.13 on all of these systems... > > Thanks for any help/tips... > > > > +--- | This is the LINUX5250 Mailing List! | To submit a new message, send your mail to LINUX5250@midrange.com. | To subscribe to this list send email to LINUX5250-SUB@midrange.com. | To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.