| 1 | dnl -*-fundamental-*- |
| 2 | dnl |
| 3 | dnl $Id: configure.in,v 1.2 1999/10/23 11:06:41 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.2 1999/10/23 11:06:41 mdw |
| 30 | dnl Find a socket library. |
| 31 | dnl |
| 32 | dnl Revision 1.1.1.1 1999/10/23 10:58:49 mdw |
| 33 | dnl New import. |
| 34 | dnl |
| 35 | |
| 36 | AC_INIT(pixie.c) |
| 37 | AM_INIT_AUTOMAKE(pixie, 1.0.0) |
| 38 | AC_PROG_CC |
| 39 | mdw_GCC_FLAGS |
| 40 | AC_PATH_PROG(PATH_XGETLINE, xgetline) |
| 41 | if test -n "$PATH_XGETLINE"; then |
| 42 | AC_DEFINE_UNQUOTED(PATH_XGETLINE, "$PATH_XGETLINE") |
| 43 | fi |
| 44 | mdw_CHECK_MANYLIBS(socket, socket) |
| 45 | AC_CHECK_FUNCS(mlock) |
| 46 | mdw_prefix=$prefix mdw_exec_prefix=$exec_prefix |
| 47 | test "$prefix" = "NONE" && prefix=$ac_default_prefix |
| 48 | test "$exec_prefix" = "NONE" && exec_prefix=$prefix |
| 49 | PIXIE=`eval echo $bindir`/`echo pixie|sed ${program_transform_name}` |
| 50 | AC_SUBST(PIXIE) |
| 51 | AC_OUTPUT(Makefile pgp-pixie) |
| 52 | |
| 53 | dnl ----- That's all, folks ------------------------------------------------- |