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