File: configure.ac

package info (click to toggle)
ois 0.99+1.0rc1-2.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 976 kB
  • ctags: 1,022
  • sloc: cpp: 5,510; makefile: 101; ansic: 72; sh: 9
file content (35 lines) | stat: -rwxr-xr-x 746 bytes parent folder | download
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
33
34
35
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT( [OIS], 1.0.0 )

AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE( [OIS], 1.0.0 )
AM_CONFIG_HEADER([includes/config.h])

dnl Check for programs
AC_PROG_CC
AC_PROG_CXX
AM_PROG_CC_C_O
AC_PROG_INSTALL
AM_PROG_LIBTOOL

dnl Checking for STLPort
OIS_USE_STLPORT

CFLAGS="$CFLAGS"
CXXFLAGS="$CXXFLAGS"
LIBS="$LIBS"

dnl Detect X11
AC_CHECK_HEADERS([X11/Xaw/Command.h],, [AC_MSG_ERROR("libxaw headers not found")])

dnl Added for BSD's
AC_PROG_LIBTOOL

AC_CONFIG_FILES([Makefile
                 includes/Makefile
                 src/Makefile
                 demos/Makefile
                 OIS.pc])
AC_OUTPUT