# libquantum2005 - A library for emulating a quantum computer. # Copyright (C) 2004 The lambda2005 group. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # The lambda2005 group is composed of the following people: # Loïc Fosse # Bruno Borri # Thomas Claveirole # Valentin David # Giovanni Palma # Vincent Gouzon # David Mancel # Jérôme Pouiller # Marco Tessari # Niels Van Vliet # Clément Vasseur AC_PREREQ([2.54]) AC_INIT([quantum2005], [1], [thomas.claveirole@lrde.epita.fr]) AM_INIT_AUTOMAKE([1.7 foreign]) dnl dnl C++ Stuff. dnl AC_LANG_PUSH([C++]) AC_LANG_COMPILER CXXFLAGS="$CXXFLAGS -I/usr/include/python2.3" AC_CHECK_HEADER([Python.h], [true], [AC_MSG_FAILURE([could not find Python.h.]); exit 1]) AC_PROG_LIBTOOL AC_LANG_POP dnl dnl Python check. dnl AM_PATH_PYTHON([2.3]) dnl dnl Programs checks. dnl AC_ARG_VAR([DOT], [preprocessor for drawing directed graphs]) AC_ARG_VAR([SWIG], [bindings generator from C/C++ to other languages]) AC_ARG_VAR([TEXI2DVI], [program to create DVI from TeX files]) AC_CHECK_PROGS([DOT], [dot], [$am_aux_dir/missing dot]) AC_CHECK_PROGS([SWIG], [swig], [$am_aux_dir/missing swig]) AC_CHECK_PROGS([TEXI2DVI], [texi2dvi], [$am_aux_dir/missing texi2dvi]) dnl dnl Output. dnl AC_CONFIG_FILES([src/qtm_python], [chmod 755 src/qtm_python]) AC_CONFIG_FILES([ Makefile report/Makefile src/Makefile]) AC_OUTPUT