source: trunk/configure.in @ 210

Last change on this file since 210 was 171, checked in by bas, 15 years ago

configure. configure.in, Makefile.in:

  • added new files

src/pxeconfigd.in:

  • new daemon code, like client side

src/pxeconfigd.py:

  • use the common function defined in pxe_global.py
  • reformat the code
  • added daemon hook script

setup.py:

  • added some new modules


  • Property svn:keywords set to Id URL
File size: 1.4 KB
RevLine 
[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 171 2009-08-19 08:53:16Z bas $
[79]6#
7#
[142]8AC_INIT(src/pxeconfig.in)
[79]9AC_SUBST(prefix)
10AC_SUBST(exec_prefix)
11AC_SUBST(pyexecdir)
12AC_SUBST(sysconfdir)
[116]13AC_SUBST(sbindir)
[79]14
15#DEBUG=0
16
17AM_PATH_PYTHON
[120]18#AC_PROG_GCC_TRADITIONAL
[79]19
20if test "x$DEBUG" = "x";then
21  DEBUG=0
22fi
23AC_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
40dnl ##### Path to pxeconfig.conf
41dnl This ugly kludge to get the sysconfdir path is needed because
42dnl autoconf doesn't actually set the prefix variable until later.
43if 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
49else
50  pxeconfig_conf="$sysconfdir/pxeconfig.conf"
51fi
52AC_DEFINE_UNQUOTED(SYSTEM_PXECONFIG_CONF, "$pxeconfig_conf",
53                   [Full path for the system-wide pxeconfig_conf.conf file.])
54
55AC_SUBST(pxeconfig_conf)
56AC_SUBST(SYSTEM_PXECONFIG_CONF)
57
58
59AC_OUTPUT(
60        Makefile
[142]61        src/pxeconfig
[171]62        src/pxe_global.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.