1 |
# |
# |
2 |
# Copyright (c) 2002 Jean-Charles Salzeber <jc@varspool.net> |
# Copyright (c) 2002 Jean-Charles Salzeber <jc@varspool.net> |
3 |
# |
# |
4 |
# This file is part of pengfork program. |
# This file is part of penggy program. |
5 |
# |
# |
6 |
# This program is free software; you can redistribute it and/or |
# This program is free software; you can redistribute it and/or |
7 |
# modify it under the terms of the GNU General Public License |
# modify it under the terms of the GNU General Public License |
24 |
# Autoconf 2.53 needed so that buggy PATH_SEPARATOR is fixed. |
# Autoconf 2.53 needed so that buggy PATH_SEPARATOR is fixed. |
25 |
AC_PREREQ(2.53) |
AC_PREREQ(2.53) |
26 |
|
|
27 |
AC_INIT(pengfork, 0.1) |
AC_INIT(penggy, 0.1) |
28 |
|
|
29 |
# Auxiliary files |
# Auxiliary files |
30 |
AC_CONFIG_AUX_DIR(config) |
AC_CONFIG_AUX_DIR(config) |
44 |
AC_PROG_AWK |
AC_PROG_AWK |
45 |
AC_PROG_RANLIB |
AC_PROG_RANLIB |
46 |
AC_PROG_YACC |
AC_PROG_YACC |
47 |
|
AC_PROG_LN_S |
48 |
|
|
49 |
# CFLAGS |
# CFLAGS |
50 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
113 |
AM_ICONV |
AM_ICONV |
114 |
|
|
115 |
AC_ARG_WITH(confdir, |
AC_ARG_WITH(confdir, |
116 |
AC_HELP_STRING([--with-confdir=PATH], [set configuration path (/etc/pengfork)]), |
AC_HELP_STRING([--with-confdir=PATH], [set configuration path (/etc/penggy)]), |
117 |
CONFDIR=$withval, |
CONFDIR=$withval, |
118 |
CONFDIR="/etc/pengfork") |
CONFDIR="/etc/penggy") |
119 |
|
|
120 |
AC_DEFINE_UNQUOTED([CONFDIR], "$CONFDIR", [ Path passed to configure where configuration files are stored ]) |
AC_DEFINE_UNQUOTED([CONFDIR], "$CONFDIR", [ Path passed to configure where configuration files are stored ]) |
121 |
AC_SUBST([CONFDIR]) |
AC_SUBST([CONFDIR]) |