File: configure.in

package info (click to toggle)
libtool 1.4.2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,304 kB
  • ctags: 831
  • sloc: sh: 8,394; ansic: 3,706; makefile: 415
file content (32 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
dnl Process this file with autoconf to create configure.

AC_INIT(main.c)
AM_INIT_AUTOMAKE(mdemo,0.1)

AC_PROG_CC
AC_C_CONST
AC_EXEEXT

AC_LIBLTDL_CONVENIENCE(../libltdl)
AC_SUBST(INCLTDL)
AC_SUBST(LIBLTDL)

AC_LIBTOOL_WIN32_DLL
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)

if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
  STATIC=-static
else
  STATIC=
fi
AC_SUBST(STATIC)

AC_CHECK_HEADERS(math.h)

AC_CHECK_LIBM
AC_SUBST(LIBM)

dnl Output the makefile
AC_OUTPUT(Makefile)