70b4abe29dffee759fd97f4ffe73b18b29f7fbf9
[pixie] / configure.in
1 dnl -*-fundamental-*-
2 dnl
3 dnl $Id: configure.in,v 1.1 1999/10/23 10:58:49 mdw Exp $
4 dnl
5 dnl Configuration script for PGP pixie
6 dnl
7 dnl (c) 1999 Mark Wooding
8 dnl
9
10 dnl ----- Licensing notice --------------------------------------------------
11 dnl
12 dnl PGP pixie is free software; you can redistribute it and/or modify
13 dnl it under the terms of the GNU General Public License as published by
14 dnl the Free Software Foundation; either version 2 of the License, or
15 dnl (at your option) any later version.
16 dnl
17 dnl PGP pixie is distributed in the hope that it will be useful,
18 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
19 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 dnl GNU General Public License for more details.
21 dnl
22 dnl You should have received a copy of the GNU General Public License
23 dnl along with PGP pixie; if not, write to the Free Software Foundation,
24 dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26 dnl ----- Revision history --------------------------------------------------
27 dnl
28 dnl $Log: configure.in,v $
29 dnl Revision 1.1 1999/10/23 10:58:49 mdw
30 dnl Initial revision
31 dnl
32
33 AC_INIT(pixie.c)
34 AM_INIT_AUTOMAKE(pixie, 1.0.0)
35 AC_PROG_CC
36 mdw_GCC_FLAGS
37 AC_PATH_PROG(PATH_XGETLINE, xgetline)
38 if test -n "$PATH_XGETLINE"; then
39 AC_DEFINE_UNQUOTED(PATH_XGETLINE, "$PATH_XGETLINE")
40 fi
41 AC_CHECK_FUNCS(mlock)
42 mdw_prefix=$prefix mdw_exec_prefix=$exec_prefix
43 test "$prefix" = "NONE" && prefix=$ac_default_prefix
44 test "$exec_prefix" = "NONE" && exec_prefix=$prefix
45 PIXIE=`eval echo $bindir`/`echo pixie|sed ${program_transform_name}`
46 AC_SUBST(PIXIE)
47 AC_OUTPUT(Makefile pgp-pixie)
48
49 dnl ----- That's all, folks -------------------------------------------------