Ticket #508 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

configure options

Reported by: xerxes2@… Owned by: initng@…
Priority: normal Milestone:
Component: Build System Version: initng-0.5.5
Severity: normal Keywords:
Cc:

Description

hello guys.

i want to ask for more sane default configure options. ie /usr/man and /usr/share . maybe a prefix=/usr should be all that's needed.

greets

Change History

comment:1 Changed 7 years ago by trigger

  • Component changed from Bugs in *.i files to Bug in initng build system

ACK!

ATM we need something like "./configure --bindir=/bin --sbindir=/sbin --sysconfdir=/etc --libdir=/lib ....."

Shouldn't this be the default values and one only needs the flag if there's a need to change it?

comment:2 Changed 7 years ago by biebl

  • Status changed from new to closed
  • Resolution set to fixed

AFAIK there is no way to encode a preset values for ./configure in the configure script itself. What you can do is the following: ./configure will look for file config.site at $prefix/usr/share/config.site and $prefix/etc/config.site or specified by the CONFIG_SITE environment variable. In this case the config.site file could look like this: <<<< test "$prefix" = NONE && prefix=/usr test "$sbindir" = NONE && sbindir=/sbin test "$bindir" = NONE && sbindir=/bin test "$libdir" = NONE && libdir=/lib test "$sysconfdir" = NONE && sysconfdir=/etc <<<< If your run "CONFIG_SITE=/path/to/config.site ./configure" you should get the desired result. You can also copy config.site to /etc/ so ./configure should pick it up automatically, but beware, this would hold for all autoconfiscated packages.

Note: See TracTickets for help on using tickets.