[Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C++ Makefile.in,NONE,1.1 configure.ac,NONE,1.1

Stefan Seefeld stefan at frida.spi-inc.org
Wed Sep 17 19:55:04 UTC 2003


Update of /cvs/synopsis/Synopsis/Synopsis/Parser/C++
In directory frida:/tmp/cvs-serv11210/Synopsis/Parser/C++

Added Files:
	Makefile.in configure.ac 
Log Message:
work on a distutils based build system.

--- NEW FILE: Makefile.in ---
# $Id: Makefile.in,v 1.1 2003/09/18 02:54:14 stefan Exp $
#
# This source file is a part of the Synopsis Project
# Copyright (C) 2003 Stefan Seefeld
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library 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
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.

SHELL	= /bin/sh

dummy:
--- NEW FILE: configure.ac ---
dnl $Id: configure.ac,v 1.1 2003/09/18 02:54:14 stefan Exp $
dnl
dnl This source file is a part of the Synopsis Project.
dnl Copyright (C) 2003 Stefan Seefeld <stefan at fresco.org> 
dnl http://synopsis.fresco.org
dnl
dnl This library is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.
dnl
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
dnl Library General Public License for more details.
dnl
dnl You should have received a copy of the GNU Library General Public
dnl License along with this library; if not, write to the
dnl Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
dnl MA 02139, USA.
dnl
dnl Process this file with autoconf to produce a configure script.

dnl ------------------------------------------------------------------
dnl Autoconf initialization
dnl ------------------------------------------------------------------
AC_PREREQ(2.56)
AC_REVISION($Revision: 1.1 $)
AC_INIT(occ, 1.0, synopsis-devel at fresco.org)

AC_ARG_WITH(python, 
  [  --with-python=PATH      specify the Python interpreter],
  PYTHON="$with_python",
  PYTHON=""
)

AC_PROG_CPP
AC_PROG_CC
AC_PROG_CXX

if test -n "$PYTHON" -a "$PYTHON" != yes; then
  AC_CHECK_FILE($PYTHON,,AC_MSG_ERROR([Cannot find Python interpreter]))
else
  AC_PATH_PROG(PYTHON, python2 python, python)
fi
PYTHON_INCLUDE=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_inc()"`

AC_SUBST(PYTHON)
AC_SUBST(PYTHON_INCLUDE)

AC_CONFIG_FILES([Makefile])

#temporary hack until the file layout can be reworked a bit...
mkdir -p ../occ
mkdir -p ../ucpp

AC_OUTPUT





More information about the Synopsis-changes mailing list