Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2013 23:13:03 GMT
From:      Alan Somers <asomers@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177639: New port: devel/lutok Lightweight C++ API for Lua
Message-ID:  <201304042313.r34ND3a0058712@red.freebsd.org>
Resent-Message-ID: <201304042320.r34NK1g4097252@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177639
>Category:       ports
>Synopsis:       New port: devel/lutok Lightweight C++ API for Lua
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 04 23:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alan Somers
>Release:        10.0-CURRENT
>Organization:
Spectra Logic
>Environment:
FreeBSD alans-fbsd10 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Mar 30 20:25:42 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

Also tested on FreeBSD 9.1 amd64 and FreeBSD 9.1 i386
>Description:
Lutok is a C++ API for Lua that is mainly used by Kyua, a testing framework and successor to ATF.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	lutok
#	lutok/pkg-plist
#	lutok/distinfo
#	lutok/Makefile
#	lutok/files
#	lutok/files/patch-configure
#	lutok/files/patch-m4-lua.m4
#	lutok/pkg-descr
#
echo c - lutok
mkdir -p lutok > /dev/null 2>&1
echo x - lutok/pkg-plist
sed 's/^X//' >lutok/pkg-plist << '2f0ffb5684c4cc636d7f85a07e39ac7a'
Xinclude/lutok/c_gate.hpp
Xinclude/lutok/debug.hpp
Xinclude/lutok/exceptions.hpp
Xinclude/lutok/operations.hpp
Xinclude/lutok/stack_cleaner.hpp
Xinclude/lutok/state.hpp
Xinclude/lutok/state.ipp
Xinclude/lutok/test_utils.hpp
Xlib/liblutok.a
Xlib/liblutok.la
Xlib/liblutok.so
Xlib/liblutok.so.1
Xlibdata/pkgconfig/lutok.pc
Xshare/doc/lutok/AUTHORS
Xshare/doc/lutok/COPYING
Xshare/doc/lutok/NEWS
Xshare/doc/lutok/README
Xshare/doc/lutok/html/a00001.html
Xshare/doc/lutok/html/a00002.html
Xshare/doc/lutok/html/a00002.png
Xshare/doc/lutok/html/a00003.html
Xshare/doc/lutok/html/a00004.html
Xshare/doc/lutok/html/a00005.html
Xshare/doc/lutok/html/a00005.png
Xshare/doc/lutok/html/a00006.html
Xshare/doc/lutok/html/a00006.png
Xshare/doc/lutok/html/a00007.html
Xshare/doc/lutok/html/a00008.html
Xshare/doc/lutok/html/a00009.html
Xshare/doc/lutok/html/a00010.html
Xshare/doc/lutok/html/a00011.html
Xshare/doc/lutok/html/a00013.html
Xshare/doc/lutok/html/a00013_source.html
Xshare/doc/lutok/html/a00016.html
Xshare/doc/lutok/html/a00016_source.html
Xshare/doc/lutok/html/a00019.html
Xshare/doc/lutok/html/a00019_source.html
Xshare/doc/lutok/html/a00022.html
Xshare/doc/lutok/html/a00022_source.html
Xshare/doc/lutok/html/a00025.html
Xshare/doc/lutok/html/a00025_source.html
Xshare/doc/lutok/html/a00028.html
Xshare/doc/lutok/html/a00028_source.html
Xshare/doc/lutok/html/a00031.html
Xshare/doc/lutok/html/a00031_source.html
Xshare/doc/lutok/html/a00032.html
Xshare/doc/lutok/html/a00033.html
Xshare/doc/lutok/html/a00034.html
Xshare/doc/lutok/html/a00035.html
Xshare/doc/lutok/html/a00039.html
Xshare/doc/lutok/html/a00040.html
Xshare/doc/lutok/html/a00041.html
Xshare/doc/lutok/html/a00042.html
Xshare/doc/lutok/html/a00043.html
Xshare/doc/lutok/html/a00044.html
Xshare/doc/lutok/html/a00045.html
Xshare/doc/lutok/html/a00046.html
Xshare/doc/lutok/html/a00047.html
Xshare/doc/lutok/html/a00048.html
Xshare/doc/lutok/html/a00049.html
Xshare/doc/lutok/html/annotated.html
Xshare/doc/lutok/html/bc_s.png
Xshare/doc/lutok/html/bdwn.png
Xshare/doc/lutok/html/classes.html
Xshare/doc/lutok/html/closed.png
Xshare/doc/lutok/html/doxygen.css
Xshare/doc/lutok/html/doxygen.png
Xshare/doc/lutok/html/files.html
Xshare/doc/lutok/html/functions.html
Xshare/doc/lutok/html/functions_func.html
Xshare/doc/lutok/html/functions_vars.html
Xshare/doc/lutok/html/globals.html
Xshare/doc/lutok/html/globals_defs.html
Xshare/doc/lutok/html/hierarchy.html
Xshare/doc/lutok/html/index.html
Xshare/doc/lutok/html/jquery.js
Xshare/doc/lutok/html/namespacemembers.html
Xshare/doc/lutok/html/namespacemembers_func.html
Xshare/doc/lutok/html/namespaces.html
Xshare/doc/lutok/html/nav_f.png
Xshare/doc/lutok/html/nav_h.png
Xshare/doc/lutok/html/open.png
Xshare/doc/lutok/html/search/all_5f.html
Xshare/doc/lutok/html/search/all_5f.js
Xshare/doc/lutok/html/search/all_61.html
Xshare/doc/lutok/html/search/all_61.js
Xshare/doc/lutok/html/search/all_63.html
Xshare/doc/lutok/html/search/all_63.js
Xshare/doc/lutok/html/search/all_64.html
Xshare/doc/lutok/html/search/all_64.js
Xshare/doc/lutok/html/search/all_65.html
Xshare/doc/lutok/html/search/all_65.js
Xshare/doc/lutok/html/search/all_66.html
Xshare/doc/lutok/html/search/all_66.js
Xshare/doc/lutok/html/search/all_67.html
Xshare/doc/lutok/html/search/all_67.js
Xshare/doc/lutok/html/search/all_68.html
Xshare/doc/lutok/html/search/all_68.js
Xshare/doc/lutok/html/search/all_69.html
Xshare/doc/lutok/html/search/all_69.js
Xshare/doc/lutok/html/search/all_6c.html
Xshare/doc/lutok/html/search/all_6c.js
Xshare/doc/lutok/html/search/all_6e.html
Xshare/doc/lutok/html/search/all_6e.js
Xshare/doc/lutok/html/search/all_6f.html
Xshare/doc/lutok/html/search/all_6f.js
Xshare/doc/lutok/html/search/all_70.html
Xshare/doc/lutok/html/search/all_70.js
Xshare/doc/lutok/html/search/all_72.html
Xshare/doc/lutok/html/search/all_72.js
Xshare/doc/lutok/html/search/all_73.html
Xshare/doc/lutok/html/search/all_73.js
Xshare/doc/lutok/html/search/all_74.html
Xshare/doc/lutok/html/search/all_74.js
Xshare/doc/lutok/html/search/all_75.html
Xshare/doc/lutok/html/search/all_75.js
Xshare/doc/lutok/html/search/all_77.html
Xshare/doc/lutok/html/search/all_77.js
Xshare/doc/lutok/html/search/all_7e.html
Xshare/doc/lutok/html/search/all_7e.js
Xshare/doc/lutok/html/search/classes_61.html
Xshare/doc/lutok/html/search/classes_61.js
Xshare/doc/lutok/html/search/classes_64.html
Xshare/doc/lutok/html/search/classes_64.js
Xshare/doc/lutok/html/search/classes_65.html
Xshare/doc/lutok/html/search/classes_65.js
Xshare/doc/lutok/html/search/classes_66.html
Xshare/doc/lutok/html/search/classes_66.js
Xshare/doc/lutok/html/search/classes_69.html
Xshare/doc/lutok/html/search/classes_69.js
Xshare/doc/lutok/html/search/classes_73.html
Xshare/doc/lutok/html/search/classes_73.js
Xshare/doc/lutok/html/search/close.png
Xshare/doc/lutok/html/search/defines_72.html
Xshare/doc/lutok/html/search/defines_72.js
Xshare/doc/lutok/html/search/files_63.html
Xshare/doc/lutok/html/search/files_63.js
Xshare/doc/lutok/html/search/files_64.html
Xshare/doc/lutok/html/search/files_64.js
Xshare/doc/lutok/html/search/files_65.html
Xshare/doc/lutok/html/search/files_65.js
Xshare/doc/lutok/html/search/files_6f.html
Xshare/doc/lutok/html/search/files_6f.js
Xshare/doc/lutok/html/search/files_73.html
Xshare/doc/lutok/html/search/files_73.js
Xshare/doc/lutok/html/search/files_74.html
Xshare/doc/lutok/html/search/files_74.js
Xshare/doc/lutok/html/search/functions_61.html
Xshare/doc/lutok/html/search/functions_61.js
Xshare/doc/lutok/html/search/functions_63.html
Xshare/doc/lutok/html/search/functions_63.js
Xshare/doc/lutok/html/search/functions_64.html
Xshare/doc/lutok/html/search/functions_64.js
Xshare/doc/lutok/html/search/functions_65.html
Xshare/doc/lutok/html/search/functions_65.js
Xshare/doc/lutok/html/search/functions_66.html
Xshare/doc/lutok/html/search/functions_66.js
Xshare/doc/lutok/html/search/functions_67.html
Xshare/doc/lutok/html/search/functions_67.js
Xshare/doc/lutok/html/search/functions_68.html
Xshare/doc/lutok/html/search/functions_68.js
Xshare/doc/lutok/html/search/functions_69.html
Xshare/doc/lutok/html/search/functions_69.js
Xshare/doc/lutok/html/search/functions_6c.html
Xshare/doc/lutok/html/search/functions_6c.js
Xshare/doc/lutok/html/search/functions_6e.html
Xshare/doc/lutok/html/search/functions_6e.js
Xshare/doc/lutok/html/search/functions_6f.html
Xshare/doc/lutok/html/search/functions_6f.js
Xshare/doc/lutok/html/search/functions_70.html
Xshare/doc/lutok/html/search/functions_70.js
Xshare/doc/lutok/html/search/functions_72.html
Xshare/doc/lutok/html/search/functions_72.js
Xshare/doc/lutok/html/search/functions_73.html
Xshare/doc/lutok/html/search/functions_73.js
Xshare/doc/lutok/html/search/functions_74.html
Xshare/doc/lutok/html/search/functions_74.js
Xshare/doc/lutok/html/search/functions_75.html
Xshare/doc/lutok/html/search/functions_75.js
Xshare/doc/lutok/html/search/functions_77.html
Xshare/doc/lutok/html/search/functions_77.js
Xshare/doc/lutok/html/search/functions_7e.html
Xshare/doc/lutok/html/search/functions_7e.js
Xshare/doc/lutok/html/search/mag_sel.png
Xshare/doc/lutok/html/search/namespaces_61.html
Xshare/doc/lutok/html/search/namespaces_61.js
Xshare/doc/lutok/html/search/nomatches.html
Xshare/doc/lutok/html/search/search.css
Xshare/doc/lutok/html/search/search.js
Xshare/doc/lutok/html/search/search_l.png
Xshare/doc/lutok/html/search/search_m.png
Xshare/doc/lutok/html/search/search_r.png
Xshare/doc/lutok/html/search/variables_5f.html
Xshare/doc/lutok/html/search/variables_5f.js
Xshare/doc/lutok/html/search/variables_6c.html
Xshare/doc/lutok/html/search/variables_6c.js
Xshare/doc/lutok/html/search/variables_6f.html
Xshare/doc/lutok/html/search/variables_6f.js
Xshare/doc/lutok/html/search/variables_73.html
Xshare/doc/lutok/html/search/variables_73.js
Xshare/doc/lutok/html/tab_a.png
Xshare/doc/lutok/html/tab_b.png
Xshare/doc/lutok/html/tab_h.png
Xshare/doc/lutok/html/tab_s.png
Xshare/doc/lutok/html/tabs.css
Xshare/examples/lutok/Makefile
Xshare/examples/lutok/bindings.cpp
Xshare/examples/lutok/hello.cpp
Xshare/examples/lutok/interpreter.cpp
Xshare/examples/lutok/raii.cpp
X@exec mkdir -p %D/tests/lutok
X@dirrm tests/lutok
X@dirrmtry tests
X@dirrm share/examples/lutok
X@dirrm share/doc/lutok/html/search
X@dirrm share/doc/lutok/html
X@dirrm share/doc/lutok
X@dirrm include/lutok
2f0ffb5684c4cc636d7f85a07e39ac7a
echo x - lutok/distinfo
sed 's/^X//' >lutok/distinfo << '1577d644039f74b091ea42f294cbdfcf'
XSHA256 (lutok-0.2.tar.gz) = df6f175fdd417ff830ec46509816a40b92fec816de726e815b4ae4f7fea405bd
XSIZE (lutok-0.2.tar.gz) = 492333
1577d644039f74b091ea42f294cbdfcf
echo x - lutok/Makefile
sed 's/^X//' >lutok/Makefile << 'e0a26399fb96546a94b298ba7483b82d'
X# New ports collection makefile for:	lutok
X# Date created:				25 Mar 2012
X# Whom:					Alan Somers <asomers@freebsd.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lutok
XPORTVERSION=	0.2
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
X
XMAINTAINER=	asomers@freebsd.org
XCOMMENT=	Lightweight C++ API for Lua
X
XLICENSE=	BSD
X
XGNU_CONFIGURE=	yes
XUSE_LUA=	5.1
XUSE_PKGCONFIG= yes
X
XCONFIGURE_ARGS+=	--docdir=${PREFIX}/share/doc/lutok
XCONFIGURE_ARGS+=	--htmldir=${PREFIX}/share/doc/lutok/html
XCONFIGURE_ARGS+=	--without-doxygen
X
XMAKE_FLAGS+=	examplesdir=${PREFIX}/share/examples/lutok
X
X# TODO: install the tests, once FreeBSD has a system for ports to install tests
XCONFIGURE_ARGS+=	--without-atf
XPLIST_SUBST+=	TESTS="@comment "
X
Xpost-patch: .SILENT
X	@${REINPLACE_CMD} -e 's|@pkgconfigdir@|${PREFIX}/libdata/pkgconfig|' \
X		${WRKSRC}/Makefile.in
X
X.include <bsd.port.mk>
e0a26399fb96546a94b298ba7483b82d
echo c - lutok/files
mkdir -p lutok/files > /dev/null 2>&1
echo x - lutok/files/patch-configure
sed 's/^X//' >lutok/files/patch-configure << '3467ff4a921ac8ad83f0d3fbbdf5525b'
X--- configure.old	2012-05-30 16:35:18.000000000 -0600
X+++ configure	2013-04-02 17:30:03.558130055 -0600
X@@ -1,13 +1,11 @@
X #! /bin/sh
X # Guess values for system-dependent variables and create Makefiles.
X-# Generated by GNU Autoconf 2.68 for Lutok 0.2.
X+# Generated by GNU Autoconf 2.69 for Lutok 0.2.
X #
X # Report bugs to <lutok-discuss@googlegroups.com>.
X #
X #
X-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
X-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
X-# Foundation, Inc.
X+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
X #
X #
X # This configure script is free software; the Free Software Foundation
X@@ -138,6 +136,31 @@
X # CDPATH.
X (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
X 
X+# Use a proper internal environment variable to ensure we don't fall
X+  # into an infinite loop, continuously re-executing ourselves.
X+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
X+    _as_can_reexec=no; export _as_can_reexec;
X+    # We cannot yet assume a decent shell, so we have to provide a
X+# neutralization value for shells without unset; and this also
X+# works around shells that cannot unset nonexistent variables.
X+# Preserve -v and -x to the replacement shell.
X+BASH_ENV=/dev/null
X+ENV=/dev/null
X+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
X+case $- in # ((((
X+  *v*x* | *x*v* ) as_opts=-vx ;;
X+  *v* ) as_opts=-v ;;
X+  *x* ) as_opts=-x ;;
X+  * ) as_opts= ;;
X+esac
X+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
X+# Admittedly, this is quite paranoid, since all the known shells bail
X+# out after a failed `exec'.
X+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
X+as_fn_exit 255
X+  fi
X+  # We don't want this to propagate to other subprocesses.
X+          { _as_can_reexec=; unset _as_can_reexec;}
X if test "x$CONFIG_SHELL" = x; then
X   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
X   emulate sh
X@@ -171,7 +194,8 @@
X else
X   exitcode=1; echo positional parameters were not saved.
X fi
X-test x\$exitcode = x0 || exit 1"
X+test x\$exitcode = x0 || exit 1
X+test -x / || exit 1"
X   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
X   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
X   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
X@@ -224,21 +248,25 @@
X 
X 
X       if test "x$CONFIG_SHELL" != x; then :
X-  # We cannot yet assume a decent shell, so we have to provide a
X-	# neutralization value for shells without unset; and this also
X-	# works around shells that cannot unset nonexistent variables.
X-	# Preserve -v and -x to the replacement shell.
X-	BASH_ENV=/dev/null
X-	ENV=/dev/null
X-	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
X-	export CONFIG_SHELL
X-	case $- in # ((((
X-	  *v*x* | *x*v* ) as_opts=-vx ;;
X-	  *v* ) as_opts=-v ;;
X-	  *x* ) as_opts=-x ;;
X-	  * ) as_opts= ;;
X-	esac
X-	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
X+  export CONFIG_SHELL
X+             # We cannot yet assume a decent shell, so we have to provide a
X+# neutralization value for shells without unset; and this also
X+# works around shells that cannot unset nonexistent variables.
X+# Preserve -v and -x to the replacement shell.
X+BASH_ENV=/dev/null
X+ENV=/dev/null
X+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
X+case $- in # ((((
X+  *v*x* | *x*v* ) as_opts=-vx ;;
X+  *v* ) as_opts=-v ;;
X+  *x* ) as_opts=-x ;;
X+  * ) as_opts= ;;
X+esac
X+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
X+# Admittedly, this is quite paranoid, since all the known shells bail
X+# out after a failed `exec'.
X+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
X+exit 255
X fi
X 
X     if test x$as_have_required = xno; then :
X@@ -341,6 +369,14 @@
X 
X 
X } # as_fn_mkdir_p
X+
X+# as_fn_executable_p FILE
X+# -----------------------
X+# Test if FILE is an executable regular file.
X+as_fn_executable_p ()
X+{
X+  test -f "$1" && test -x "$1"
X+} # as_fn_executable_p
X # as_fn_append VAR VALUE
X # ----------------------
X # Append the text in VALUE to the end of the definition contained in VAR. Take
X@@ -462,6 +498,10 @@
X   chmod +x "$as_me.lineno" ||
X     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
X 
X+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
X+  # already done that, so ensure we don't try to do so again and fall
X+  # in an infinite loop.  This has already happened in practice.
X+  _as_can_reexec=no; export _as_can_reexec
X   # Don't try to exec as it changes $[0], causing all sort of problems
X   # (the dirname of $[0] is not the place where we might find the
X   # original and so on.  Autoconf is especially sensitive to this).
X@@ -496,16 +536,16 @@
X     # ... but there are two gotchas:
X     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
X     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
X-    # In both cases, we have to default to `cp -p'.
X+    # In both cases, we have to default to `cp -pR'.
X     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
X-      as_ln_s='cp -p'
X+      as_ln_s='cp -pR'
X   elif ln conf$$.file conf$$ 2>/dev/null; then
X     as_ln_s=ln
X   else
X-    as_ln_s='cp -p'
X+    as_ln_s='cp -pR'
X   fi
X else
X-  as_ln_s='cp -p'
X+  as_ln_s='cp -pR'
X fi
X rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
X rmdir conf$$.dir 2>/dev/null
X@@ -517,28 +557,8 @@
X   as_mkdir_p=false
X fi
X 
X-if test -x / >/dev/null 2>&1; then
X-  as_test_x='test -x'
X-else
X-  if ls -dL / >/dev/null 2>&1; then
X-    as_ls_L_option=L
X-  else
X-    as_ls_L_option=
X-  fi
X-  as_test_x='
X-    eval sh -c '\''
X-      if test -d "$1"; then
X-	test -d "$1/.";
X-      else
X-	case $1 in #(
X-	-*)set "./$1";;
X-	esac;
X-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
X-	???[sx]*):;;*)false;;esac;fi
X-    '\'' sh
X-  '
X-fi
X-as_executable_p=$as_test_x
X+as_test_x='test -x'
X+as_executable_p=as_fn_executable_p
X 
X # Sed expression to map a string onto a valid CPP name.
X as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
X@@ -1248,8 +1268,6 @@
X if test "x$host_alias" != x; then
X   if test "x$build_alias" = x; then
X     cross_compiling=maybe
X-    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
X-    If a cross compiler is detected then cross compile mode will be used" >&2
X   elif test "x$build_alias" != "x$host_alias"; then
X     cross_compiling=yes
X   fi
X@@ -1526,9 +1544,9 @@
X if $ac_init_version; then
X   cat <<\_ACEOF
X Lutok configure 0.2
X-generated by GNU Autoconf 2.68
X+generated by GNU Autoconf 2.69
X 
X-Copyright (C) 2010 Free Software Foundation, Inc.
X+Copyright (C) 2012 Free Software Foundation, Inc.
X This configure script is free software; the Free Software Foundation
X gives unlimited permission to copy, distribute and modify it.
X 
X@@ -1606,7 +1624,7 @@
X 	 test ! -s conftest.err
X        } && test -s conftest$ac_exeext && {
X 	 test "$cross_compiling" = yes ||
X-	 $as_test_x conftest$ac_exeext
X+	 test -x conftest$ac_exeext
X        }; then :
X   ac_retval=0
X else
X@@ -1904,7 +1922,7 @@
X 	 test ! -s conftest.err
X        } && test -s conftest$ac_exeext && {
X 	 test "$cross_compiling" = yes ||
X-	 $as_test_x conftest$ac_exeext
X+	 test -x conftest$ac_exeext
X        }; then :
X   ac_retval=0
X else
X@@ -1927,7 +1945,7 @@
X running configure, to aid debugging if configure makes a mistake.
X 
X It was created by Lutok $as_me 0.2, which was
X-generated by GNU Autoconf 2.68.  Invocation command line was
X+generated by GNU Autoconf 2.69.  Invocation command line was
X 
X   $ $0 $@
X 
X@@ -2354,7 +2372,7 @@
X     # by default.
X     for ac_prog in ginstall scoinst install; do
X       for ac_exec_ext in '' $ac_executable_extensions; do
X-	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
X+	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
X 	  if test $ac_prog = install &&
X 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
X 	    # AIX install.  It has an incompatible calling convention.
X@@ -2523,7 +2541,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -2563,7 +2581,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_STRIP="strip"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -2614,7 +2632,7 @@
X   test -z "$as_dir" && as_dir=.
X     for ac_prog in mkdir gmkdir; do
X 	 for ac_exec_ext in '' $ac_executable_extensions; do
X-	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
X+	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
X 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
X 	     'mkdir (GNU coreutils) '* | \
X 	     'mkdir (coreutils) '* | \
X@@ -2667,7 +2685,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_AWK="$ac_prog"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -3043,7 +3061,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_CC="${ac_tool_prefix}gcc"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -3083,7 +3101,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_CC="gcc"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -3136,7 +3154,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_CC="${ac_tool_prefix}cc"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -3177,7 +3195,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
X        ac_prog_rejected=yes
X        continue
X@@ -3235,7 +3253,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -3279,7 +3297,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_CC="$ac_prog"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -3725,8 +3743,7 @@
X /* end confdefs.h.  */
X #include <stdarg.h>
X #include <stdio.h>
X-#include <sys/types.h>
X-#include <sys/stat.h>
X+struct stat;
X /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
X struct buf { int x; };
X FILE * (*rcsopen) (struct buf *, struct stat *, int);
X@@ -3961,7 +3978,7 @@
X     for ac_prog in sed gsed; do
X     for ac_exec_ext in '' $ac_executable_extensions; do
X       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
X-      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
X+      as_fn_executable_p "$ac_path_SED" || continue
X # Check for GNU ac_path_SED and select it if it is found.
X   # Check for GNU $ac_path_SED
X case `"$ac_path_SED" --version 2>&1` in
X@@ -4037,7 +4054,7 @@
X     for ac_prog in grep ggrep; do
X     for ac_exec_ext in '' $ac_executable_extensions; do
X       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
X-      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
X+      as_fn_executable_p "$ac_path_GREP" || continue
X # Check for GNU ac_path_GREP and select it if it is found.
X   # Check for GNU $ac_path_GREP
X case `"$ac_path_GREP" --version 2>&1` in
X@@ -4103,7 +4120,7 @@
X     for ac_prog in egrep; do
X     for ac_exec_ext in '' $ac_executable_extensions; do
X       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
X-      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
X+      as_fn_executable_p "$ac_path_EGREP" || continue
X # Check for GNU ac_path_EGREP and select it if it is found.
X   # Check for GNU $ac_path_EGREP
X case `"$ac_path_EGREP" --version 2>&1` in
X@@ -4170,7 +4187,7 @@
X     for ac_prog in fgrep; do
X     for ac_exec_ext in '' $ac_executable_extensions; do
X       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
X-      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
X+      as_fn_executable_p "$ac_path_FGREP" || continue
X # Check for GNU ac_path_FGREP and select it if it is found.
X   # Check for GNU $ac_path_FGREP
X case `"$ac_path_FGREP" --version 2>&1` in
X@@ -4426,7 +4443,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -4470,7 +4487,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -4894,7 +4911,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -4934,7 +4951,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_OBJDUMP="objdump"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -5240,7 +5257,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -5280,7 +5297,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -5384,7 +5401,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -5428,7 +5445,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_AR="$ac_prog"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -5553,7 +5570,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -5593,7 +5610,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_STRIP="strip"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -5652,7 +5669,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -5692,7 +5709,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_RANLIB="ranlib"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6341,7 +6358,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6381,7 +6398,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6461,7 +6478,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6501,7 +6518,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6553,7 +6570,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6593,7 +6610,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_NMEDIT="nmedit"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6645,7 +6662,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6685,7 +6702,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_LIPO="lipo"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6737,7 +6754,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6777,7 +6794,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_OTOOL="otool"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6829,7 +6846,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -6869,7 +6886,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_OTOOL64="otool64"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -11396,7 +11413,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -11440,7 +11457,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_prog_ac_ct_CXX="$ac_prog"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -15218,7 +15235,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -15261,7 +15278,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -15498,7 +15515,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -15542,7 +15559,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -15669,6 +15686,78 @@
X     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
X  elif test -n "$PKG_CONFIG"; then
X     if test -n "$PKG_CONFIG" && \
X+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
X+  ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
X+  ac_status=$?
X+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
X+  test $ac_status = 0; }; then
X+  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
X+else
X+  pkg_failed=yes
X+fi
X+ else
X+    pkg_failed=untried
X+fi
X+if test -n "$LUA_LIBS"; then
X+    pkg_cv_LUA_LIBS="$LUA_LIBS"
X+ elif test -n "$PKG_CONFIG"; then
X+    if test -n "$PKG_CONFIG" && \
X+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
X+  ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
X+  ac_status=$?
X+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
X+  test $ac_status = 0; }; then
X+  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
X+else
X+  pkg_failed=yes
X+fi
X+ else
X+    pkg_failed=untried
X+fi
X+
X+
X+
X+if test $pkg_failed = yes; then
X+   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
X+$as_echo "no" >&6; }
X+
X+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
X+        _pkg_short_errors_supported=yes
X+else
X+        _pkg_short_errors_supported=no
X+fi
X+        if test $_pkg_short_errors_supported = yes; then
X+	        LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
X+        else
X+	        LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
X+        fi
X+	# Put the nasty error message in config.log where it belongs
X+	echo "$LUA_PKG_ERRORS" >&5
X+
X+	true
X+elif test $pkg_failed = untried; then
X+     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
X+$as_echo "no" >&6; }
X+	true
X+else
X+	LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
X+	LUA_LIBS=$pkg_cv_LUA_LIBS
X+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
X+$as_echo "yes" >&6; }
X+	lua_found=yes
X+fi
X+    fi
X+
X+   if test "${lua_found}" = no; then
X+
X+pkg_failed=no
X+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
X+$as_echo_n "checking for LUA... " >&6; }
X+
X+if test -n "$LUA_CFLAGS"; then
X+    pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
X+ elif test -n "$PKG_CONFIG"; then
X+    if test -n "$PKG_CONFIG" && \
X     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
X   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
X   ac_status=$?
X@@ -15752,7 +15841,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_path_LUA_CONFIG="$as_dir/$ac_word$ac_exec_ext"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -15814,7 +15903,7 @@
X   IFS=$as_save_IFS
X   test -z "$as_dir" && as_dir=.
X     for ac_exec_ext in '' $ac_executable_extensions; do
X-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
X+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X     ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext"
X     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X@@ -16279,16 +16368,16 @@
X     # ... but there are two gotchas:
X     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
X     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
X-    # In both cases, we have to default to `cp -p'.
X+    # In both cases, we have to default to `cp -pR'.
X     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
X-      as_ln_s='cp -p'
X+      as_ln_s='cp -pR'
X   elif ln conf$$.file conf$$ 2>/dev/null; then
X     as_ln_s=ln
X   else
X-    as_ln_s='cp -p'
X+    as_ln_s='cp -pR'
X   fi
X else
X-  as_ln_s='cp -p'
X+  as_ln_s='cp -pR'
X fi
X rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
X rmdir conf$$.dir 2>/dev/null
X@@ -16348,28 +16437,16 @@
X   as_mkdir_p=false
X fi
X 
X-if test -x / >/dev/null 2>&1; then
X-  as_test_x='test -x'
X-else
X-  if ls -dL / >/dev/null 2>&1; then
X-    as_ls_L_option=L
X-  else
X-    as_ls_L_option=
X-  fi
X-  as_test_x='
X-    eval sh -c '\''
X-      if test -d "$1"; then
X-	test -d "$1/.";
X-      else
X-	case $1 in #(
X-	-*)set "./$1";;
X-	esac;
X-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
X-	???[sx]*):;;*)false;;esac;fi
X-    '\'' sh
X-  '
X-fi
X-as_executable_p=$as_test_x
X+
X+# as_fn_executable_p FILE
X+# -----------------------
X+# Test if FILE is an executable regular file.
X+as_fn_executable_p ()
X+{
X+  test -f "$1" && test -x "$1"
X+} # as_fn_executable_p
X+as_test_x='test -x'
X+as_executable_p=as_fn_executable_p
X 
X # Sed expression to map a string onto a valid CPP name.
X as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
X@@ -16391,7 +16468,7 @@
X # values after options handling.
X ac_log="
X This file was extended by Lutok $as_me 0.2, which was
X-generated by GNU Autoconf 2.68.  Invocation command line was
X+generated by GNU Autoconf 2.69.  Invocation command line was
X 
X   CONFIG_FILES    = $CONFIG_FILES
X   CONFIG_HEADERS  = $CONFIG_HEADERS
X@@ -16458,10 +16535,10 @@
X ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
X ac_cs_version="\\
X Lutok config.status 0.2
X-configured by $0, generated by GNU Autoconf 2.68,
X+configured by $0, generated by GNU Autoconf 2.69,
X   with options \\"\$ac_cs_config\\"
X 
X-Copyright (C) 2010 Free Software Foundation, Inc.
X+Copyright (C) 2012 Free Software Foundation, Inc.
X This config.status script is free software; the Free Software Foundation
X gives unlimited permission to copy, distribute and modify it."
X 
X@@ -16552,7 +16629,7 @@
X _ACEOF
X cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
X if \$ac_cs_recheck; then
X-  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
X+  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
X   shift
X   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
X   CONFIG_SHELL='$SHELL'
3467ff4a921ac8ad83f0d3fbbdf5525b
echo x - lutok/files/patch-m4-lua.m4
sed 's/^X//' >lutok/files/patch-m4-lua.m4 << '3a53a0379ffd947106831ca412b386fa'
X--- m4/lua.m4.old	2013-03-25 16:13:07.943129888 -0600
X+++ m4/lua.m4	2013-03-25 16:13:20.186640871 -0600
X@@ -37,6 +37,10 @@
X     PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1], [lua_found=yes], [true])
X 
X     if test "${lua_found}" = no; then
X+        PKG_CHECK_MODULES([LUA], [lua-5.1 >= 5.1], [lua_found=yes], [true])
X+    fi
X+
X+   if test "${lua_found}" = no; then
X         PKG_CHECK_MODULES([LUA], [lua >= 5.1], [lua_found=yes], [true])
X     fi
X 
3a53a0379ffd947106831ca412b386fa
echo x - lutok/pkg-descr
sed 's/^X//' >lutok/pkg-descr << 'a93fe2c542e7f48f59e1b0a515688d47'
XLutok is a lightweight C++ API library for Lua.
X
XLutok provides thin C++ wrappers around the Lua C API to ease the
Xinteraction between C++ and Lua.  These wrappers make intensive use of
XRAII to prevent resource leakage, expose C++-friendly data types, report
Xerrors by means of exceptions and ensure that the Lua stack is always
Xleft untouched in the face of errors.  The library also provides a small
Xsubset of miscellaneous utility functions built on top of the wrappers.
X
XLutok focuses on providing a clean and safe C++ interface; the drawback
Xis that it is not suitable for performance-critical environments.  In
Xorder to implement error-safe C++ wrappers on top of a Lua C binary
Xlibrary, Lutok adds several layers or abstraction and error checking
Xthat go against the original spirit of the Lua C API and thus degrade
Xperformance.
X
XWWW: https://code.google.com/p/lutok/
a93fe2c542e7f48f59e1b0a515688d47
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304042313.r34ND3a0058712>