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