Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3

This commit is contained in:
Vítor Santos Costa 2014-02-12 23:38:58 +00:00
commit 0420169bd0
5 changed files with 121 additions and 23 deletions

View File

@ -143,7 +143,7 @@ IOLIB_HEADERS=$(srcdir)/os/pl-buffer.h \
$(srcdir)/os/pl-table.h \ $(srcdir)/os/pl-table.h \
$(srcdir)/os/pl-text.h \ $(srcdir)/os/pl-text.h \
$(srcdir)/os/pl-utf8.h \ $(srcdir)/os/pl-utf8.h \
$(srcdir)/H/pl-yap.h @ENABLE_WINCONSOLE@ $(srcdir)/os/windows/dirent.h $(srcdir)/os/windows/utf8.h $(srcdir)/os/windows/utf8.c $(srcdir)/os/windows/uxnt.h $(srcdir)/os/windows/popen.c $(srcdir)/H/pl-yap.h @WINDOWS@ $(srcdir)/os/windows/dirent.h $(srcdir)/os/windows/utf8.h $(srcdir)/os/windows/utf8.c $(srcdir)/os/windows/uxnt.h $(srcdir)/os/windows/popen.c
HEADERS = \ HEADERS = \
$(srcdir)/H/Atoms.h \ $(srcdir)/H/Atoms.h \

125
configure vendored
View File

@ -653,7 +653,7 @@ LTLIBOBJS
LIBOBJS LIBOBJS
RAPTOR_CPPFLAGS RAPTOR_CPPFLAGS
RAPTOR_LDFLAGS RAPTOR_LDFLAGS
ENABLE_RAPTOR PKG_RAPTOR
LTX_PL LTX_PL
_ACJNI_JAVAC _ACJNI_JAVAC
JAVADOC JAVADOC
@ -755,6 +755,7 @@ INSTALL_ENV
PKG_PRISM PKG_PRISM
EGREP EGREP
GREP GREP
INDENT
INSTALL_INFO INSTALL_INFO
AR AR
RANLIB RANLIB
@ -5030,6 +5031,97 @@ $as_echo "no" >&6; }
fi fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}indent", so it can be a program name with args.
set dummy ${ac_tool_prefix}indent; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_INDENT+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$INDENT"; then
ac_cv_prog_INDENT="$INDENT" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_INDENT="${ac_tool_prefix}indent"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
INDENT=$ac_cv_prog_INDENT
if test -n "$INDENT"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INDENT" >&5
$as_echo "$INDENT" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
fi
if test -z "$ac_cv_prog_INDENT"; then
ac_ct_INDENT=$INDENT
# Extract the first word of "indent", so it can be a program name with args.
set dummy indent; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_INDENT+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_INDENT"; then
ac_cv_prog_ac_ct_INDENT="$ac_ct_INDENT" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_INDENT="indent"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_INDENT=$ac_cv_prog_ac_ct_INDENT
if test -n "$ac_ct_INDENT"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_INDENT" >&5
$as_echo "$ac_ct_INDENT" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_ct_INDENT" = x; then
INDENT=":"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
INDENT=$ac_ct_INDENT
fi
else
INDENT="$ac_cv_prog_INDENT"
fi
i_am_cross_compiling=$cross_compiling i_am_cross_compiling=$cross_compiling
@ -6461,9 +6553,9 @@ else
fi fi
if test -e "$srcdir"/packages/raptor/Makefile.in; then if test -e "$srcdir"/packages/raptor/Makefile.in; then
ENABLE_RAPTOR="" ENABLE_RAPTOR="packages/raptor"
else else
ENABLE_RAPTOR="@# " ENABLE_RAPTOR=""
fi fi
if test -e "$srcdir"/packages/RDF/Makefile.in; then if test -e "$srcdir"/packages/RDF/Makefile.in; then
@ -8056,6 +8148,7 @@ CMDEXT=sh
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc threaded code" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc threaded code" >&5
@ -9788,9 +9881,9 @@ esac
export CC LD CFLAGS LDFLAGS; export CC LD CFLAGS LDFLAGS;
mkdir -p packages/clib/maildrop/rfc822; mkdir -p packages/clib/maildrop/rfc822;
mkdir -p packages/clib/maildrop/rfc2045; mkdir -p packages/clib/maildrop/rfc2045;
( cd packages/clib/maildrop/rfc822 && $CONFIG_SHELL ../../../../"$srcdir"/packages/clib/maildrop/rfc822/configure --host=$host) MIME_DIR=`dirname "$srcdir"/packages/clib/maildrop`
( cd packages/clib/maildrop/rfc2045 && $CONFIG_SHELL ../../../../"$srcdir"/packages/clib/maildrop/rfc2045/configure --host=$host) ( cd packages/clib/maildrop/rfc822 && $CONFIG_SHELL "$MIME_DIR"/maildrop/rfc822/configure --host=$host)
) ( cd packages/clib/maildrop/rfc2045 && $CONFIG_SHELL "$MIME_DIR"/maildrop/rfc2045/configure --host=$host))
@ -11659,7 +11752,7 @@ else
JAVA_TEST=Test.java JAVA_TEST=Test.java
CLASS_TEST=Test.class CLASS_TEST=Test.class
cat << \EOF > $JAVA_TEST cat << \EOF > $JAVA_TEST
/* #line 11662 "configure" */ /* #line 11755 "configure" */
public class Test { public class Test {
} }
EOF EOF
@ -11835,7 +11928,7 @@ EOF
if uudecode$EXEEXT Test.uue; then if uudecode$EXEEXT Test.uue; then
ac_cv_prog_uudecode_base64=yes ac_cv_prog_uudecode_base64=yes
else else
echo "configure: 11838: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 echo "configure: 11931: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
echo "configure: failed file was:" >&5 echo "configure: failed file was:" >&5
cat Test.uue >&5 cat Test.uue >&5
ac_cv_prog_uudecode_base64=no ac_cv_prog_uudecode_base64=no
@ -11966,7 +12059,7 @@ else
JAVA_TEST=Test.java JAVA_TEST=Test.java
CLASS_TEST=Test.class CLASS_TEST=Test.class
cat << \EOF > $JAVA_TEST cat << \EOF > $JAVA_TEST
/* #line 11969 "configure" */ /* #line 12062 "configure" */
public class Test { public class Test {
} }
EOF EOF
@ -12001,7 +12094,7 @@ JAVA_TEST=Test.java
CLASS_TEST=Test.class CLASS_TEST=Test.class
TEST=Test TEST=Test
cat << \EOF > $JAVA_TEST cat << \EOF > $JAVA_TEST
/* [#]line 12004 "configure" */ /* [#]line 12097 "configure" */
public class Test { public class Test {
public static void main (String args[]) { public static void main (String args[]) {
System.exit (0); System.exit (0);
@ -12688,7 +12781,7 @@ else
fi fi
if test -e "$srcdir"/packages/raptor/Makefile.in; then if test -e "$srcdir"/packages/raptor/Makefile.in; then
ENABLE_RAPTOR="" PKG_RAPTOR="packages/raptor"
@ -12705,9 +12798,9 @@ fi
if test "$yap_cv_raptor" = no if test "$yap_cv_raptor" = no
then then
ENABLE_RAPTOR="@# " PKG_RAPTOR=""
else else
ENABLE_RAPTOR="" PKG_RAPTOR="packages/raptor"
fi fi
if test "$yap_cv_raptor" != no; then if test "$yap_cv_raptor" != no; then
@ -12815,7 +12908,7 @@ RAPTOR_LDFLAGS="$LIBS"
if test "$raptor_available" = no if test "$raptor_available" = no
then then
ENABLE_RAPTOR="@# " PKG_RAPTOR=""
cat << EOF cat << EOF
################################################################## ##################################################################
# ERROR: Could not find raptor library. Either I don't have the # ERROR: Could not find raptor library. Either I don't have the
@ -12823,7 +12916,7 @@ then
################################################################## ##################################################################
EOF EOF
else else
ENABLE_RAPTOR="" PKG_RAPTOR="packages/raptor"
fi fi
@ -14142,7 +14235,7 @@ fi
else else
ENABLE_RAPTOR="@# " PKG_RAPTOR=""
fi fi

View File

@ -469,7 +469,7 @@ AC_PROG_RANLIB
AC_CHECK_TOOL(AR,ar,:) AC_CHECK_TOOL(AR,ar,:)
AC_PATH_PROG(INSTALL_INFO,install-info,true,$PATH:/sbin:/usr/sbin:/usr/etc:/usr/local/sbin) AC_PATH_PROG(INSTALL_INFO,install-info,true,$PATH:/sbin:/usr/sbin:/usr/etc:/usr/local/sbin)
AC_PATH_PROG(SHELL,sh) AC_PATH_PROG(SHELL,sh)
AC_CHECK_TOOL([INDENT], [indent], [:])
dnl Check for libraries. dnl Check for libraries.
dnl mingw does not get along well with libm dnl mingw does not get along well with libm
@ -686,9 +686,9 @@ else
fi fi
if test -e "$srcdir"/packages/raptor/Makefile.in; then if test -e "$srcdir"/packages/raptor/Makefile.in; then
ENABLE_RAPTOR="" ENABLE_RAPTOR="packages/raptor"
else else
ENABLE_RAPTOR="@# " ENABLE_RAPTOR=""
fi fi
if test -e "$srcdir"/packages/RDF/Makefile.in; then if test -e "$srcdir"/packages/RDF/Makefile.in; then
@ -1289,6 +1289,7 @@ AC_SUBST(STATIC_MODE)
AC_SUBST(PKG_WINCONSOLE) AC_SUBST(PKG_WINCONSOLE)
AC_SUBST(WINDOWS) AC_SUBST(WINDOWS)
AC_SUBST(EXTRA_INCLUDES_FOR_WIN32) AC_SUBST(EXTRA_INCLUDES_FOR_WIN32)
AC_SUBST(INDENT)
AC_SUBST(PKG_MINISAT) AC_SUBST(PKG_MINISAT)
AC_SUBST(PKG_REAL) AC_SUBST(PKG_REAL)
@ -1801,11 +1802,11 @@ else
fi fi
if test -e "$srcdir"/packages/raptor/Makefile.in; then if test -e "$srcdir"/packages/raptor/Makefile.in; then
ENABLE_RAPTOR="" PKG_RAPTOR="packages/raptor"
m4_include([packages/raptor/configure.in]) m4_include([packages/raptor/configure.in])
else else
ENABLE_RAPTOR="@# " PKG_RAPTOR=""
fi fi
m4_include([library/matlab/configure.in]) m4_include([library/matlab/configure.in])

View File

@ -85,6 +85,8 @@ install: all install_myddas
mkdir -p $(DESTDIR)$(SHAREDIR) mkdir -p $(DESTDIR)$(SHAREDIR)
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR) $(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR)
install-examples:
install_myddas: install_myddas:
count=`echo "$(YAP_EXTRAS)" | grep MYDDAS | wc -l`; \ count=`echo "$(YAP_EXTRAS)" | grep MYDDAS | wc -l`; \
if [ $$count -ne 0 ]; then \ if [ $$count -ne 0 ]; then \
@ -98,3 +100,5 @@ install_myddas:
clean: clean:
rm -f *.o *~ $(OBJS) $(SOBJS) *.BAK rm -f *.o *~ $(OBJS) $(SOBJS) *.BAK
distclean: clean
rm -f Makefile

@ -1 +1 @@
Subproject commit 0f77a1e1b90b36bddb1844712380f4f3858123b7 Subproject commit d5c70de04a6fce6be71a9086d0164dd0b0c9d9d4