File: configure.in

package info (click to toggle)
libooc-xml 3.0-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 10,880 kB
  • ctags: 360
  • sloc: xml: 10,312; ansic: 1,681; sh: 798; makefile: 301; perl: 17
file content (29 lines) | stat: -rw-r--r-- 744 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/XML/Parser.Mod)
for i in sym obj; do
  if test ! -d $i; then mkdir $i; fi
done

dnl Check for compiler, initialization file, installation directory,
dnl ooconfig.sh script, and whether the compiler supports --make-lib.
OOC_PROG_OOC()
OOC_PATH_INIT()
OOC_PATH_LIBDIR()
OOC_PROG_OOCONFIG()
OOC_SUPPORTS_LIBS()

dnl Check for programs.
AC_CHECK_PROG(OOCN, oocn, oocn)
AC_PROG_INSTALL

dnl Required and optional base libraries.
OOC_CHECK_LIB(xnet,socket,,)

dnl Make sure that $(MAKE) is valid, enable program name transformation,
dnl and find out which extension executables have.
AC_PROG_MAKE_SET
AC_ARG_PROGRAM
AC_EXEEXT

dnl Create output file.
AC_OUTPUT(Makefile)