This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: configure --sysconfdir=/.. broken


>>>>> Mark Kettenis writes:

Mark>    From: Andreas Jaeger <aj@suse.de>
Mark>    Date: 07 Jun 2000 16:36:32 +0200

Mark>    We've got a bug report that --sysconfdir=/some-dir isn't honoured at
Mark>    all.  Looking at the configure files, I noticed:

Mark>    AC_SUBST(libc_cv_slibdir)
Mark>    AC_SUBST(libc_cv_localedir)
Mark>    AC_SUBST(libc_cv_sysconfdir)
Mark>    AC_SUBST(libc_cv_rootsbindir)

Mark>    But these are never set.  I'm appending a patch to fix this for
Mark>    sysconfdir.  May I commit this?

Mark> No!  Take a look at sysdeps/unix/sysv/linux/configure.in.  The
Mark> libc_cv_ variables are set there.

Thanks!  Ok, now I see where localedir etc is set.  But sysconfdir is
a problem: configure supports --sysconfdir which conflicts with
libc_cv_sysconfdir :-(.  Should we remove the option and thereby
forcing the user to use sysconfdir?  But how can this be done?
--sysconfdir support seems to be added automatically by autoconf.

Or how can we fix this?  We could initialize libc_cv_sysconfdir to
sysconfdir instead of leaving it empty as it's done now - but this way
the user can't override libc_cv_sysconfdir when using --prefix=/usr
and I don't see directly how we can check if the user has used the
prefix.

Anybody with a real solution for this?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]