1 |
# -*- Autoconf -*- |
2 |
# Process this file with autoconf to produce a configure script. |
3 |
# |
4 |
# configure.in for libukcprog |
5 |
# $Id: configure.in,v 1.10 2005/09/24 13:33:18 tdb Exp $ |
6 |
# |
7 |
|
8 |
# Change these to change the package name and version |
9 |
AC_INIT(libukcprog, 1.0.3, bugs@i-scream.org) |
10 |
AM_INIT_AUTOMAKE(libukcprog, 1.0.3) |
11 |
AM_MAINTAINER_MODE |
12 |
|
13 |
# Revision number (automatically updated) |
14 |
AC_REVISION($Revision: 1.10 $) |
15 |
|
16 |
# Might work with older autoconfs... but tested on 2.57 |
17 |
AC_PREREQ(2.57) |
18 |
|
19 |
# Checks for programs |
20 |
AC_PROG_CC |
21 |
AC_PROG_INSTALL |
22 |
AC_PROG_LIBTOOL |
23 |
|
24 |
# Checks for header files |
25 |
AC_HEADER_STDC |
26 |
|
27 |
# Checks for typedefs, structures, and compiler characteristics |
28 |
AC_C_CONST |
29 |
|
30 |
# On Slaris add some LIBS to make linking against libukcprog easier |
31 |
case $host_os in |
32 |
solaris2.*) |
33 |
LIBS="$LIBS -lnsl -lsocket" |
34 |
;; |
35 |
esac |
36 |
|
37 |
# And finish by changing these files |
38 |
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile libukcprog.pc]) |
39 |
|
40 |
AC_OUTPUT |