Commit a8e982f5 authored by POGODALLA Sylvain's avatar POGODALLA Sylvain

Signatures are now parsed using dypgen

parent 9aadd19a
......@@ -12,7 +12,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
## M4sh Initialization. ##
## --------------------- ##
# Be Bourne compatible
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
......@@ -21,10 +22,13 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
case `(set -o) 2>/dev/null` in
*posix*) set -o posix ;;
esac
fi
BIN_SH=xpg4; export BIN_SH # for Tru64
DUALCASE=1; export DUALCASE # for MKS sh
# PATH needs CR
......@@ -248,19 +252,28 @@ else
as_mkdir_p=false
fi
# Find out whether ``test -x'' works. Don't use a zero-byte file, as
# systems may use methods other than mode bits to determine executability.
cat >conf$$.file <<_ASEOF
#! /bin/sh
exit 0
_ASEOF
chmod +x conf$$.file
if test -x conf$$.file >/dev/null 2>&1; then
as_executable_p="test -x"
if test -x / >/dev/null 2>&1; then
as_test_x='test -x'
else
as_executable_p=:
if ls -dL / >/dev/null 2>&1; then
as_ls_L_option=L
else
as_ls_L_option=
fi
as_test_x='
eval sh -c '\''
if test -d "$1"; then
test -d "$1/.";
else
case $1 in
-*)set "./$1";;
esac;
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
???[sx]*):;;*)false;;esac;fi
'\'' sh
'
fi
rm -f conf$$.file
as_executable_p=$as_test_x
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
......@@ -276,7 +289,7 @@ exec 6>&1
# values after options handling.
ac_log="
This file was extended by ACG DTK $as_me 0.1, which was
generated by GNU Autoconf 2.59e. Invocation command line was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
......@@ -297,7 +310,7 @@ current configuration.
Usage: $0 [OPTIONS] [FILE]...
-h, --help print this help, then exit
-V, --version print version number, then exit
-V, --version print version number and configuration settings, then exit
-q, --quiet do not print progress messages
-d, --debug don't remove temporary files
--recheck update $as_me by reconfiguring in the same conditions
......@@ -311,7 +324,7 @@ Report bugs to <bug-autoconf@gnu.org>."
ac_cs_version="\
ACG DTK config.status 0.1
configured by ./configure, generated by GNU Autoconf 2.59e,
configured by ./configure, generated by GNU Autoconf 2.61,
with options \"\"
Copyright (C) 2006 Free Software Foundation, Inc.
......@@ -503,7 +516,7 @@ s,@OCAMLP4@,|#_!!_#|camlp4o,g
s,@OCAMLDOC@,|#_!!_#|ocamldoc.opt,g
s,@OCAMLDEP@,|#_!!_#|ocamldep.opt,g
s,@OCAMLLEX@,|#_!!_#|ocamllex.opt,g
s,@OCAMLYACC@,|#_!!_#|ocamlyacc,g
s,@DYPGEN@,|#_!!_#|dypgen,g
s,@TYPES@,|#_!!_#|-dtypes,g
s,@OCAML09WARNINGS@,|#_!!_#|-w yz,g
s,@OCAMLP4_LOC@,|#_!!_#|-loc loc,g
......@@ -733,6 +746,7 @@ $ac_datarootdir_hack
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined." >&5
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
......
......@@ -49,9 +49,14 @@ if test "$OCAMLLEX" = no ; then
AC_MSG_ERROR(Cannot find ocamllex)
fi
AC_CHECK_PROG(OCAMLYACC,ocamlyacc,ocamlyacc,no)
if test "$OCAMLYACC" = no ; then
AC_MSG_ERROR(Cannot find ocamlyacc)
#AC_CHECK_PROG(OCAMLYACC,ocamlyacc,ocamlyacc,no)
#if test "$OCAMLYACC" = no ; then
# AC_MSG_ERROR(Cannot find ocamlyacc)
#fi
AC_CHECK_PROG(DYPGEN,dypgen.opt,dypgen,no)
if test "$DYPGEN" = no ; then
AC_MSG_ERROR(Cannot find dypgen)
fi
# What is the OCAML version ?
......@@ -103,7 +108,8 @@ AC_SUBST(OCAMLDOC)
AC_SUBST(OCAMLDEP)
AC_SUBST(OCAMLLEX)
AC_SUBST(OCAMLYACC)
#AC_SUBST(OCAMLYACC)
AC_SUBST(DYPGEN)
AC_SUBST(TYPES)
AC_SUBST(OCAML09WARNINGS)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment