source: trunk/configure.in @ 91

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

debian/changelog, configure.in:

  • Removed email2trac references
  • 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 91 2007-03-29 08:18:44Z bas $
6#
7#
8AC_INIT(pxeconfig.in)
9AC_SUBST(prefix)
10AC_SUBST(exec_prefix)
11AC_SUBST(pyexecdir)
12AC_SUBST(sysconfdir)
13
14#DEBUG=0
15
16AM_PATH_PYTHON
17AC_PROG_GCC_TRADITIONAL
18
19if test "x$DEBUG" = "x";then
20  DEBUG=0
21fi
22AC_SUBST(DEBUG)
23
24# Now a user can specify the TRAC user
25#
26#AC_ARG_WITH(trac_user,
27#[
28#  --with-trac_user=USER    Specify the name of the user that trac use,
29#                          default=www-data],
30#
31#  [case "${withval}" in
32#        *) trac_user="${withval}" ;;
33#  esac],
34#
35#  [trac_user="www-data"]
36##)dnl           
37
38
39dnl ##### Path to pxeconfig.conf
40dnl This ugly kludge to get the sysconfdir path is needed because
41dnl autoconf doesn't actually set the prefix variable until later.
42if test "$sysconfdir" = '${prefix}/etc'; then
43  if test "x$prefix" = xNONE; then
44    pxeconfig_conf="$ac_default_prefix/etc/pxeconfig.conf"
45  else
46    pxeconfig_conf="$prefix/etc/pxeconfig.conf"
47  fi
48else
49  pxeconfig_conf="$sysconfdir/pxeconfig.conf"
50fi
51AC_DEFINE_UNQUOTED(SYSTEM_PXECONFIG_CONF, "$pxeconfig_conf",
52                   [Full path for the system-wide pxeconfig_conf.conf file.])
53
54AC_SUBST(pxeconfig_conf)
55AC_SUBST(SYSTEM_PXECONFIG_CONF)
56
57
58AC_OUTPUT(
59        Makefile
60        pxeconfig
61        pxeconfigd
62        hexls
63        )
Note: See TracBrowser for help on using the repository browser.