Synopsis - Cross-Reference

File: /Synopsis/Parsers/IDL/configure.ac
 1dnl
 2dnl Copyright (C) 2006 Stefan Seefeld
 3dnl All rights reserved.
 4dnl Licensed to the public under the terms of the GNU LGPL (>= 2),
 5dnl see the file COPYING for details.
 6dnl
 7
 8dnl ------------------------------------------------------------------
 9dnl Autoconf initialization
10dnl ------------------------------------------------------------------
11AC_PREREQ(2.56)
12AC_REVISION($Revision: 1.4 $)
13AC_INIT(Synopsis, 1.0, synopsis-devel@fresco.org)
14AC_CONFIG_HEADERS(acconfig.h)
15
16AC_ARG_WITH(syn-cxx,
17  [  --with-syn-cxx=PATH     specify the Synopsis C++ library prefix],
18  SYN_CXX="$with_syn_cxx",
19  SYN_CXX="/usr/local"
20)
21
22AC_PROG_CPP
23AC_PROG_CC
24AC_PROG_CXX
25AC_PROG_LEX
26if test $LEX != flex
27then AC_MSG_ERROR(This package needs flex to build.)
28fi
29AC_PROG_YACC
30# Unfortunately, AC_PROG_YACC sets $YACC to 'yacc' if it couldn't
31# find anything (yacc itself doesn't appear to be checked for.)
32# Thus we take this as an indication that the test failed.
33if test "$YACC" = yacc
34then AC_MSG_ERROR(This package needs bison to build.)
35fi
36
37dnl ** Integer representation
38
39AC_C_BIGENDIAN
40AC_CHECK_SIZEOF(char, 1)
41AC_CHECK_SIZEOF(unsigned char, 1)
42AC_CHECK_SIZEOF(bool, 1)
43AC_CHECK_SIZEOF(short, 2)
44AC_CHECK_SIZEOF(int, 4)
45AC_CHECK_SIZEOF(long, 4)
46AC_CHECK_SIZEOF(long long, 8)
47AC_CHECK_SIZEOF(float, 4)
48AC_CHECK_SIZEOF(double, 8)
49AC_CHECK_SIZEOF(long double, 16)
50AC_CHECK_SIZEOF(wchar_t, 4)
51AC_CHECK_SIZEOF(void*, 4)
52AC_CHECK_FUNCS(strcasecmp)
53
54AC_PYTHON_EXT
55
56AC_CONFIG_FILES([Makefile])
57
58AC_OUTPUT