Synopsis - Cross-Reference

File: /Synopsis/Parsers/Cxx/configure.ac
 1dnl
 2dnl Copyright (C) 2003 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.9 $)
13AC_INIT(occ, 0.8, synopsis-devel@fresco.org)
14
15AC_ARG_WITH(syn-cxx,
16  [  --with-syn-cxx=PATH     specify the Synopsis C++ library prefix],
17  SYN_CXX="$with_syn_cxx",
18  SYN_CXX="/usr/local"
19)
20
21AC_PROG_CPP
22AC_PROG_CC
23AC_PROG_CXX
24
25SYN_CPP="`PKG_CONFIG_PATH=$SYN_CXX pkg-config --cflags synopsis-uninstalled`"
26SYN_LIBS="`PKG_CONFIG_PATH=$SYN_CXX pkg-config --libs synopsis-uninstalled`"
27AC_SUBST(SYN_CPP)
28AC_SUBST(SYN_LIBS)
29
30AC_PYTHON_EXT
31
32topdir=`$PYTHON -c "from os.path import *; print normpath('$srcdir/../../..')"`
33AC_SUBST(topdir)
34
35AC_CONFIG_FILES([Makefile 
36                 synopsis.py])
37
38mkdir -p occ
39mkdir -p syn
40
41AC_OUTPUT