source: trunk/configure.in @ 120

Last change on this file since 120 was 120, checked in by bas, 16 years ago

configure.in:

  • removed C-compiler requirement

debian/changelog:

  • version 2.0.0

pxeconfig.in:

  • working host-range with padding

pxeconfigd.in:

  • new version
  • Property svn:keywords set to Id URL
File size: 1.3 KB
Line 
1#
2# Author: Bas van der Vlies <basv@sara.nl>
3# Desc. : Simple configure script for pxeconfig package
4# SVN INFO:
5#       $Id: configure.in 120 2008-04-11 08:48:46Z bas $
6#
7#
8AC_INIT(pxeconfig.in)
9AC_SUBST(prefix)
10AC_SUBST(exec_prefix)
11AC_SUBST(pyexecdir)
12AC_SUBST(sysconfdir)
13AC_SUBST(sbindir)
14
15#DEBUG=0
16
17AM_PATH_PYTHON
18#AC_PROG_GCC_TRADITIONAL
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
61        pxeconfig
62        pxeconfigd
63        hexls
64        examples/pxeconfigd.xinetd
65        )
Note: See TracBrowser for help on using the repository browser.