Last change
on this file since 167 was
167,
checked in by bas, 14 years ago
|
revert some chamges we must generate pxeconfig.py for the config file
|
-
Property svn:keywords set to
Id URL
|
File size:
1.4 KB
|
Rev | Line | |
---|
[79] | 1 | # |
---|
| 2 | # Author: Bas van der Vlies <basv@sara.nl> |
---|
[91] | 3 | # Desc. : Simple configure script for pxeconfig package |
---|
[79] | 4 | # SVN INFO: |
---|
[80] | 5 | # $Id: configure.in 167 2009-08-19 06:54:17Z bas $ |
---|
[79] | 6 | # |
---|
| 7 | # |
---|
[142] | 8 | AC_INIT(src/pxeconfig.in) |
---|
[79] | 9 | AC_SUBST(prefix) |
---|
| 10 | AC_SUBST(exec_prefix) |
---|
| 11 | AC_SUBST(pyexecdir) |
---|
| 12 | AC_SUBST(sysconfdir) |
---|
[116] | 13 | AC_SUBST(sbindir) |
---|
[79] | 14 | |
---|
| 15 | #DEBUG=0 |
---|
| 16 | |
---|
| 17 | AM_PATH_PYTHON |
---|
[120] | 18 | #AC_PROG_GCC_TRADITIONAL |
---|
[79] | 19 | |
---|
| 20 | if test "x$DEBUG" = "x";then |
---|
| 21 | DEBUG=0 |
---|
| 22 | fi |
---|
| 23 | AC_SUBST(DEBUG) |
---|
| 24 | |
---|
| 25 | # Now a user can specify the TRAC user |
---|
| 26 | # |
---|
| 27 | #AC_ARG_WITH(trac_user, |
---|
| 28 | #[ |
---|
| 29 | # --with-trac_user=USER Specify the name of the user that trac use, |
---|
| 30 | # default=www-data], |
---|
| 31 | # |
---|
| 32 | # [case "${withval}" in |
---|
| 33 | # *) trac_user="${withval}" ;; |
---|
| 34 | # esac], |
---|
| 35 | # |
---|
| 36 | # [trac_user="www-data"] |
---|
| 37 | ##)dnl |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | dnl ##### Path to pxeconfig.conf |
---|
| 41 | dnl This ugly kludge to get the sysconfdir path is needed because |
---|
| 42 | dnl autoconf doesn't actually set the prefix variable until later. |
---|
| 43 | if test "$sysconfdir" = '${prefix}/etc'; then |
---|
| 44 | if test "x$prefix" = xNONE; then |
---|
| 45 | pxeconfig_conf="$ac_default_prefix/etc/pxeconfig.conf" |
---|
| 46 | else |
---|
| 47 | pxeconfig_conf="$prefix/etc/pxeconfig.conf" |
---|
| 48 | fi |
---|
| 49 | else |
---|
| 50 | pxeconfig_conf="$sysconfdir/pxeconfig.conf" |
---|
| 51 | fi |
---|
| 52 | AC_DEFINE_UNQUOTED(SYSTEM_PXECONFIG_CONF, "$pxeconfig_conf", |
---|
| 53 | [Full path for the system-wide pxeconfig_conf.conf file.]) |
---|
| 54 | |
---|
| 55 | AC_SUBST(pxeconfig_conf) |
---|
| 56 | AC_SUBST(SYSTEM_PXECONFIG_CONF) |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | AC_OUTPUT( |
---|
| 60 | Makefile |
---|
[142] | 61 | src/pxeconfig |
---|
[167] | 62 | src/pxeconfig.py |
---|
[142] | 63 | src/pxeconfigd |
---|
| 64 | src/hexls |
---|
[116] | 65 | examples/pxeconfigd.xinetd |
---|
[79] | 66 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.