Adding AC_PROG_CC_STDC to configure.ac to support c99
This commit is contained in:
parent
6ff8ff66d1
commit
d30e58176c
6 changed files with 217 additions and 364 deletions
177
aclocal.m4
vendored
177
aclocal.m4
vendored
|
@ -1,4 +1,4 @@
|
||||||
# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
|
# generated automatically by aclocal 1.13.3 -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
@ -313,61 +313,6 @@ else
|
||||||
fi[]dnl
|
fi[]dnl
|
||||||
])# PKG_CHECK_MODULES
|
])# PKG_CHECK_MODULES
|
||||||
|
|
||||||
|
|
||||||
# PKG_INSTALLDIR(DIRECTORY)
|
|
||||||
# -------------------------
|
|
||||||
# Substitutes the variable pkgconfigdir as the location where a module
|
|
||||||
# should install pkg-config .pc files. By default the directory is
|
|
||||||
# $libdir/pkgconfig, but the default can be changed by passing
|
|
||||||
# DIRECTORY. The user can override through the --with-pkgconfigdir
|
|
||||||
# parameter.
|
|
||||||
AC_DEFUN([PKG_INSTALLDIR],
|
|
||||||
[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
|
|
||||||
m4_pushdef([pkg_description],
|
|
||||||
[pkg-config installation directory @<:@]pkg_default[@:>@])
|
|
||||||
AC_ARG_WITH([pkgconfigdir],
|
|
||||||
[AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
|
|
||||||
[with_pkgconfigdir=]pkg_default)
|
|
||||||
AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
|
|
||||||
m4_popdef([pkg_default])
|
|
||||||
m4_popdef([pkg_description])
|
|
||||||
]) dnl PKG_INSTALLDIR
|
|
||||||
|
|
||||||
|
|
||||||
# PKG_NOARCH_INSTALLDIR(DIRECTORY)
|
|
||||||
# -------------------------
|
|
||||||
# Substitutes the variable noarch_pkgconfigdir as the location where a
|
|
||||||
# module should install arch-independent pkg-config .pc files. By
|
|
||||||
# default the directory is $datadir/pkgconfig, but the default can be
|
|
||||||
# changed by passing DIRECTORY. The user can override through the
|
|
||||||
# --with-noarch-pkgconfigdir parameter.
|
|
||||||
AC_DEFUN([PKG_NOARCH_INSTALLDIR],
|
|
||||||
[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
|
|
||||||
m4_pushdef([pkg_description],
|
|
||||||
[pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
|
|
||||||
AC_ARG_WITH([noarch-pkgconfigdir],
|
|
||||||
[AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
|
|
||||||
[with_noarch_pkgconfigdir=]pkg_default)
|
|
||||||
AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
|
|
||||||
m4_popdef([pkg_default])
|
|
||||||
m4_popdef([pkg_description])
|
|
||||||
]) dnl PKG_NOARCH_INSTALLDIR
|
|
||||||
|
|
||||||
|
|
||||||
# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
|
|
||||||
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
|
||||||
# -------------------------------------------
|
|
||||||
# Retrieves the value of the pkg-config variable for the given module.
|
|
||||||
AC_DEFUN([PKG_CHECK_VAR],
|
|
||||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
|
||||||
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
|
|
||||||
|
|
||||||
_PKG_CONFIG([$1], [variable="][$3]["], [$2])
|
|
||||||
AS_VAR_COPY([$1], [pkg_cv_][$1])
|
|
||||||
|
|
||||||
AS_VAR_IF([$1], [""], [$5], [$4])dnl
|
|
||||||
])# PKG_CHECK_VAR
|
|
||||||
|
|
||||||
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
|
@ -380,10 +325,10 @@ AS_VAR_IF([$1], [""], [$5], [$4])dnl
|
||||||
# generated from the m4 files accompanying Automake X.Y.
|
# generated from the m4 files accompanying Automake X.Y.
|
||||||
# (This private macro should not be called outside this file.)
|
# (This private macro should not be called outside this file.)
|
||||||
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
||||||
[am__api_version='1.14'
|
[am__api_version='1.13'
|
||||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||||
dnl require some minimum version. Point them to the right macro.
|
dnl require some minimum version. Point them to the right macro.
|
||||||
m4_if([$1], [1.14.1], [],
|
m4_if([$1], [1.13.3], [],
|
||||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -399,7 +344,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
|
||||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||||
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
||||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||||
[AM_AUTOMAKE_VERSION([1.14.1])dnl
|
[AM_AUTOMAKE_VERSION([1.13.3])dnl
|
||||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||||
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
||||||
|
@ -766,12 +711,6 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
# This macro actually does too much. Some checks are only needed if
|
# This macro actually does too much. Some checks are only needed if
|
||||||
# your package does certain things. But this isn't really a big deal.
|
# your package does certain things. But this isn't really a big deal.
|
||||||
|
|
||||||
dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
|
|
||||||
m4_define([AC_PROG_CC],
|
|
||||||
m4_defn([AC_PROG_CC])
|
|
||||||
[_AM_PROG_CC_C_O
|
|
||||||
])
|
|
||||||
|
|
||||||
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
|
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
|
||||||
# AM_INIT_AUTOMAKE([OPTIONS])
|
# AM_INIT_AUTOMAKE([OPTIONS])
|
||||||
# -----------------------------------------------
|
# -----------------------------------------------
|
||||||
|
@ -880,48 +819,7 @@ dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
|
||||||
AC_CONFIG_COMMANDS_PRE(dnl
|
AC_CONFIG_COMMANDS_PRE(dnl
|
||||||
[m4_provide_if([_AM_COMPILER_EXEEXT],
|
[m4_provide_if([_AM_COMPILER_EXEEXT],
|
||||||
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
|
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
|
||||||
|
])
|
||||||
# POSIX will say in a future version that running "rm -f" with no argument
|
|
||||||
# is OK; and we want to be able to make that assumption in our Makefile
|
|
||||||
# recipes. So use an aggressive probe to check that the usage we want is
|
|
||||||
# actually supported "in the wild" to an acceptable degree.
|
|
||||||
# See automake bug#10828.
|
|
||||||
# To make any issue more visible, cause the running configure to be aborted
|
|
||||||
# by default if the 'rm' program in use doesn't match our expectations; the
|
|
||||||
# user can still override this though.
|
|
||||||
if rm -f && rm -fr && rm -rf; then : OK; else
|
|
||||||
cat >&2 <<'END'
|
|
||||||
Oops!
|
|
||||||
|
|
||||||
Your 'rm' program seems unable to run without file operands specified
|
|
||||||
on the command line, even when the '-f' option is present. This is contrary
|
|
||||||
to the behaviour of most rm programs out there, and not conforming with
|
|
||||||
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
|
|
||||||
|
|
||||||
Please tell bug-automake@gnu.org about your system, including the value
|
|
||||||
of your $PATH and any error possibly output before this message. This
|
|
||||||
can help us improve future automake versions.
|
|
||||||
|
|
||||||
END
|
|
||||||
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
|
|
||||||
echo 'Configuration will proceed anyway, since you have set the' >&2
|
|
||||||
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
|
|
||||||
echo >&2
|
|
||||||
else
|
|
||||||
cat >&2 <<'END'
|
|
||||||
Aborting the configuration process, to ensure you take notice of the issue.
|
|
||||||
|
|
||||||
You can download and install GNU coreutils to get an 'rm' implementation
|
|
||||||
that behaves properly: <http://www.gnu.org/software/coreutils/>.
|
|
||||||
|
|
||||||
If you want to complete the configuration process using your problematic
|
|
||||||
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
|
|
||||||
to "yes", and re-run configure.
|
|
||||||
|
|
||||||
END
|
|
||||||
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
|
|
||||||
fi
|
|
||||||
fi])
|
|
||||||
|
|
||||||
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
|
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
|
||||||
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
|
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
|
||||||
|
@ -929,6 +827,7 @@ dnl mangled by Autoconf and run in a shell conditional statement.
|
||||||
m4_define([_AC_COMPILER_EXEEXT],
|
m4_define([_AC_COMPILER_EXEEXT],
|
||||||
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
|
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
|
||||||
|
|
||||||
|
|
||||||
# When config.status generates a header, we must update the stamp-h file.
|
# When config.status generates a header, we must update the stamp-h file.
|
||||||
# This file resides in the same directory as the config header
|
# This file resides in the same directory as the config header
|
||||||
# that is generated. The stamp files are numbered to have different names.
|
# that is generated. The stamp files are numbered to have different names.
|
||||||
|
@ -1110,70 +1009,6 @@ AC_DEFUN([_AM_SET_OPTIONS],
|
||||||
AC_DEFUN([_AM_IF_OPTION],
|
AC_DEFUN([_AM_IF_OPTION],
|
||||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||||
|
|
||||||
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
|
|
||||||
#
|
|
||||||
# This file is free software; the Free Software Foundation
|
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
|
||||||
# with or without modifications, as long as this notice is preserved.
|
|
||||||
|
|
||||||
# _AM_PROG_CC_C_O
|
|
||||||
# ---------------
|
|
||||||
# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
|
|
||||||
# to automatically call this.
|
|
||||||
AC_DEFUN([_AM_PROG_CC_C_O],
|
|
||||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
||||||
AC_REQUIRE_AUX_FILE([compile])dnl
|
|
||||||
AC_LANG_PUSH([C])dnl
|
|
||||||
AC_CACHE_CHECK(
|
|
||||||
[whether $CC understands -c and -o together],
|
|
||||||
[am_cv_prog_cc_c_o],
|
|
||||||
[AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
|
|
||||||
# Make sure it works both with $CC and with simple cc.
|
|
||||||
# Following AC_PROG_CC_C_O, we do the test twice because some
|
|
||||||
# compilers refuse to overwrite an existing .o file with -o,
|
|
||||||
# though they will create one.
|
|
||||||
am_cv_prog_cc_c_o=yes
|
|
||||||
for am_i in 1 2; do
|
|
||||||
if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
|
|
||||||
&& test -f conftest2.$ac_objext; then
|
|
||||||
: OK
|
|
||||||
else
|
|
||||||
am_cv_prog_cc_c_o=no
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
rm -f core conftest*
|
|
||||||
unset am_i])
|
|
||||||
if test "$am_cv_prog_cc_c_o" != yes; then
|
|
||||||
# Losing compiler, so override with the script.
|
|
||||||
# FIXME: It is wrong to rewrite CC.
|
|
||||||
# But if we don't then we get into trouble of one sort or another.
|
|
||||||
# A longer-term fix would be to have automake use am__CC in this case,
|
|
||||||
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
||||||
CC="$am_aux_dir/compile $CC"
|
|
||||||
fi
|
|
||||||
AC_LANG_POP([C])])
|
|
||||||
|
|
||||||
# For backward compatibility.
|
|
||||||
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
|
|
||||||
|
|
||||||
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
|
|
||||||
#
|
|
||||||
# This file is free software; the Free Software Foundation
|
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
|
||||||
# with or without modifications, as long as this notice is preserved.
|
|
||||||
|
|
||||||
# AM_RUN_LOG(COMMAND)
|
|
||||||
# -------------------
|
|
||||||
# Run COMMAND, save the exit status in ac_status, and log it.
|
|
||||||
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
|
|
||||||
AC_DEFUN([AM_RUN_LOG],
|
|
||||||
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
|
|
||||||
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
|
|
||||||
ac_status=$?
|
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
|
|
||||||
(exit $ac_status); }])
|
|
||||||
|
|
||||||
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
||||||
|
|
203
config.status
203
config.status
|
@ -1,4 +1,4 @@
|
||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# Generated by configure.
|
# Generated by configure.
|
||||||
# Run this file to recreate the current configuration.
|
# Run this file to recreate the current configuration.
|
||||||
# Compiler output produced by configure, useful for debugging
|
# Compiler output produced by configure, useful for debugging
|
||||||
|
@ -8,7 +8,7 @@ debug=false
|
||||||
ac_cs_recheck=false
|
ac_cs_recheck=false
|
||||||
ac_cs_silent=false
|
ac_cs_silent=false
|
||||||
|
|
||||||
SHELL=${CONFIG_SHELL-/bin/sh}
|
SHELL=${CONFIG_SHELL-/bin/bash}
|
||||||
export SHELL
|
export SHELL
|
||||||
## -------------------- ##
|
## -------------------- ##
|
||||||
## M4sh Initialization. ##
|
## M4sh Initialization. ##
|
||||||
|
@ -437,10 +437,10 @@ Copyright (C) 2012 Free Software Foundation, Inc.
|
||||||
This config.status script is free software; the Free Software Foundation
|
This config.status script is free software; the Free Software Foundation
|
||||||
gives unlimited permission to copy, distribute and modify it."
|
gives unlimited permission to copy, distribute and modify it."
|
||||||
|
|
||||||
ac_pwd='/Users/c9s/work/php/r3'
|
ac_pwd='/home/c9s/r3'
|
||||||
srcdir='.'
|
srcdir='.'
|
||||||
INSTALL='/opt/local/bin/ginstall -c'
|
INSTALL='/usr/bin/install -c'
|
||||||
MKDIR_P='/opt/local/bin/gmkdir -p'
|
MKDIR_P='/bin/mkdir -p'
|
||||||
AWK='gawk'
|
AWK='gawk'
|
||||||
test -n "$AWK" || AWK=awk
|
test -n "$AWK" || AWK=awk
|
||||||
# The default lists apply if the user does not specify any file.
|
# The default lists apply if the user does not specify any file.
|
||||||
|
@ -519,10 +519,10 @@ if $ac_cs_silent; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $ac_cs_recheck; then
|
if $ac_cs_recheck; then
|
||||||
set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion
|
set X /bin/bash './configure' $ac_configure_extra_args --no-create --no-recursion
|
||||||
shift
|
shift
|
||||||
$as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
|
$as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
|
||||||
CONFIG_SHELL='/bin/sh'
|
CONFIG_SHELL='/bin/bash'
|
||||||
export CONFIG_SHELL
|
export CONFIG_SHELL
|
||||||
exec "$@"
|
exec "$@"
|
||||||
fi
|
fi
|
||||||
|
@ -554,25 +554,25 @@ macro_revision='1.3337'
|
||||||
enable_shared='yes'
|
enable_shared='yes'
|
||||||
enable_static='yes'
|
enable_static='yes'
|
||||||
pic_mode='default'
|
pic_mode='default'
|
||||||
enable_fast_install='needless'
|
enable_fast_install='yes'
|
||||||
SHELL='/bin/sh'
|
SHELL='/bin/bash'
|
||||||
ECHO='printf %s\n'
|
ECHO='printf %s\n'
|
||||||
PATH_SEPARATOR=':'
|
PATH_SEPARATOR=':'
|
||||||
host_alias=''
|
host_alias=''
|
||||||
host='x86_64-apple-darwin13.1.0'
|
host='x86_64-unknown-linux-gnu'
|
||||||
host_os='darwin13.1.0'
|
host_os='linux-gnu'
|
||||||
build_alias=''
|
build_alias=''
|
||||||
build='x86_64-apple-darwin13.1.0'
|
build='x86_64-unknown-linux-gnu'
|
||||||
build_os='darwin13.1.0'
|
build_os='linux-gnu'
|
||||||
SED='/opt/local/bin/gsed'
|
SED='/bin/sed'
|
||||||
Xsed='/opt/local/bin/gsed -e 1s/^X//'
|
Xsed='/bin/sed -e 1s/^X//'
|
||||||
GREP='/usr/bin/grep'
|
GREP='/bin/grep'
|
||||||
EGREP='/usr/bin/grep -E'
|
EGREP='/bin/grep -E'
|
||||||
FGREP='/usr/bin/grep -F'
|
FGREP='/bin/grep -F'
|
||||||
LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld'
|
LD='/usr/bin/ld -m elf_x86_64'
|
||||||
NM='/opt/local/bin/nm'
|
NM='/usr/bin/nm -B'
|
||||||
LN_S='ln -s'
|
LN_S='ln -s'
|
||||||
max_cmd_len='196608'
|
max_cmd_len='3458764513820540925'
|
||||||
ac_objext='o'
|
ac_objext='o'
|
||||||
exeext=''
|
exeext=''
|
||||||
lt_unset='unset'
|
lt_unset='unset'
|
||||||
|
@ -581,8 +581,8 @@ lt_NL2SP='tr \015\012 \040\040'
|
||||||
lt_cv_to_host_file_cmd='func_convert_file_noop'
|
lt_cv_to_host_file_cmd='func_convert_file_noop'
|
||||||
lt_cv_to_tool_file_cmd='func_convert_file_noop'
|
lt_cv_to_tool_file_cmd='func_convert_file_noop'
|
||||||
reload_flag=' -r'
|
reload_flag=' -r'
|
||||||
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
|
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
||||||
OBJDUMP='false'
|
OBJDUMP='objdump'
|
||||||
deplibs_check_method='pass_all'
|
deplibs_check_method='pass_all'
|
||||||
file_magic_cmd='$MAGIC_CMD'
|
file_magic_cmd='$MAGIC_CMD'
|
||||||
file_magic_glob=''
|
file_magic_glob=''
|
||||||
|
@ -591,63 +591,66 @@ DLLTOOL='false'
|
||||||
sharedlib_from_linklib_cmd='printf %s\n'
|
sharedlib_from_linklib_cmd='printf %s\n'
|
||||||
AR='ar'
|
AR='ar'
|
||||||
AR_FLAGS='cru'
|
AR_FLAGS='cru'
|
||||||
archiver_list_spec=''
|
archiver_list_spec='@'
|
||||||
STRIP='strip'
|
STRIP='strip'
|
||||||
RANLIB='ranlib'
|
RANLIB='ranlib'
|
||||||
old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
|
old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
|
||||||
old_postuninstall_cmds=''
|
old_postuninstall_cmds=''
|
||||||
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
|
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
|
||||||
lock_old_archive_extraction='yes'
|
lock_old_archive_extraction='no'
|
||||||
CC='gcc'
|
CC='gcc -std=gnu99'
|
||||||
CFLAGS='-g -O2'
|
CFLAGS='-g -O2'
|
||||||
compiler='gcc'
|
compiler='gcc'
|
||||||
GCC='yes'
|
GCC='yes'
|
||||||
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
|
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
|
||||||
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
|
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
|
||||||
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
|
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
|
||||||
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
|
||||||
nm_file_list_spec=''
|
nm_file_list_spec='@'
|
||||||
lt_sysroot=''
|
lt_sysroot=''
|
||||||
objdir='.libs'
|
objdir='.libs'
|
||||||
MAGIC_CMD='file'
|
MAGIC_CMD='file'
|
||||||
lt_prog_compiler_no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
|
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
|
||||||
lt_prog_compiler_pic=' -fno-common -DPIC'
|
lt_prog_compiler_pic=' -fPIC -DPIC'
|
||||||
lt_prog_compiler_wl='-Wl,'
|
lt_prog_compiler_wl='-Wl,'
|
||||||
lt_prog_compiler_static=''
|
lt_prog_compiler_static='-static'
|
||||||
lt_cv_prog_compiler_c_o='yes'
|
lt_cv_prog_compiler_c_o='yes'
|
||||||
need_locks='no'
|
need_locks='no'
|
||||||
MANIFEST_TOOL=':'
|
MANIFEST_TOOL=':'
|
||||||
DSYMUTIL='dsymutil'
|
DSYMUTIL=''
|
||||||
NMEDIT='nmedit'
|
NMEDIT=''
|
||||||
LIPO='lipo'
|
LIPO=''
|
||||||
OTOOL='otool'
|
OTOOL=''
|
||||||
OTOOL64=':'
|
OTOOL64=''
|
||||||
libext='a'
|
libext='a'
|
||||||
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
shrext_cmds='.so'
|
||||||
extract_expsyms_cmds=''
|
extract_expsyms_cmds=''
|
||||||
archive_cmds_need_lc='no'
|
archive_cmds_need_lc='no'
|
||||||
enable_shared_with_static_runtimes='no'
|
enable_shared_with_static_runtimes='no'
|
||||||
export_dynamic_flag_spec=''
|
export_dynamic_flag_spec='${wl}--export-dynamic'
|
||||||
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
|
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
|
||||||
compiler_needs_object='no'
|
compiler_needs_object='no'
|
||||||
old_archive_from_new_cmds=''
|
old_archive_from_new_cmds=''
|
||||||
old_archive_from_expsyms_cmds=''
|
old_archive_from_expsyms_cmds=''
|
||||||
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module'
|
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||||
archive_expsym_cmds='sed '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags'
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
module_expsym_cmds='sed -e '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
with_gnu_ld='no'
|
$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
||||||
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
|
module_cmds=''
|
||||||
|
module_expsym_cmds=''
|
||||||
|
with_gnu_ld='yes'
|
||||||
|
allow_undefined_flag=''
|
||||||
no_undefined_flag=''
|
no_undefined_flag=''
|
||||||
hardcode_libdir_flag_spec=''
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||||
hardcode_libdir_separator=''
|
hardcode_libdir_separator=''
|
||||||
hardcode_direct='no'
|
hardcode_direct='no'
|
||||||
hardcode_direct_absolute='no'
|
hardcode_direct_absolute='no'
|
||||||
hardcode_minus_L='no'
|
hardcode_minus_L='no'
|
||||||
hardcode_shlibpath_var='unsupported'
|
hardcode_shlibpath_var='unsupported'
|
||||||
hardcode_automatic='yes'
|
hardcode_automatic='no'
|
||||||
inherit_rpath='no'
|
inherit_rpath='no'
|
||||||
link_all_deplibs='yes'
|
link_all_deplibs='no'
|
||||||
always_export_symbols='no'
|
always_export_symbols='no'
|
||||||
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
||||||
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
||||||
|
@ -655,30 +658,30 @@ include_expsyms=''
|
||||||
prelink_cmds=''
|
prelink_cmds=''
|
||||||
postlink_cmds=''
|
postlink_cmds=''
|
||||||
file_list_spec=''
|
file_list_spec=''
|
||||||
variables_saved_for_relink='PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
|
variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
|
||||||
need_lib_prefix='no'
|
need_lib_prefix='no'
|
||||||
need_version='no'
|
need_version='no'
|
||||||
version_type='darwin'
|
version_type='linux'
|
||||||
runpath_var=''
|
runpath_var='LD_RUN_PATH'
|
||||||
shlibpath_var='DYLD_LIBRARY_PATH'
|
shlibpath_var='LD_LIBRARY_PATH'
|
||||||
shlibpath_overrides_runpath='yes'
|
shlibpath_overrides_runpath='no'
|
||||||
libname_spec='lib$name'
|
libname_spec='lib$name'
|
||||||
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${major}$shared_ext'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
install_override_mode=''
|
install_override_mode=''
|
||||||
postinstall_cmds=''
|
postinstall_cmds=''
|
||||||
postuninstall_cmds=''
|
postuninstall_cmds=''
|
||||||
finish_cmds=''
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
||||||
finish_eval=''
|
finish_eval=''
|
||||||
hardcode_into_libs='no'
|
hardcode_into_libs='yes'
|
||||||
sys_lib_search_path_spec='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1 /usr/local/lib'
|
sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.8 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib '
|
||||||
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa '
|
||||||
hardcode_action='immediate'
|
hardcode_action='immediate'
|
||||||
enable_dlopen='unknown'
|
enable_dlopen='unknown'
|
||||||
enable_dlopen_self='unknown'
|
enable_dlopen_self='unknown'
|
||||||
enable_dlopen_self_static='unknown'
|
enable_dlopen_self_static='unknown'
|
||||||
old_striplib='strip -S'
|
old_striplib='strip --strip-debug'
|
||||||
striplib='strip -x'
|
striplib='strip --strip-unneeded'
|
||||||
|
|
||||||
LTCC='gcc'
|
LTCC='gcc'
|
||||||
LTCFLAGS='-g -O2'
|
LTCFLAGS='-g -O2'
|
||||||
|
@ -815,37 +818,37 @@ cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
|
||||||
S["am__EXEEXT_FALSE"]=""
|
S["am__EXEEXT_FALSE"]=""
|
||||||
S["am__EXEEXT_TRUE"]="#"
|
S["am__EXEEXT_TRUE"]="#"
|
||||||
S["LTLIBOBJS"]=""
|
S["LTLIBOBJS"]=""
|
||||||
S["DEPS_LIBS"]="-L/opt/local/lib -lpcre -lcheck "
|
S["DEPS_LIBS"]="-pthread -lpcre -lcheck_pic -lrt -lm "
|
||||||
S["DEPS_CFLAGS"]="-D_THREAD_SAFE -I/opt/local/include "
|
S["DEPS_CFLAGS"]="-pthread "
|
||||||
S["PKG_CONFIG_LIBDIR"]=""
|
S["PKG_CONFIG_LIBDIR"]=""
|
||||||
S["PKG_CONFIG_PATH"]=""
|
S["PKG_CONFIG_PATH"]=""
|
||||||
S["PKG_CONFIG"]="/opt/local/bin/pkg-config"
|
S["PKG_CONFIG"]="/usr/bin/pkg-config"
|
||||||
S["LIBOBJS"]=""
|
S["LIBOBJS"]=""
|
||||||
S["HAVE_CHECK_FALSE"]=""
|
S["HAVE_CHECK_FALSE"]="#"
|
||||||
S["HAVE_CHECK_TRUE"]="#"
|
S["HAVE_CHECK_TRUE"]=""
|
||||||
S["CHECK_LIBS"]=""
|
S["CHECK_LIBS"]="-lcheck"
|
||||||
S["CHECK_CFLAGS"]=""
|
S["CHECK_CFLAGS"]=""
|
||||||
S["CPP"]="gcc -E"
|
S["CPP"]="gcc -E"
|
||||||
S["OTOOL64"]=":"
|
S["OTOOL64"]=""
|
||||||
S["OTOOL"]="otool"
|
S["OTOOL"]=""
|
||||||
S["LIPO"]="lipo"
|
S["LIPO"]=""
|
||||||
S["NMEDIT"]="nmedit"
|
S["NMEDIT"]=""
|
||||||
S["DSYMUTIL"]="dsymutil"
|
S["DSYMUTIL"]=""
|
||||||
S["MANIFEST_TOOL"]=":"
|
S["MANIFEST_TOOL"]=":"
|
||||||
S["RANLIB"]="ranlib"
|
S["RANLIB"]="ranlib"
|
||||||
S["ac_ct_AR"]="ar"
|
S["ac_ct_AR"]="ar"
|
||||||
S["AR"]="ar"
|
S["AR"]="ar"
|
||||||
S["DLLTOOL"]="false"
|
S["DLLTOOL"]="false"
|
||||||
S["OBJDUMP"]="false"
|
S["OBJDUMP"]="objdump"
|
||||||
S["LN_S"]="ln -s"
|
S["LN_S"]="ln -s"
|
||||||
S["NM"]="/opt/local/bin/nm"
|
S["NM"]="/usr/bin/nm -B"
|
||||||
S["ac_ct_DUMPBIN"]=""
|
S["ac_ct_DUMPBIN"]=""
|
||||||
S["DUMPBIN"]=""
|
S["DUMPBIN"]=""
|
||||||
S["LD"]="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld"
|
S["LD"]="/usr/bin/ld -m elf_x86_64"
|
||||||
S["FGREP"]="/usr/bin/grep -F"
|
S["FGREP"]="/bin/grep -F"
|
||||||
S["EGREP"]="/usr/bin/grep -E"
|
S["EGREP"]="/bin/grep -E"
|
||||||
S["GREP"]="/usr/bin/grep"
|
S["GREP"]="/bin/grep"
|
||||||
S["SED"]="/opt/local/bin/gsed"
|
S["SED"]="/bin/sed"
|
||||||
S["am__fastdepCC_FALSE"]="#"
|
S["am__fastdepCC_FALSE"]="#"
|
||||||
S["am__fastdepCC_TRUE"]=""
|
S["am__fastdepCC_TRUE"]=""
|
||||||
S["CCDEPMODE"]="depmode=gcc3"
|
S["CCDEPMODE"]="depmode=gcc3"
|
||||||
|
@ -862,15 +865,15 @@ S["ac_ct_CC"]="gcc"
|
||||||
S["CPPFLAGS"]=""
|
S["CPPFLAGS"]=""
|
||||||
S["LDFLAGS"]=""
|
S["LDFLAGS"]=""
|
||||||
S["CFLAGS"]="-g -O2"
|
S["CFLAGS"]="-g -O2"
|
||||||
S["CC"]="gcc"
|
S["CC"]="gcc -std=gnu99"
|
||||||
S["host_os"]="darwin13.1.0"
|
S["host_os"]="linux-gnu"
|
||||||
S["host_vendor"]="apple"
|
S["host_vendor"]="unknown"
|
||||||
S["host_cpu"]="x86_64"
|
S["host_cpu"]="x86_64"
|
||||||
S["host"]="x86_64-apple-darwin13.1.0"
|
S["host"]="x86_64-unknown-linux-gnu"
|
||||||
S["build_os"]="darwin13.1.0"
|
S["build_os"]="linux-gnu"
|
||||||
S["build_vendor"]="apple"
|
S["build_vendor"]="unknown"
|
||||||
S["build_cpu"]="x86_64"
|
S["build_cpu"]="x86_64"
|
||||||
S["build"]="x86_64-apple-darwin13.1.0"
|
S["build"]="x86_64-unknown-linux-gnu"
|
||||||
S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
|
S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
|
||||||
S["AM_BACKSLASH"]="\\"
|
S["AM_BACKSLASH"]="\\"
|
||||||
S["AM_DEFAULT_VERBOSITY"]="1"
|
S["AM_DEFAULT_VERBOSITY"]="1"
|
||||||
|
@ -883,15 +886,15 @@ S["am__leading_dot"]="."
|
||||||
S["SET_MAKE"]=""
|
S["SET_MAKE"]=""
|
||||||
S["AWK"]="gawk"
|
S["AWK"]="gawk"
|
||||||
S["mkdir_p"]="$(MKDIR_P)"
|
S["mkdir_p"]="$(MKDIR_P)"
|
||||||
S["MKDIR_P"]="/opt/local/bin/gmkdir -p"
|
S["MKDIR_P"]="/bin/mkdir -p"
|
||||||
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
|
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
|
||||||
S["STRIP"]="strip"
|
S["STRIP"]="strip"
|
||||||
S["install_sh"]="${SHELL} /Users/c9s/work/php/r3/install-sh"
|
S["install_sh"]="${SHELL} /home/c9s/r3/install-sh"
|
||||||
S["MAKEINFO"]="${SHELL} /Users/c9s/work/php/r3/missing makeinfo"
|
S["MAKEINFO"]="${SHELL} /home/c9s/r3/missing makeinfo"
|
||||||
S["AUTOHEADER"]="${SHELL} /Users/c9s/work/php/r3/missing autoheader"
|
S["AUTOHEADER"]="${SHELL} /home/c9s/r3/missing autoheader"
|
||||||
S["AUTOMAKE"]="${SHELL} /Users/c9s/work/php/r3/missing automake-1.14"
|
S["AUTOMAKE"]="${SHELL} /home/c9s/r3/missing automake-1.13"
|
||||||
S["AUTOCONF"]="${SHELL} /Users/c9s/work/php/r3/missing autoconf"
|
S["AUTOCONF"]="${SHELL} /home/c9s/r3/missing autoconf"
|
||||||
S["ACLOCAL"]="${SHELL} /Users/c9s/work/php/r3/missing aclocal-1.14"
|
S["ACLOCAL"]="${SHELL} /home/c9s/r3/missing aclocal-1.13"
|
||||||
S["VERSION"]="1.0"
|
S["VERSION"]="1.0"
|
||||||
S["PACKAGE"]="r3"
|
S["PACKAGE"]="r3"
|
||||||
S["CYGPATH_W"]="echo"
|
S["CYGPATH_W"]="echo"
|
||||||
|
@ -904,8 +907,8 @@ S["host_alias"]=""
|
||||||
S["build_alias"]=""
|
S["build_alias"]=""
|
||||||
S["LIBS"]=""
|
S["LIBS"]=""
|
||||||
S["ECHO_T"]=""
|
S["ECHO_T"]=""
|
||||||
S["ECHO_N"]=""
|
S["ECHO_N"]="-n"
|
||||||
S["ECHO_C"]="\\c"
|
S["ECHO_C"]=""
|
||||||
S["DEFS"]="-DHAVE_CONFIG_H"
|
S["DEFS"]="-DHAVE_CONFIG_H"
|
||||||
S["mandir"]="${datarootdir}/man"
|
S["mandir"]="${datarootdir}/man"
|
||||||
S["localedir"]="${datarootdir}/locale"
|
S["localedir"]="${datarootdir}/locale"
|
||||||
|
@ -936,7 +939,7 @@ S["PACKAGE_VERSION"]="1.0"
|
||||||
S["PACKAGE_TARNAME"]="r3"
|
S["PACKAGE_TARNAME"]="r3"
|
||||||
S["PACKAGE_NAME"]="r3"
|
S["PACKAGE_NAME"]="r3"
|
||||||
S["PATH_SEPARATOR"]=":"
|
S["PATH_SEPARATOR"]=":"
|
||||||
S["SHELL"]="/bin/sh"
|
S["SHELL"]="/bin/bash"
|
||||||
_ACAWK
|
_ACAWK
|
||||||
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
|
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
|
||||||
for (key in S) S_is_set[key] = 1
|
for (key in S) S_is_set[key] = 1
|
||||||
|
|
|
@ -4,6 +4,7 @@ AC_CONFIG_MACRO_DIR([m4])
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
||||||
LT_INIT
|
LT_INIT
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
AC_PROG_CC_STDC
|
||||||
|
|
||||||
# AM_PATH_CHECK()
|
# AM_PATH_CHECK()
|
||||||
AM_PATH_CHECK(,[have_check="yes"],
|
AM_PATH_CHECK(,[have_check="yes"],
|
||||||
|
|
148
libtool
148
libtool
|
@ -1,8 +1,8 @@
|
||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
|
|
||||||
# libtool - Provide generalized library-building support services.
|
# libtool - Provide generalized library-building support services.
|
||||||
# Generated automatically by config.status (r3) 1.0
|
# Generated automatically by config.status (r3) 1.0
|
||||||
# Libtool was configured on host c9smba.local:
|
# Libtool was configured on host node3.corneltek.com:
|
||||||
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
||||||
#
|
#
|
||||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
||||||
|
@ -53,10 +53,10 @@ build_old_libs=yes
|
||||||
pic_mode=default
|
pic_mode=default
|
||||||
|
|
||||||
# Whether or not to optimize for fast installation.
|
# Whether or not to optimize for fast installation.
|
||||||
fast_install=needless
|
fast_install=yes
|
||||||
|
|
||||||
# Shell to use when invoking shell scripts.
|
# Shell to use when invoking shell scripts.
|
||||||
SHELL="/bin/sh"
|
SHELL="/bin/bash"
|
||||||
|
|
||||||
# An echo program that protects backslashes.
|
# An echo program that protects backslashes.
|
||||||
ECHO="printf %s\\n"
|
ECHO="printf %s\\n"
|
||||||
|
@ -66,37 +66,37 @@ PATH_SEPARATOR=":"
|
||||||
|
|
||||||
# The host system.
|
# The host system.
|
||||||
host_alias=
|
host_alias=
|
||||||
host=x86_64-apple-darwin13.1.0
|
host=x86_64-unknown-linux-gnu
|
||||||
host_os=darwin13.1.0
|
host_os=linux-gnu
|
||||||
|
|
||||||
# The build system.
|
# The build system.
|
||||||
build_alias=
|
build_alias=
|
||||||
build=x86_64-apple-darwin13.1.0
|
build=x86_64-unknown-linux-gnu
|
||||||
build_os=darwin13.1.0
|
build_os=linux-gnu
|
||||||
|
|
||||||
# A sed program that does not truncate output.
|
# A sed program that does not truncate output.
|
||||||
SED="/opt/local/bin/gsed"
|
SED="/bin/sed"
|
||||||
|
|
||||||
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
||||||
Xsed="$SED -e 1s/^X//"
|
Xsed="$SED -e 1s/^X//"
|
||||||
|
|
||||||
# A grep program that handles long lines.
|
# A grep program that handles long lines.
|
||||||
GREP="/usr/bin/grep"
|
GREP="/bin/grep"
|
||||||
|
|
||||||
# An ERE matcher.
|
# An ERE matcher.
|
||||||
EGREP="/usr/bin/grep -E"
|
EGREP="/bin/grep -E"
|
||||||
|
|
||||||
# A literal string matcher.
|
# A literal string matcher.
|
||||||
FGREP="/usr/bin/grep -F"
|
FGREP="/bin/grep -F"
|
||||||
|
|
||||||
# A BSD- or MS-compatible name lister.
|
# A BSD- or MS-compatible name lister.
|
||||||
NM="/opt/local/bin/nm"
|
NM="/usr/bin/nm -B"
|
||||||
|
|
||||||
# Whether we need soft or hard links.
|
# Whether we need soft or hard links.
|
||||||
LN_S="ln -s"
|
LN_S="ln -s"
|
||||||
|
|
||||||
# What is the maximum length of a command?
|
# What is the maximum length of a command?
|
||||||
max_cmd_len=196608
|
max_cmd_len=3458764513820540925
|
||||||
|
|
||||||
# Object file suffix (normally "o").
|
# Object file suffix (normally "o").
|
||||||
objext=o
|
objext=o
|
||||||
|
@ -120,7 +120,7 @@ to_host_file_cmd=func_convert_file_noop
|
||||||
to_tool_file_cmd=func_convert_file_noop
|
to_tool_file_cmd=func_convert_file_noop
|
||||||
|
|
||||||
# An object symbol dumper.
|
# An object symbol dumper.
|
||||||
OBJDUMP="false"
|
OBJDUMP="objdump"
|
||||||
|
|
||||||
# Method to check whether dependent libraries are shared objects.
|
# Method to check whether dependent libraries are shared objects.
|
||||||
deplibs_check_method="pass_all"
|
deplibs_check_method="pass_all"
|
||||||
|
@ -147,7 +147,7 @@ AR="ar"
|
||||||
AR_FLAGS="cru"
|
AR_FLAGS="cru"
|
||||||
|
|
||||||
# How to feed a file listing to the archiver.
|
# How to feed a file listing to the archiver.
|
||||||
archiver_list_spec=""
|
archiver_list_spec="@"
|
||||||
|
|
||||||
# A symbol stripping program.
|
# A symbol stripping program.
|
||||||
STRIP="strip"
|
STRIP="strip"
|
||||||
|
@ -158,28 +158,28 @@ old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$tool_oldlib"
|
||||||
old_postuninstall_cmds=""
|
old_postuninstall_cmds=""
|
||||||
|
|
||||||
# Whether to use a lock for old archive extraction.
|
# Whether to use a lock for old archive extraction.
|
||||||
lock_old_archive_extraction=yes
|
lock_old_archive_extraction=no
|
||||||
|
|
||||||
# A C compiler.
|
# A C compiler.
|
||||||
LTCC="gcc"
|
LTCC="gcc -std=gnu99"
|
||||||
|
|
||||||
# LTCC compiler flags.
|
# LTCC compiler flags.
|
||||||
LTCFLAGS="-g -O2"
|
LTCFLAGS="-g -O2"
|
||||||
|
|
||||||
# Take the output of nm and produce a listing of raw symbols and C names.
|
# Take the output of nm and produce a listing of raw symbols and C names.
|
||||||
global_symbol_pipe="sed -n -e 's/^.*[ ]\\([BCDEGRST][BCDEGRST]*\\)[ ][ ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 \\2/p' | sed '/ __gnu_lto/d'"
|
global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
|
||||||
|
|
||||||
# Transform the output of nm in a proper C declaration.
|
# Transform the output of nm in a proper C declaration.
|
||||||
global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[BCDEGRST]* .* \\(.*\\)\$/extern char \\1;/p'"
|
global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'"
|
||||||
|
|
||||||
# Transform the output of nm in a C name address pair.
|
# Transform the output of nm in a C name address pair.
|
||||||
global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'"
|
global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'"
|
||||||
|
|
||||||
# Transform the output of nm in a C name address pair when lib prefix is needed.
|
# Transform the output of nm in a C name address pair when lib prefix is needed.
|
||||||
global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"lib\\2\", (void *) \\&\\2},/p'"
|
global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"lib\\2\", (void *) \\&\\2},/p'"
|
||||||
|
|
||||||
# Specify filename containing input files for $NM.
|
# Specify filename containing input files for $NM.
|
||||||
nm_file_list_spec=""
|
nm_file_list_spec="@"
|
||||||
|
|
||||||
# The root where to search for dependent libraries,and in which our libraries should be installed.
|
# The root where to search for dependent libraries,and in which our libraries should be installed.
|
||||||
lt_sysroot=
|
lt_sysroot=
|
||||||
|
@ -197,32 +197,32 @@ need_locks="no"
|
||||||
MANIFEST_TOOL=":"
|
MANIFEST_TOOL=":"
|
||||||
|
|
||||||
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
|
||||||
DSYMUTIL="dsymutil"
|
DSYMUTIL=""
|
||||||
|
|
||||||
# Tool to change global to local symbols on Mac OS X.
|
# Tool to change global to local symbols on Mac OS X.
|
||||||
NMEDIT="nmedit"
|
NMEDIT=""
|
||||||
|
|
||||||
# Tool to manipulate fat objects and archives on Mac OS X.
|
# Tool to manipulate fat objects and archives on Mac OS X.
|
||||||
LIPO="lipo"
|
LIPO=""
|
||||||
|
|
||||||
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
|
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
|
||||||
OTOOL="otool"
|
OTOOL=""
|
||||||
|
|
||||||
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
|
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
|
||||||
OTOOL64=":"
|
OTOOL64=""
|
||||||
|
|
||||||
# Old archive suffix (normally "a").
|
# Old archive suffix (normally "a").
|
||||||
libext=a
|
libext=a
|
||||||
|
|
||||||
# Shared library suffix (normally ".so").
|
# Shared library suffix (normally ".so").
|
||||||
shrext_cmds="\`test .\$module = .yes && echo .so || echo .dylib\`"
|
shrext_cmds=".so"
|
||||||
|
|
||||||
# The commands to extract the exported symbol list from a shared archive.
|
# The commands to extract the exported symbol list from a shared archive.
|
||||||
extract_expsyms_cmds=""
|
extract_expsyms_cmds=""
|
||||||
|
|
||||||
# Variables whose values should be saved in libtool wrapper scripts and
|
# Variables whose values should be saved in libtool wrapper scripts and
|
||||||
# restored at link time.
|
# restored at link time.
|
||||||
variables_saved_for_relink="PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
||||||
|
|
||||||
# Do we need the "lib" prefix for modules?
|
# Do we need the "lib" prefix for modules?
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
|
@ -231,26 +231,26 @@ need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
|
|
||||||
# Library versioning type.
|
# Library versioning type.
|
||||||
version_type=darwin
|
version_type=linux
|
||||||
|
|
||||||
# Shared library runtime path variable.
|
# Shared library runtime path variable.
|
||||||
runpath_var=
|
runpath_var=LD_RUN_PATH
|
||||||
|
|
||||||
# Shared library path variable.
|
# Shared library path variable.
|
||||||
shlibpath_var=DYLD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
|
|
||||||
# Is shlibpath searched before the hard-coded library search path?
|
# Is shlibpath searched before the hard-coded library search path?
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=no
|
||||||
|
|
||||||
# Format of library name prefix.
|
# Format of library name prefix.
|
||||||
libname_spec="lib\$name"
|
libname_spec="lib\$name"
|
||||||
|
|
||||||
# List of archive names. First name is the real one, the rest are links.
|
# List of archive names. First name is the real one, the rest are links.
|
||||||
# The last name is the one that the linker finds with -lNAME
|
# The last name is the one that the linker finds with -lNAME
|
||||||
library_names_spec="\${libname}\${release}\${major}\$shared_ext \${libname}\$shared_ext"
|
library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}"
|
||||||
|
|
||||||
# The coded name of the library, if different from the real name.
|
# The coded name of the library, if different from the real name.
|
||||||
soname_spec="\${libname}\${release}\${major}\$shared_ext"
|
soname_spec="\${libname}\${release}\${shared_ext}\$major"
|
||||||
|
|
||||||
# Permission mode override for installation of shared libraries.
|
# Permission mode override for installation of shared libraries.
|
||||||
install_override_mode=""
|
install_override_mode=""
|
||||||
|
@ -262,20 +262,20 @@ postinstall_cmds=""
|
||||||
postuninstall_cmds=""
|
postuninstall_cmds=""
|
||||||
|
|
||||||
# Commands used to finish a libtool library installation in a directory.
|
# Commands used to finish a libtool library installation in a directory.
|
||||||
finish_cmds=""
|
finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir"
|
||||||
|
|
||||||
# As "finish_cmds", except a single script fragment to be evaled but
|
# As "finish_cmds", except a single script fragment to be evaled but
|
||||||
# not shown.
|
# not shown.
|
||||||
finish_eval=""
|
finish_eval=""
|
||||||
|
|
||||||
# Whether we should hardcode library paths into libraries.
|
# Whether we should hardcode library paths into libraries.
|
||||||
hardcode_into_libs=no
|
hardcode_into_libs=yes
|
||||||
|
|
||||||
# Compile-time system search path for libraries.
|
# Compile-time system search path for libraries.
|
||||||
sys_lib_search_path_spec="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1 /usr/local/lib"
|
sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.8 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib "
|
||||||
|
|
||||||
# Run-time system search path for libraries.
|
# Run-time system search path for libraries.
|
||||||
sys_lib_dlsearch_path_spec="/usr/local/lib /lib /usr/lib"
|
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa "
|
||||||
|
|
||||||
# Whether dlopen is supported.
|
# Whether dlopen is supported.
|
||||||
dlopen_support=unknown
|
dlopen_support=unknown
|
||||||
|
@ -287,16 +287,16 @@ dlopen_self=unknown
|
||||||
dlopen_self_static=unknown
|
dlopen_self_static=unknown
|
||||||
|
|
||||||
# Commands to strip libraries.
|
# Commands to strip libraries.
|
||||||
old_striplib="strip -S"
|
old_striplib="strip --strip-debug"
|
||||||
striplib="strip -x"
|
striplib="strip --strip-unneeded"
|
||||||
|
|
||||||
|
|
||||||
# The linker used to build libraries.
|
# The linker used to build libraries.
|
||||||
LD="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld"
|
LD="/usr/bin/ld -m elf_x86_64"
|
||||||
|
|
||||||
# How to create reloadable object files.
|
# How to create reloadable object files.
|
||||||
reload_flag=" -r"
|
reload_flag=" -r"
|
||||||
reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs"
|
reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
|
||||||
|
|
||||||
# Commands used to build an old-style archive.
|
# Commands used to build an old-style archive.
|
||||||
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"
|
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"
|
||||||
|
@ -308,16 +308,16 @@ CC="gcc"
|
||||||
with_gcc=yes
|
with_gcc=yes
|
||||||
|
|
||||||
# Compiler flag to turn off builtin functions.
|
# Compiler flag to turn off builtin functions.
|
||||||
no_builtin_flag=" -fno-builtin -fno-rtti -fno-exceptions"
|
no_builtin_flag=" -fno-builtin"
|
||||||
|
|
||||||
# Additional compiler flags for building library objects.
|
# Additional compiler flags for building library objects.
|
||||||
pic_flag=" -fno-common -DPIC"
|
pic_flag=" -fPIC -DPIC"
|
||||||
|
|
||||||
# How to pass a linker flag through the compiler.
|
# How to pass a linker flag through the compiler.
|
||||||
wl="-Wl,"
|
wl="-Wl,"
|
||||||
|
|
||||||
# Compiler flag to prevent dynamic linking.
|
# Compiler flag to prevent dynamic linking.
|
||||||
link_static_flag=""
|
link_static_flag="-static"
|
||||||
|
|
||||||
# Does compiler simultaneously support -c and -o options?
|
# Does compiler simultaneously support -c and -o options?
|
||||||
compiler_c_o="yes"
|
compiler_c_o="yes"
|
||||||
|
@ -329,10 +329,10 @@ build_libtool_need_lc=no
|
||||||
allow_libtool_libs_with_static_runtimes=no
|
allow_libtool_libs_with_static_runtimes=no
|
||||||
|
|
||||||
# Compiler flag to allow reflexive dlopens.
|
# Compiler flag to allow reflexive dlopens.
|
||||||
export_dynamic_flag_spec=""
|
export_dynamic_flag_spec="\${wl}--export-dynamic"
|
||||||
|
|
||||||
# Compiler flag to generate shared objects directly from archives.
|
# Compiler flag to generate shared objects directly from archives.
|
||||||
whole_archive_flag_spec="\`for conv in \$convenience\\\"\\\"; do test -n \\\"\$conv\\\" && new_convenience=\\\"\$new_convenience \${wl}-force_load,\$conv\\\"; done; func_echo_all \\\"\$new_convenience\\\"\`"
|
whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
|
||||||
|
|
||||||
# Whether the compiler copes with passing no objects directly.
|
# Whether the compiler copes with passing no objects directly.
|
||||||
compiler_needs_object="no"
|
compiler_needs_object="no"
|
||||||
|
@ -344,26 +344,29 @@ old_archive_from_new_cmds=""
|
||||||
old_archive_from_expsyms_cmds=""
|
old_archive_from_expsyms_cmds=""
|
||||||
|
|
||||||
# Commands used to build a shared archive.
|
# Commands used to build a shared archive.
|
||||||
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module"
|
archive_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
|
||||||
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym"
|
archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~
|
||||||
|
cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~
|
||||||
|
echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~
|
||||||
|
\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib"
|
||||||
|
|
||||||
# Commands used to build a loadable module if different from building
|
# Commands used to build a loadable module if different from building
|
||||||
# a shared archive.
|
# a shared archive.
|
||||||
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags"
|
module_cmds=""
|
||||||
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym"
|
module_expsym_cmds=""
|
||||||
|
|
||||||
# Whether we are building with GNU ld or not.
|
# Whether we are building with GNU ld or not.
|
||||||
with_gnu_ld="no"
|
with_gnu_ld="yes"
|
||||||
|
|
||||||
# Flag that allows shared libraries with undefined symbols to be built.
|
# Flag that allows shared libraries with undefined symbols to be built.
|
||||||
allow_undefined_flag="\${wl}-undefined \${wl}dynamic_lookup"
|
allow_undefined_flag=""
|
||||||
|
|
||||||
# Flag that enforces no undefined symbols.
|
# Flag that enforces no undefined symbols.
|
||||||
no_undefined_flag=""
|
no_undefined_flag=""
|
||||||
|
|
||||||
# Flag to hardcode $libdir into a binary during linking.
|
# Flag to hardcode $libdir into a binary during linking.
|
||||||
# This must work even if $libdir does not exist
|
# This must work even if $libdir does not exist
|
||||||
hardcode_libdir_flag_spec=""
|
hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
|
||||||
|
|
||||||
# Whether we need a single "-rpath" flag with a separated argument.
|
# Whether we need a single "-rpath" flag with a separated argument.
|
||||||
hardcode_libdir_separator=""
|
hardcode_libdir_separator=""
|
||||||
|
@ -389,14 +392,14 @@ hardcode_shlibpath_var=unsupported
|
||||||
# Set to "yes" if building a shared library automatically hardcodes DIR
|
# Set to "yes" if building a shared library automatically hardcodes DIR
|
||||||
# into the library and all subsequent libraries and executables linked
|
# into the library and all subsequent libraries and executables linked
|
||||||
# against it.
|
# against it.
|
||||||
hardcode_automatic=yes
|
hardcode_automatic=no
|
||||||
|
|
||||||
# Set to yes if linker adds runtime paths of dependent libraries
|
# Set to yes if linker adds runtime paths of dependent libraries
|
||||||
# to runtime path list.
|
# to runtime path list.
|
||||||
inherit_rpath=no
|
inherit_rpath=no
|
||||||
|
|
||||||
# Whether libtool must link a program against all its dependency libraries.
|
# Whether libtool must link a program against all its dependency libraries.
|
||||||
link_all_deplibs=yes
|
link_all_deplibs=no
|
||||||
|
|
||||||
# Set to "yes" if exported symbols are required.
|
# Set to "yes" if exported symbols are required.
|
||||||
always_export_symbols=no
|
always_export_symbols=no
|
||||||
|
@ -496,7 +499,7 @@ hardcode_action=immediate
|
||||||
# compiler: $LTCC
|
# compiler: $LTCC
|
||||||
# compiler flags: $LTCFLAGS
|
# compiler flags: $LTCFLAGS
|
||||||
# linker: $LD (gnu? $with_gnu_ld)
|
# linker: $LD (gnu? $with_gnu_ld)
|
||||||
# $progname: (GNU libtool) 2.4.2
|
# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1.3ubuntu1
|
||||||
# automake: $automake_version
|
# automake: $automake_version
|
||||||
# autoconf: $autoconf_version
|
# autoconf: $autoconf_version
|
||||||
#
|
#
|
||||||
|
@ -506,7 +509,7 @@ hardcode_action=immediate
|
||||||
|
|
||||||
PROGRAM=libtool
|
PROGRAM=libtool
|
||||||
PACKAGE=libtool
|
PACKAGE=libtool
|
||||||
VERSION=2.4.2
|
VERSION="2.4.2 Debian-2.4.2-1.3ubuntu1"
|
||||||
TIMESTAMP=""
|
TIMESTAMP=""
|
||||||
package_revision=1.3337
|
package_revision=1.3337
|
||||||
|
|
||||||
|
@ -1260,7 +1263,7 @@ exec_cmd=
|
||||||
# Append VALUE to the end of shell variable VAR.
|
# Append VALUE to the end of shell variable VAR.
|
||||||
func_append ()
|
func_append ()
|
||||||
{
|
{
|
||||||
eval "${1}+=\${2}"
|
eval "${1}+=\${2}"
|
||||||
} # Extended-shell func_append implementation
|
} # Extended-shell func_append implementation
|
||||||
|
|
||||||
# func_append_quoted var value
|
# func_append_quoted var value
|
||||||
|
@ -1276,7 +1279,7 @@ func_append_quoted ()
|
||||||
# func_arith arithmetic-term...
|
# func_arith arithmetic-term...
|
||||||
func_arith ()
|
func_arith ()
|
||||||
{
|
{
|
||||||
func_arith_result=$(( $* ))
|
func_arith_result=$(( $* ))
|
||||||
} # Extended-shell func_arith implementation
|
} # Extended-shell func_arith implementation
|
||||||
|
|
||||||
|
|
||||||
|
@ -1284,7 +1287,7 @@ func_arith_result=$(( $* ))
|
||||||
# STRING may not start with a hyphen.
|
# STRING may not start with a hyphen.
|
||||||
func_len ()
|
func_len ()
|
||||||
{
|
{
|
||||||
func_len_result=${#1}
|
func_len_result=${#1}
|
||||||
} # Extended-shell func_len implementation
|
} # Extended-shell func_len implementation
|
||||||
|
|
||||||
|
|
||||||
|
@ -1301,7 +1304,7 @@ func_lo2o ()
|
||||||
# func_xform libobj-or-source
|
# func_xform libobj-or-source
|
||||||
func_xform ()
|
func_xform ()
|
||||||
{
|
{
|
||||||
func_xform_result=${1%.*}.lo
|
func_xform_result=${1%.*}.lo
|
||||||
} # Extended-shell func_xform implementation
|
} # Extended-shell func_xform implementation
|
||||||
|
|
||||||
|
|
||||||
|
@ -6270,10 +6273,9 @@ func_mode_link ()
|
||||||
# -tp=* Portland pgcc target processor selection
|
# -tp=* Portland pgcc target processor selection
|
||||||
# --sysroot=* for sysroot support
|
# --sysroot=* for sysroot support
|
||||||
# -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
|
# -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
|
||||||
# -stdlib=* select c++ std lib with clang
|
|
||||||
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
|
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
|
||||||
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
|
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
|
||||||
-O*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*)
|
-O*|-flto*|-fwhopr*|-fuse-linker-plugin)
|
||||||
func_quote_for_eval "$arg"
|
func_quote_for_eval "$arg"
|
||||||
arg="$func_quote_for_eval_result"
|
arg="$func_quote_for_eval_result"
|
||||||
compile_command+=" $arg"
|
compile_command+=" $arg"
|
||||||
|
@ -6544,7 +6546,10 @@ func_mode_link ()
|
||||||
case $pass in
|
case $pass in
|
||||||
dlopen) libs="$dlfiles" ;;
|
dlopen) libs="$dlfiles" ;;
|
||||||
dlpreopen) libs="$dlprefiles" ;;
|
dlpreopen) libs="$dlprefiles" ;;
|
||||||
link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
|
link)
|
||||||
|
libs="$deplibs %DEPLIBS%"
|
||||||
|
test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
if test "$linkmode,$pass" = "lib,dlpreopen"; then
|
if test "$linkmode,$pass" = "lib,dlpreopen"; then
|
||||||
|
@ -6864,9 +6869,6 @@ func_mode_link ()
|
||||||
# It is a libtool convenience library, so add in its objects.
|
# It is a libtool convenience library, so add in its objects.
|
||||||
convenience+=" $ladir/$objdir/$old_library"
|
convenience+=" $ladir/$objdir/$old_library"
|
||||||
old_convenience+=" $ladir/$objdir/$old_library"
|
old_convenience+=" $ladir/$objdir/$old_library"
|
||||||
elif test "$linkmode" != prog && test "$linkmode" != lib; then
|
|
||||||
func_fatal_error "\`$lib' is not a convenience library"
|
|
||||||
fi
|
|
||||||
tmp_libs=
|
tmp_libs=
|
||||||
for deplib in $dependency_libs; do
|
for deplib in $dependency_libs; do
|
||||||
deplibs="$deplib $deplibs"
|
deplibs="$deplib $deplibs"
|
||||||
|
@ -6877,6 +6879,9 @@ func_mode_link ()
|
||||||
fi
|
fi
|
||||||
tmp_libs+=" $deplib"
|
tmp_libs+=" $deplib"
|
||||||
done
|
done
|
||||||
|
elif test "$linkmode" != prog && test "$linkmode" != lib; then
|
||||||
|
func_fatal_error "\`$lib' is not a convenience library"
|
||||||
|
fi
|
||||||
continue
|
continue
|
||||||
fi # $pass = conv
|
fi # $pass = conv
|
||||||
|
|
||||||
|
@ -7769,6 +7774,9 @@ func_mode_link ()
|
||||||
revision="$number_minor"
|
revision="$number_minor"
|
||||||
lt_irix_increment=no
|
lt_irix_increment=no
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
func_fatal_configuration "$modename: unknown library version type \`$version_type'"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
no)
|
no)
|
||||||
|
|
21
ltmain.sh
21
ltmain.sh
|
@ -70,7 +70,7 @@
|
||||||
# compiler: $LTCC
|
# compiler: $LTCC
|
||||||
# compiler flags: $LTCFLAGS
|
# compiler flags: $LTCFLAGS
|
||||||
# linker: $LD (gnu? $with_gnu_ld)
|
# linker: $LD (gnu? $with_gnu_ld)
|
||||||
# $progname: (GNU libtool) 2.4.2
|
# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1.3ubuntu1
|
||||||
# automake: $automake_version
|
# automake: $automake_version
|
||||||
# autoconf: $autoconf_version
|
# autoconf: $autoconf_version
|
||||||
#
|
#
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
|
|
||||||
PROGRAM=libtool
|
PROGRAM=libtool
|
||||||
PACKAGE=libtool
|
PACKAGE=libtool
|
||||||
VERSION=2.4.2
|
VERSION="2.4.2 Debian-2.4.2-1.3ubuntu1"
|
||||||
TIMESTAMP=""
|
TIMESTAMP=""
|
||||||
package_revision=1.3337
|
package_revision=1.3337
|
||||||
|
|
||||||
|
@ -5851,10 +5851,9 @@ func_mode_link ()
|
||||||
# -tp=* Portland pgcc target processor selection
|
# -tp=* Portland pgcc target processor selection
|
||||||
# --sysroot=* for sysroot support
|
# --sysroot=* for sysroot support
|
||||||
# -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
|
# -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
|
||||||
# -stdlib=* select c++ std lib with clang
|
|
||||||
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
|
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
|
||||||
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
|
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
|
||||||
-O*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*)
|
-O*|-flto*|-fwhopr*|-fuse-linker-plugin)
|
||||||
func_quote_for_eval "$arg"
|
func_quote_for_eval "$arg"
|
||||||
arg="$func_quote_for_eval_result"
|
arg="$func_quote_for_eval_result"
|
||||||
func_append compile_command " $arg"
|
func_append compile_command " $arg"
|
||||||
|
@ -6125,7 +6124,10 @@ func_mode_link ()
|
||||||
case $pass in
|
case $pass in
|
||||||
dlopen) libs="$dlfiles" ;;
|
dlopen) libs="$dlfiles" ;;
|
||||||
dlpreopen) libs="$dlprefiles" ;;
|
dlpreopen) libs="$dlprefiles" ;;
|
||||||
link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
|
link)
|
||||||
|
libs="$deplibs %DEPLIBS%"
|
||||||
|
test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
if test "$linkmode,$pass" = "lib,dlpreopen"; then
|
if test "$linkmode,$pass" = "lib,dlpreopen"; then
|
||||||
|
@ -6445,9 +6447,6 @@ func_mode_link ()
|
||||||
# It is a libtool convenience library, so add in its objects.
|
# It is a libtool convenience library, so add in its objects.
|
||||||
func_append convenience " $ladir/$objdir/$old_library"
|
func_append convenience " $ladir/$objdir/$old_library"
|
||||||
func_append old_convenience " $ladir/$objdir/$old_library"
|
func_append old_convenience " $ladir/$objdir/$old_library"
|
||||||
elif test "$linkmode" != prog && test "$linkmode" != lib; then
|
|
||||||
func_fatal_error "\`$lib' is not a convenience library"
|
|
||||||
fi
|
|
||||||
tmp_libs=
|
tmp_libs=
|
||||||
for deplib in $dependency_libs; do
|
for deplib in $dependency_libs; do
|
||||||
deplibs="$deplib $deplibs"
|
deplibs="$deplib $deplibs"
|
||||||
|
@ -6458,6 +6457,9 @@ func_mode_link ()
|
||||||
fi
|
fi
|
||||||
func_append tmp_libs " $deplib"
|
func_append tmp_libs " $deplib"
|
||||||
done
|
done
|
||||||
|
elif test "$linkmode" != prog && test "$linkmode" != lib; then
|
||||||
|
func_fatal_error "\`$lib' is not a convenience library"
|
||||||
|
fi
|
||||||
continue
|
continue
|
||||||
fi # $pass = conv
|
fi # $pass = conv
|
||||||
|
|
||||||
|
@ -7350,6 +7352,9 @@ func_mode_link ()
|
||||||
revision="$number_minor"
|
revision="$number_minor"
|
||||||
lt_irix_increment=no
|
lt_irix_increment=no
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
func_fatal_configuration "$modename: unknown library version type \`$version_type'"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
no)
|
no)
|
||||||
|
|
|
@ -315,7 +315,8 @@ node * r3_tree_lookup(node * tree, char * path, int path_len) {
|
||||||
|
|
||||||
node * n = tree;
|
node * n = tree;
|
||||||
edge * e = NULL;
|
edge * e = NULL;
|
||||||
for ( int i = 0 ; i < tokens->len ; i++ ) {
|
int i = 0;
|
||||||
|
for (; i < tokens->len ; i++ ) {
|
||||||
e = r3_node_find_edge(n, str_array_fetch(tokens, i) );
|
e = r3_node_find_edge(n, str_array_fetch(tokens, i) );
|
||||||
if (!e) {
|
if (!e) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue