Synopsis - Cross-Reference
File: /sandbox/configure.ac1dnl 2dnl Copyright (C) 2005 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(sandbox, 1.0, 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 31CPPFLAGS="$CPPFLAGS -I $PYTHON_INCLUDE" 32 33AC_LANG(C++) 34AC_BOOST([1.33]) 35SYN_BOOST_LIB_FILESYSTEM 36SYN_BOOST_LIB_PYTHON 37 38dnl find all template files and strip off the $srcdir and .in suffix 39templates=`find $srcdir -name '*.in' -print | sed -e "s,^$srcdir/,,g" -e "s,\.in$,,g"` 40 41AC_CONFIG_FILES([$templates]) 42 43AC_OUTPUT