dnl ## dnl ## OSSP js - JavaScript Engine dnl ## Copyright (c) 2006 Ralf S. Engelschall dnl ## Copyright (c) 2006 The OSSP Project dnl ## dnl ## This file is part of OSSP js, a packaged version of the Mozilla JavaScript dnl ## reference implementation, which can found at http://www.ossp.org/pkg/lib/js/ dnl ## dnl ## Permission to use, copy, modify, and distribute this software for dnl ## any purpose with or without fee is hereby granted, provided that dnl ## the above copyright notice and this permission notice appear in all dnl ## copies. dnl ## dnl ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED dnl ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF dnl ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. dnl ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR dnl ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, dnl ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT dnl ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF dnl ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND dnl ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, dnl ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT dnl ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF dnl ## SUCH DAMAGE. dnl ## dnl ## configure.ac: GNU Autoconf source script dnl ## AC_PREREQ(2.60) AC_INIT V=`./shtool version -ltxt -dlong VERSION` $ac_confdir/shtool echo -e \ "Configuring %BOSSP js%b (JavaScript Engine), version %B${V}%b" AC_PROG_MAKE_SET AC_PROG_CC AC_CHECK_DEBUGGING AC_CHECK_LIB(nsl, gethostname) if test ".`echo $LIBS | grep nsl`" = .; then AC_CHECK_LIB(nsl, gethostbyname) fi AC_CHECK_LIB(socket, accept) AC_CHECK_LIB(m, floor) CPPFLAGS="$CPPFLAGS -DOSSP" with_tags="" sinclude(libtool.m4) AC_PROG_LIBTOOL AC_CONFIG_HEADERS(config.h) AC_CONFIG_FILES([Makefile js.pc]) AC_OUTPUT