got rid of c++ stuffs from configure.ac
This commit is contained in:
		
							
								
								
									
										128
									
								
								mio/ac/config.guess
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										128
									
								
								mio/ac/config.guess
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -2,7 +2,7 @@
 | 
			
		||||
# Attempt to guess a canonical system name.
 | 
			
		||||
#   Copyright 1992-2018 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
timestamp='2018-08-29'
 | 
			
		||||
timestamp='2018-02-24'
 | 
			
		||||
 | 
			
		||||
# This file is free software; you can redistribute it and/or modify it
 | 
			
		||||
# under the terms of the GNU General Public License as published by
 | 
			
		||||
@ -84,6 +84,8 @@ if test $# != 0; then
 | 
			
		||||
  exit 1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
trap 'exit 1' 1 2 15
 | 
			
		||||
 | 
			
		||||
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
 | 
			
		||||
# compiler to aid in system detection is discouraged as it requires
 | 
			
		||||
# temporary files to be created and, as you can see below, it is a
 | 
			
		||||
@ -94,39 +96,34 @@ fi
 | 
			
		||||
 | 
			
		||||
# Portable tmp directory creation inspired by the Autoconf team.
 | 
			
		||||
 | 
			
		||||
tmp=
 | 
			
		||||
# shellcheck disable=SC2172
 | 
			
		||||
trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15
 | 
			
		||||
trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0
 | 
			
		||||
 | 
			
		||||
set_cc_for_build() {
 | 
			
		||||
    : "${TMPDIR=/tmp}"
 | 
			
		||||
    # shellcheck disable=SC2039
 | 
			
		||||
    { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
 | 
			
		||||
	{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
 | 
			
		||||
	{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
 | 
			
		||||
	{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
 | 
			
		||||
    dummy=$tmp/dummy
 | 
			
		||||
    case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
 | 
			
		||||
	,,)    echo "int x;" > "$dummy.c"
 | 
			
		||||
	       for driver in cc gcc c89 c99 ; do
 | 
			
		||||
		   if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
 | 
			
		||||
		       CC_FOR_BUILD="$driver"
 | 
			
		||||
		       break
 | 
			
		||||
		   fi
 | 
			
		||||
	       done
 | 
			
		||||
	       if test x"$CC_FOR_BUILD" = x ; then
 | 
			
		||||
		   CC_FOR_BUILD=no_compiler_found
 | 
			
		||||
	       fi
 | 
			
		||||
	       ;;
 | 
			
		||||
	,,*)   CC_FOR_BUILD=$CC ;;
 | 
			
		||||
	,*,*)  CC_FOR_BUILD=$HOST_CC ;;
 | 
			
		||||
    esac
 | 
			
		||||
}
 | 
			
		||||
set_cc_for_build='
 | 
			
		||||
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
 | 
			
		||||
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
 | 
			
		||||
: ${TMPDIR=/tmp} ;
 | 
			
		||||
 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
 | 
			
		||||
 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
 | 
			
		||||
 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
 | 
			
		||||
 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
 | 
			
		||||
dummy=$tmp/dummy ;
 | 
			
		||||
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
 | 
			
		||||
case $CC_FOR_BUILD,$HOST_CC,$CC in
 | 
			
		||||
 ,,)    echo "int x;" > "$dummy.c" ;
 | 
			
		||||
	for c in cc gcc c89 c99 ; do
 | 
			
		||||
	  if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
 | 
			
		||||
	     CC_FOR_BUILD="$c"; break ;
 | 
			
		||||
	  fi ;
 | 
			
		||||
	done ;
 | 
			
		||||
	if test x"$CC_FOR_BUILD" = x ; then
 | 
			
		||||
	  CC_FOR_BUILD=no_compiler_found ;
 | 
			
		||||
	fi
 | 
			
		||||
	;;
 | 
			
		||||
 ,,*)   CC_FOR_BUILD=$CC ;;
 | 
			
		||||
 ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
 | 
			
		||||
esac ; set_cc_for_build= ;'
 | 
			
		||||
 | 
			
		||||
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
 | 
			
		||||
# (ghazi@noc.rutgers.edu 1994-08-24)
 | 
			
		||||
if test -f /.attbin/uname ; then
 | 
			
		||||
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
 | 
			
		||||
	PATH=$PATH:/.attbin ; export PATH
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
@ -141,7 +138,7 @@ Linux|GNU|GNU/*)
 | 
			
		||||
	# We could probably try harder.
 | 
			
		||||
	LIBC=gnu
 | 
			
		||||
 | 
			
		||||
	set_cc_for_build
 | 
			
		||||
	eval "$set_cc_for_build"
 | 
			
		||||
	cat <<-EOF > "$dummy.c"
 | 
			
		||||
	#include <features.h>
 | 
			
		||||
	#if defined(__UCLIBC__)
 | 
			
		||||
@ -202,7 +199,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
 | 
			
		||||
		os=netbsdelf
 | 
			
		||||
		;;
 | 
			
		||||
	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
 | 
			
		||||
		set_cc_for_build
 | 
			
		||||
		eval "$set_cc_for_build"
 | 
			
		||||
		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
 | 
			
		||||
			| grep -q __ELF__
 | 
			
		||||
		then
 | 
			
		||||
@ -240,7 +237,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
 | 
			
		||||
	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
 | 
			
		||||
	# contains redundant information, the shorter form:
 | 
			
		||||
	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
 | 
			
		||||
	echo "$machine-${os}${release}${abi-}"
 | 
			
		||||
	echo "$machine-${os}${release}${abi}"
 | 
			
		||||
	exit ;;
 | 
			
		||||
    *:Bitrig:*:*)
 | 
			
		||||
	UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
 | 
			
		||||
@ -392,15 +389,20 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
 | 
			
		||||
	echo i386-pc-auroraux"$UNAME_RELEASE"
 | 
			
		||||
	exit ;;
 | 
			
		||||
    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
 | 
			
		||||
	UNAME_REL="`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
 | 
			
		||||
	case `isainfo -b` in
 | 
			
		||||
	    32)
 | 
			
		||||
		echo i386-pc-solaris2"$UNAME_REL"
 | 
			
		||||
		;;
 | 
			
		||||
	    64)
 | 
			
		||||
		echo x86_64-pc-solaris2"$UNAME_REL"
 | 
			
		||||
		;;
 | 
			
		||||
	esac
 | 
			
		||||
	eval "$set_cc_for_build"
 | 
			
		||||
	SUN_ARCH=i386
 | 
			
		||||
	# If there is a compiler, see if it is configured for 64-bit objects.
 | 
			
		||||
	# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
 | 
			
		||||
	# This test works for both compilers.
 | 
			
		||||
	if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
 | 
			
		||||
	    if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
 | 
			
		||||
		(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
 | 
			
		||||
		grep IS_64BIT_ARCH >/dev/null
 | 
			
		||||
	    then
 | 
			
		||||
		SUN_ARCH=x86_64
 | 
			
		||||
	    fi
 | 
			
		||||
	fi
 | 
			
		||||
	echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
 | 
			
		||||
	exit ;;
 | 
			
		||||
    sun4*:SunOS:6*:*)
 | 
			
		||||
	# According to config.sub, this is the proper way to canonicalize
 | 
			
		||||
@ -480,7 +482,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
 | 
			
		||||
	echo clipper-intergraph-clix"$UNAME_RELEASE"
 | 
			
		||||
	exit ;;
 | 
			
		||||
    mips:*:*:UMIPS | mips:*:*:RISCos)
 | 
			
		||||
	set_cc_for_build
 | 
			
		||||
	eval "$set_cc_for_build"
 | 
			
		||||
	sed 's/^	//' << EOF > "$dummy.c"
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
#include <stdio.h>  /* for printf() prototype */
 | 
			
		||||
@ -577,7 +579,7 @@ EOF
 | 
			
		||||
	exit ;;
 | 
			
		||||
    *:AIX:2:3)
 | 
			
		||||
	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
 | 
			
		||||
		set_cc_for_build
 | 
			
		||||
		eval "$set_cc_for_build"
 | 
			
		||||
		sed 's/^		//' << EOF > "$dummy.c"
 | 
			
		||||
		#include <sys/systemcfg.h>
 | 
			
		||||
 | 
			
		||||
@ -658,7 +660,7 @@ EOF
 | 
			
		||||
		    esac
 | 
			
		||||
		fi
 | 
			
		||||
		if [ "$HP_ARCH" = "" ]; then
 | 
			
		||||
		    set_cc_for_build
 | 
			
		||||
		    eval "$set_cc_for_build"
 | 
			
		||||
		    sed 's/^		//' << EOF > "$dummy.c"
 | 
			
		||||
 | 
			
		||||
		#define _HPUX_SOURCE
 | 
			
		||||
@ -698,7 +700,7 @@ EOF
 | 
			
		||||
	esac
 | 
			
		||||
	if [ "$HP_ARCH" = hppa2.0w ]
 | 
			
		||||
	then
 | 
			
		||||
	    set_cc_for_build
 | 
			
		||||
	    eval "$set_cc_for_build"
 | 
			
		||||
 | 
			
		||||
	    # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
 | 
			
		||||
	    # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
 | 
			
		||||
@ -724,7 +726,7 @@ EOF
 | 
			
		||||
	echo ia64-hp-hpux"$HPUX_REV"
 | 
			
		||||
	exit ;;
 | 
			
		||||
    3050*:HI-UX:*:*)
 | 
			
		||||
	set_cc_for_build
 | 
			
		||||
	eval "$set_cc_for_build"
 | 
			
		||||
	sed 's/^	//' << EOF > "$dummy.c"
 | 
			
		||||
	#include <unistd.h>
 | 
			
		||||
	int
 | 
			
		||||
@ -838,17 +840,6 @@ EOF
 | 
			
		||||
    *:BSD/OS:*:*)
 | 
			
		||||
	echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
 | 
			
		||||
	exit ;;
 | 
			
		||||
    arm:FreeBSD:*:*)
 | 
			
		||||
	UNAME_PROCESSOR=`uname -p`
 | 
			
		||||
	set_cc_for_build
 | 
			
		||||
	if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
 | 
			
		||||
	    | grep -q __ARM_PCS_VFP
 | 
			
		||||
	then
 | 
			
		||||
	    echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi
 | 
			
		||||
	else
 | 
			
		||||
	    echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf
 | 
			
		||||
	fi
 | 
			
		||||
	exit ;;
 | 
			
		||||
    *:FreeBSD:*:*)
 | 
			
		||||
	UNAME_PROCESSOR=`/usr/bin/uname -p`
 | 
			
		||||
	case "$UNAME_PROCESSOR" in
 | 
			
		||||
@ -903,8 +894,8 @@ EOF
 | 
			
		||||
	# other systems with GNU libc and userland
 | 
			
		||||
	echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
 | 
			
		||||
	exit ;;
 | 
			
		||||
    *:Minix:*:*)
 | 
			
		||||
	echo "$UNAME_MACHINE"-unknown-minix
 | 
			
		||||
    i*86:Minix:*:*)
 | 
			
		||||
	echo "$UNAME_MACHINE"-pc-minix
 | 
			
		||||
	exit ;;
 | 
			
		||||
    aarch64:Linux:*:*)
 | 
			
		||||
	echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
 | 
			
		||||
@ -931,7 +922,7 @@ EOF
 | 
			
		||||
	echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
 | 
			
		||||
	exit ;;
 | 
			
		||||
    arm*:Linux:*:*)
 | 
			
		||||
	set_cc_for_build
 | 
			
		||||
	eval "$set_cc_for_build"
 | 
			
		||||
	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
 | 
			
		||||
	    | grep -q __ARM_EABI__
 | 
			
		||||
	then
 | 
			
		||||
@ -980,7 +971,7 @@ EOF
 | 
			
		||||
	echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
 | 
			
		||||
	exit ;;
 | 
			
		||||
    mips:Linux:*:* | mips64:Linux:*:*)
 | 
			
		||||
	set_cc_for_build
 | 
			
		||||
	eval "$set_cc_for_build"
 | 
			
		||||
	sed 's/^	//' << EOF > "$dummy.c"
 | 
			
		||||
	#undef CPU
 | 
			
		||||
	#undef ${UNAME_MACHINE}
 | 
			
		||||
@ -1055,7 +1046,11 @@ EOF
 | 
			
		||||
	echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
 | 
			
		||||
	exit ;;
 | 
			
		||||
    x86_64:Linux:*:*)
 | 
			
		||||
	echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
 | 
			
		||||
	if objdump -f /bin/sh | grep -q elf32-x86-64; then
 | 
			
		||||
	    echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
 | 
			
		||||
	else
 | 
			
		||||
	    echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
 | 
			
		||||
	fi
 | 
			
		||||
	exit ;;
 | 
			
		||||
    xtensa*:Linux:*:*)
 | 
			
		||||
	echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
 | 
			
		||||
@ -1294,7 +1289,7 @@ EOF
 | 
			
		||||
	exit ;;
 | 
			
		||||
    *:Darwin:*:*)
 | 
			
		||||
	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
 | 
			
		||||
	set_cc_for_build
 | 
			
		||||
	eval "$set_cc_for_build"
 | 
			
		||||
	if test "$UNAME_PROCESSOR" = unknown ; then
 | 
			
		||||
	    UNAME_PROCESSOR=powerpc
 | 
			
		||||
	fi
 | 
			
		||||
@ -1367,7 +1362,6 @@ EOF
 | 
			
		||||
	# "uname -m" is not consistent, so use $cputype instead. 386
 | 
			
		||||
	# is converted to i386 for consistency with other x86
 | 
			
		||||
	# operating systems.
 | 
			
		||||
	# shellcheck disable=SC2154
 | 
			
		||||
	if test "$cputype" = 386; then
 | 
			
		||||
	    UNAME_MACHINE=i386
 | 
			
		||||
	else
 | 
			
		||||
@ -1479,7 +1473,7 @@ EOF
 | 
			
		||||
exit 1
 | 
			
		||||
 | 
			
		||||
# Local variables:
 | 
			
		||||
# eval: (add-hook 'before-save-hook 'time-stamp)
 | 
			
		||||
# eval: (add-hook 'write-file-functions 'time-stamp)
 | 
			
		||||
# time-stamp-start: "timestamp='"
 | 
			
		||||
# time-stamp-format: "%:y-%02m-%02d"
 | 
			
		||||
# time-stamp-end: "'"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2639
									
								
								mio/ac/config.sub
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2639
									
								
								mio/ac/config.sub
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										246
									
								
								mio/ac/ltmain.sh
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										246
									
								
								mio/ac/ltmain.sh
									
									
									
										generated
									
									
									
								
							@ -31,7 +31,7 @@
 | 
			
		||||
 | 
			
		||||
PROGRAM=libtool
 | 
			
		||||
PACKAGE=libtool
 | 
			
		||||
VERSION=2.4.6
 | 
			
		||||
VERSION="2.4.6 Debian-2.4.6-9"
 | 
			
		||||
package_revision=2.4.6
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1370,7 +1370,7 @@ func_lt_ver ()
 | 
			
		||||
#! /bin/sh
 | 
			
		||||
 | 
			
		||||
# Set a version string for this script.
 | 
			
		||||
scriptversion=2014-01-07.03; # UTC
 | 
			
		||||
scriptversion=2015-10-07.11; # UTC
 | 
			
		||||
 | 
			
		||||
# A portable, pluggable option parser for Bourne shell.
 | 
			
		||||
# Written by Gary V. Vaughan, 2010
 | 
			
		||||
@ -1530,6 +1530,8 @@ func_run_hooks ()
 | 
			
		||||
{
 | 
			
		||||
    $debug_cmd
 | 
			
		||||
 | 
			
		||||
    _G_rc_run_hooks=false
 | 
			
		||||
 | 
			
		||||
    case " $hookable_fns " in
 | 
			
		||||
      *" $1 "*) ;;
 | 
			
		||||
      *) func_fatal_error "'$1' does not support hook funcions.n" ;;
 | 
			
		||||
@ -1538,16 +1540,16 @@ func_run_hooks ()
 | 
			
		||||
    eval _G_hook_fns=\$$1_hooks; shift
 | 
			
		||||
 | 
			
		||||
    for _G_hook in $_G_hook_fns; do
 | 
			
		||||
      eval $_G_hook '"$@"'
 | 
			
		||||
 | 
			
		||||
      # store returned options list back into positional
 | 
			
		||||
      # parameters for next 'cmd' execution.
 | 
			
		||||
      eval _G_hook_result=\$${_G_hook}_result
 | 
			
		||||
      eval set dummy "$_G_hook_result"; shift
 | 
			
		||||
      if eval $_G_hook '"$@"'; then
 | 
			
		||||
        # store returned options list back into positional
 | 
			
		||||
        # parameters for next 'cmd' execution.
 | 
			
		||||
        eval _G_hook_result=\$${_G_hook}_result
 | 
			
		||||
        eval set dummy "$_G_hook_result"; shift
 | 
			
		||||
        _G_rc_run_hooks=:
 | 
			
		||||
      fi
 | 
			
		||||
    done
 | 
			
		||||
 | 
			
		||||
    func_quote_for_eval ${1+"$@"}
 | 
			
		||||
    func_run_hooks_result=$func_quote_for_eval_result
 | 
			
		||||
    $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1557,10 +1559,16 @@ func_run_hooks ()
 | 
			
		||||
## --------------- ##
 | 
			
		||||
 | 
			
		||||
# In order to add your own option parsing hooks, you must accept the
 | 
			
		||||
# full positional parameter list in your hook function, remove any
 | 
			
		||||
# options that you action, and then pass back the remaining unprocessed
 | 
			
		||||
# full positional parameter list in your hook function, you may remove/edit
 | 
			
		||||
# any options that you action, and then pass back the remaining unprocessed
 | 
			
		||||
# options in '<hooked_function_name>_result', escaped suitably for
 | 
			
		||||
# 'eval'.  Like this:
 | 
			
		||||
# 'eval'.  In this case you also must return $EXIT_SUCCESS to let the
 | 
			
		||||
# hook's caller know that it should pay attention to
 | 
			
		||||
# '<hooked_function_name>_result'.  Returning $EXIT_FAILURE signalizes that
 | 
			
		||||
# arguments are left untouched by the hook and therefore caller will ignore the
 | 
			
		||||
# result variable.
 | 
			
		||||
#
 | 
			
		||||
# Like this:
 | 
			
		||||
#
 | 
			
		||||
#    my_options_prep ()
 | 
			
		||||
#    {
 | 
			
		||||
@ -1570,9 +1578,11 @@ func_run_hooks ()
 | 
			
		||||
#        usage_message=$usage_message'
 | 
			
		||||
#      -s, --silent       don'\''t print informational messages
 | 
			
		||||
#    '
 | 
			
		||||
#
 | 
			
		||||
#        func_quote_for_eval ${1+"$@"}
 | 
			
		||||
#        my_options_prep_result=$func_quote_for_eval_result
 | 
			
		||||
#        # No change in '$@' (ignored completely by this hook).  There is
 | 
			
		||||
#        # no need to do the equivalent (but slower) action:
 | 
			
		||||
#        # func_quote_for_eval ${1+"$@"}
 | 
			
		||||
#        # my_options_prep_result=$func_quote_for_eval_result
 | 
			
		||||
#        false
 | 
			
		||||
#    }
 | 
			
		||||
#    func_add_hook func_options_prep my_options_prep
 | 
			
		||||
#
 | 
			
		||||
@ -1581,25 +1591,37 @@ func_run_hooks ()
 | 
			
		||||
#    {
 | 
			
		||||
#        $debug_cmd
 | 
			
		||||
#
 | 
			
		||||
#        args_changed=false
 | 
			
		||||
#
 | 
			
		||||
#        # Note that for efficiency, we parse as many options as we can
 | 
			
		||||
#        # recognise in a loop before passing the remainder back to the
 | 
			
		||||
#        # caller on the first unrecognised argument we encounter.
 | 
			
		||||
#        while test $# -gt 0; do
 | 
			
		||||
#          opt=$1; shift
 | 
			
		||||
#          case $opt in
 | 
			
		||||
#            --silent|-s) opt_silent=: ;;
 | 
			
		||||
#            --silent|-s) opt_silent=:
 | 
			
		||||
#                         args_changed=:
 | 
			
		||||
#                         ;;
 | 
			
		||||
#            # Separate non-argument short options:
 | 
			
		||||
#            -s*)         func_split_short_opt "$_G_opt"
 | 
			
		||||
#                         set dummy "$func_split_short_opt_name" \
 | 
			
		||||
#                             "-$func_split_short_opt_arg" ${1+"$@"}
 | 
			
		||||
#                         shift
 | 
			
		||||
#                         args_changed=:
 | 
			
		||||
#                         ;;
 | 
			
		||||
#            *)            set dummy "$_G_opt" "$*"; shift; break ;;
 | 
			
		||||
#            *)           # Make sure the first unrecognised option "$_G_opt"
 | 
			
		||||
#                         # is added back to "$@", we could need that later
 | 
			
		||||
#                         # if $args_changed is true.
 | 
			
		||||
#                         set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
 | 
			
		||||
#          esac
 | 
			
		||||
#        done
 | 
			
		||||
#
 | 
			
		||||
#        func_quote_for_eval ${1+"$@"}
 | 
			
		||||
#        my_silent_option_result=$func_quote_for_eval_result
 | 
			
		||||
#        if $args_changed; then
 | 
			
		||||
#          func_quote_for_eval ${1+"$@"}
 | 
			
		||||
#          my_silent_option_result=$func_quote_for_eval_result
 | 
			
		||||
#        fi
 | 
			
		||||
#
 | 
			
		||||
#        $args_changed
 | 
			
		||||
#    }
 | 
			
		||||
#    func_add_hook func_parse_options my_silent_option
 | 
			
		||||
#
 | 
			
		||||
@ -1611,16 +1633,32 @@ func_run_hooks ()
 | 
			
		||||
#        $opt_silent && $opt_verbose && func_fatal_help "\
 | 
			
		||||
#    '--silent' and '--verbose' options are mutually exclusive."
 | 
			
		||||
#
 | 
			
		||||
#        func_quote_for_eval ${1+"$@"}
 | 
			
		||||
#        my_option_validation_result=$func_quote_for_eval_result
 | 
			
		||||
#        false
 | 
			
		||||
#    }
 | 
			
		||||
#    func_add_hook func_validate_options my_option_validation
 | 
			
		||||
#
 | 
			
		||||
# You'll alse need to manually amend $usage_message to reflect the extra
 | 
			
		||||
# You'll also need to manually amend $usage_message to reflect the extra
 | 
			
		||||
# options you parse.  It's preferable to append if you can, so that
 | 
			
		||||
# multiple option parsing hooks can be added safely.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# func_options_finish [ARG]...
 | 
			
		||||
# ----------------------------
 | 
			
		||||
# Finishing the option parse loop (call 'func_options' hooks ATM).
 | 
			
		||||
func_options_finish ()
 | 
			
		||||
{
 | 
			
		||||
    $debug_cmd
 | 
			
		||||
 | 
			
		||||
    _G_func_options_finish_exit=false
 | 
			
		||||
    if func_run_hooks func_options ${1+"$@"}; then
 | 
			
		||||
      func_options_finish_result=$func_run_hooks_result
 | 
			
		||||
      _G_func_options_finish_exit=:
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    $_G_func_options_finish_exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# func_options [ARG]...
 | 
			
		||||
# ---------------------
 | 
			
		||||
# All the functions called inside func_options are hookable. See the
 | 
			
		||||
@ -1630,17 +1668,28 @@ func_options ()
 | 
			
		||||
{
 | 
			
		||||
    $debug_cmd
 | 
			
		||||
 | 
			
		||||
    func_options_prep ${1+"$@"}
 | 
			
		||||
    eval func_parse_options \
 | 
			
		||||
        ${func_options_prep_result+"$func_options_prep_result"}
 | 
			
		||||
    eval func_validate_options \
 | 
			
		||||
        ${func_parse_options_result+"$func_parse_options_result"}
 | 
			
		||||
    _G_rc_options=false
 | 
			
		||||
 | 
			
		||||
    eval func_run_hooks func_options \
 | 
			
		||||
        ${func_validate_options_result+"$func_validate_options_result"}
 | 
			
		||||
    for my_func in options_prep parse_options validate_options options_finish
 | 
			
		||||
    do
 | 
			
		||||
      if eval func_$my_func '${1+"$@"}'; then
 | 
			
		||||
        eval _G_res_var='$'"func_${my_func}_result"
 | 
			
		||||
        eval set dummy "$_G_res_var" ; shift
 | 
			
		||||
        _G_rc_options=:
 | 
			
		||||
      fi
 | 
			
		||||
    done
 | 
			
		||||
 | 
			
		||||
    # save modified positional parameters for caller
 | 
			
		||||
    func_options_result=$func_run_hooks_result
 | 
			
		||||
    # Save modified positional parameters for caller.  As a top-level
 | 
			
		||||
    # options-parser function we always need to set the 'func_options_result'
 | 
			
		||||
    # variable (regardless the $_G_rc_options value).
 | 
			
		||||
    if $_G_rc_options; then
 | 
			
		||||
      func_options_result=$_G_res_var
 | 
			
		||||
    else
 | 
			
		||||
      func_quote_for_eval ${1+"$@"}
 | 
			
		||||
      func_options_result=$func_quote_for_eval_result
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    $_G_rc_options
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1649,9 +1698,9 @@ func_options ()
 | 
			
		||||
# All initialisations required before starting the option parse loop.
 | 
			
		||||
# Note that when calling hook functions, we pass through the list of
 | 
			
		||||
# positional parameters.  If a hook function modifies that list, and
 | 
			
		||||
# needs to propogate that back to rest of this script, then the complete
 | 
			
		||||
# needs to propagate that back to rest of this script, then the complete
 | 
			
		||||
# modified list must be put in 'func_run_hooks_result' before
 | 
			
		||||
# returning.
 | 
			
		||||
# returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned).
 | 
			
		||||
func_hookable func_options_prep
 | 
			
		||||
func_options_prep ()
 | 
			
		||||
{
 | 
			
		||||
@ -1661,10 +1710,14 @@ func_options_prep ()
 | 
			
		||||
    opt_verbose=false
 | 
			
		||||
    opt_warning_types=
 | 
			
		||||
 | 
			
		||||
    func_run_hooks func_options_prep ${1+"$@"}
 | 
			
		||||
    _G_rc_options_prep=false
 | 
			
		||||
    if func_run_hooks func_options_prep ${1+"$@"}; then
 | 
			
		||||
      _G_rc_options_prep=:
 | 
			
		||||
      # save modified positional parameters for caller
 | 
			
		||||
      func_options_prep_result=$func_run_hooks_result
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    # save modified positional parameters for caller
 | 
			
		||||
    func_options_prep_result=$func_run_hooks_result
 | 
			
		||||
    $_G_rc_options_prep
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1678,18 +1731,20 @@ func_parse_options ()
 | 
			
		||||
 | 
			
		||||
    func_parse_options_result=
 | 
			
		||||
 | 
			
		||||
    _G_rc_parse_options=false
 | 
			
		||||
    # this just eases exit handling
 | 
			
		||||
    while test $# -gt 0; do
 | 
			
		||||
      # Defer to hook functions for initial option parsing, so they
 | 
			
		||||
      # get priority in the event of reusing an option name.
 | 
			
		||||
      func_run_hooks func_parse_options ${1+"$@"}
 | 
			
		||||
 | 
			
		||||
      # Adjust func_parse_options positional parameters to match
 | 
			
		||||
      eval set dummy "$func_run_hooks_result"; shift
 | 
			
		||||
      if func_run_hooks func_parse_options ${1+"$@"}; then
 | 
			
		||||
        eval set dummy "$func_run_hooks_result"; shift
 | 
			
		||||
        _G_rc_parse_options=:
 | 
			
		||||
      fi
 | 
			
		||||
 | 
			
		||||
      # Break out of the loop if we already parsed every option.
 | 
			
		||||
      test $# -gt 0 || break
 | 
			
		||||
 | 
			
		||||
      _G_match_parse_options=:
 | 
			
		||||
      _G_opt=$1
 | 
			
		||||
      shift
 | 
			
		||||
      case $_G_opt in
 | 
			
		||||
@ -1704,7 +1759,10 @@ func_parse_options ()
 | 
			
		||||
		      ;;
 | 
			
		||||
 | 
			
		||||
        --warnings|--warning|-W)
 | 
			
		||||
                      test $# = 0 && func_missing_arg $_G_opt && break
 | 
			
		||||
                      if test $# = 0 && func_missing_arg $_G_opt; then
 | 
			
		||||
                        _G_rc_parse_options=:
 | 
			
		||||
                        break
 | 
			
		||||
                      fi
 | 
			
		||||
                      case " $warning_categories $1" in
 | 
			
		||||
                        *" $1 "*)
 | 
			
		||||
                          # trailing space prevents matching last $1 above
 | 
			
		||||
@ -1757,15 +1815,25 @@ func_parse_options ()
 | 
			
		||||
                      shift
 | 
			
		||||
                      ;;
 | 
			
		||||
 | 
			
		||||
        --)           break ;;
 | 
			
		||||
        --)           _G_rc_parse_options=: ; break ;;
 | 
			
		||||
        -*)           func_fatal_help "unrecognised option: '$_G_opt'" ;;
 | 
			
		||||
        *)            set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
 | 
			
		||||
        *)            set dummy "$_G_opt" ${1+"$@"}; shift
 | 
			
		||||
                      _G_match_parse_options=false
 | 
			
		||||
                      break
 | 
			
		||||
                      ;;
 | 
			
		||||
      esac
 | 
			
		||||
 | 
			
		||||
      $_G_match_parse_options && _G_rc_parse_options=:
 | 
			
		||||
    done
 | 
			
		||||
 | 
			
		||||
    # save modified positional parameters for caller
 | 
			
		||||
    func_quote_for_eval ${1+"$@"}
 | 
			
		||||
    func_parse_options_result=$func_quote_for_eval_result
 | 
			
		||||
 | 
			
		||||
    if $_G_rc_parse_options; then
 | 
			
		||||
      # save modified positional parameters for caller
 | 
			
		||||
      func_quote_for_eval ${1+"$@"}
 | 
			
		||||
      func_parse_options_result=$func_quote_for_eval_result
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    $_G_rc_parse_options
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1778,16 +1846,21 @@ func_validate_options ()
 | 
			
		||||
{
 | 
			
		||||
    $debug_cmd
 | 
			
		||||
 | 
			
		||||
    _G_rc_validate_options=false
 | 
			
		||||
 | 
			
		||||
    # Display all warnings if -W was not given.
 | 
			
		||||
    test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
 | 
			
		||||
 | 
			
		||||
    func_run_hooks func_validate_options ${1+"$@"}
 | 
			
		||||
    if func_run_hooks func_validate_options ${1+"$@"}; then
 | 
			
		||||
      # save modified positional parameters for caller
 | 
			
		||||
      func_validate_options_result=$func_run_hooks_result
 | 
			
		||||
      _G_rc_validate_options=:
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    # Bail if the options were screwed!
 | 
			
		||||
    $exit_cmd $EXIT_FAILURE
 | 
			
		||||
 | 
			
		||||
    # save modified positional parameters for caller
 | 
			
		||||
    func_validate_options_result=$func_run_hooks_result
 | 
			
		||||
    $_G_rc_validate_options
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2068,12 +2141,12 @@ include the following information:
 | 
			
		||||
       compiler:       $LTCC
 | 
			
		||||
       compiler flags: $LTCFLAGS
 | 
			
		||||
       linker:         $LD (gnu? $with_gnu_ld)
 | 
			
		||||
       version:        $progname (GNU libtool) 2.4.6
 | 
			
		||||
       version:        $progname $scriptversion Debian-2.4.6-9
 | 
			
		||||
       automake:       `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
 | 
			
		||||
       autoconf:       `($AUTOCONF --version) 2>/dev/null |$SED 1q`
 | 
			
		||||
 | 
			
		||||
Report bugs to <bug-libtool@gnu.org>.
 | 
			
		||||
GNU libtool home page: <http://www.gnu.org/software/libtool/>.
 | 
			
		||||
GNU libtool home page: <http://www.gnu.org/s/libtool/>.
 | 
			
		||||
General help using GNU software: <http://www.gnu.org/gethelp/>."
 | 
			
		||||
    exit 0
 | 
			
		||||
}
 | 
			
		||||
@ -2124,7 +2197,7 @@ fi
 | 
			
		||||
# a configuration failure hint, and exit.
 | 
			
		||||
func_fatal_configuration ()
 | 
			
		||||
{
 | 
			
		||||
    func_fatal_error ${1+"$@"} \
 | 
			
		||||
    func__fatal_error ${1+"$@"} \
 | 
			
		||||
      "See the $PACKAGE documentation for more information." \
 | 
			
		||||
      "Fatal configuration error."
 | 
			
		||||
}
 | 
			
		||||
@ -2270,6 +2343,8 @@ libtool_options_prep ()
 | 
			
		||||
    nonopt=
 | 
			
		||||
    preserve_args=
 | 
			
		||||
 | 
			
		||||
    _G_rc_lt_options_prep=:
 | 
			
		||||
 | 
			
		||||
    # Shorthand for --mode=foo, only valid as the first argument
 | 
			
		||||
    case $1 in
 | 
			
		||||
    clean|clea|cle|cl)
 | 
			
		||||
@ -2293,11 +2368,18 @@ libtool_options_prep ()
 | 
			
		||||
    uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
 | 
			
		||||
      shift; set dummy --mode uninstall ${1+"$@"}; shift
 | 
			
		||||
      ;;
 | 
			
		||||
    *)
 | 
			
		||||
      _G_rc_lt_options_prep=false
 | 
			
		||||
      ;;
 | 
			
		||||
    esac
 | 
			
		||||
 | 
			
		||||
    # Pass back the list of options.
 | 
			
		||||
    func_quote_for_eval ${1+"$@"}
 | 
			
		||||
    libtool_options_prep_result=$func_quote_for_eval_result
 | 
			
		||||
    if $_G_rc_lt_options_prep; then
 | 
			
		||||
      # Pass back the list of options.
 | 
			
		||||
      func_quote_for_eval ${1+"$@"}
 | 
			
		||||
      libtool_options_prep_result=$func_quote_for_eval_result
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    $_G_rc_lt_options_prep
 | 
			
		||||
}
 | 
			
		||||
func_add_hook func_options_prep libtool_options_prep
 | 
			
		||||
 | 
			
		||||
@ -2309,9 +2391,12 @@ libtool_parse_options ()
 | 
			
		||||
{
 | 
			
		||||
    $debug_cmd
 | 
			
		||||
 | 
			
		||||
    _G_rc_lt_parse_options=false
 | 
			
		||||
 | 
			
		||||
    # Perform our own loop to consume as many options as possible in
 | 
			
		||||
    # each iteration.
 | 
			
		||||
    while test $# -gt 0; do
 | 
			
		||||
      _G_match_lt_parse_options=:
 | 
			
		||||
      _G_opt=$1
 | 
			
		||||
      shift
 | 
			
		||||
      case $_G_opt in
 | 
			
		||||
@ -2386,15 +2471,22 @@ libtool_parse_options ()
 | 
			
		||||
                        func_append preserve_args " $_G_opt"
 | 
			
		||||
                        ;;
 | 
			
		||||
 | 
			
		||||
	# An option not handled by this hook function:
 | 
			
		||||
        *)		set dummy "$_G_opt" ${1+"$@"};	shift; break  ;;
 | 
			
		||||
        # An option not handled by this hook function:
 | 
			
		||||
        *)              set dummy "$_G_opt" ${1+"$@"} ; shift
 | 
			
		||||
                        _G_match_lt_parse_options=false
 | 
			
		||||
                        break
 | 
			
		||||
                        ;;
 | 
			
		||||
      esac
 | 
			
		||||
      $_G_match_lt_parse_options && _G_rc_lt_parse_options=:
 | 
			
		||||
    done
 | 
			
		||||
 | 
			
		||||
    if $_G_rc_lt_parse_options; then
 | 
			
		||||
      # save modified positional parameters for caller
 | 
			
		||||
      func_quote_for_eval ${1+"$@"}
 | 
			
		||||
      libtool_parse_options_result=$func_quote_for_eval_result
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    # save modified positional parameters for caller
 | 
			
		||||
    func_quote_for_eval ${1+"$@"}
 | 
			
		||||
    libtool_parse_options_result=$func_quote_for_eval_result
 | 
			
		||||
    $_G_rc_lt_parse_options
 | 
			
		||||
}
 | 
			
		||||
func_add_hook func_parse_options libtool_parse_options
 | 
			
		||||
 | 
			
		||||
@ -7274,10 +7366,12 @@ func_mode_link ()
 | 
			
		||||
      # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
 | 
			
		||||
      # -specs=*             GCC specs files
 | 
			
		||||
      # -stdlib=*            select c++ std lib with clang
 | 
			
		||||
      # -fsanitize=*         Clang/GCC memory and address sanitizer
 | 
			
		||||
      # -fuse-ld=*           Linker select flags for GCC
 | 
			
		||||
      -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=*| \
 | 
			
		||||
      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
 | 
			
		||||
      -specs=*)
 | 
			
		||||
      -specs=*|-fsanitize=*|-fuse-ld=*)
 | 
			
		||||
        func_quote_for_eval "$arg"
 | 
			
		||||
	arg=$func_quote_for_eval_result
 | 
			
		||||
        func_append compile_command " $arg"
 | 
			
		||||
@ -7570,7 +7664,10 @@ func_mode_link ()
 | 
			
		||||
	case $pass in
 | 
			
		||||
	dlopen) libs=$dlfiles ;;
 | 
			
		||||
	dlpreopen) libs=$dlprefiles ;;
 | 
			
		||||
	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
 | 
			
		||||
	link)
 | 
			
		||||
	  libs="$deplibs %DEPLIBS%"
 | 
			
		||||
	  test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
 | 
			
		||||
	  ;;
 | 
			
		||||
	esac
 | 
			
		||||
      fi
 | 
			
		||||
      if test lib,dlpreopen = "$linkmode,$pass"; then
 | 
			
		||||
@ -7889,19 +7986,19 @@ func_mode_link ()
 | 
			
		||||
	    # It is a libtool convenience library, so add in its objects.
 | 
			
		||||
	    func_append convenience " $ladir/$objdir/$old_library"
 | 
			
		||||
	    func_append old_convenience " $ladir/$objdir/$old_library"
 | 
			
		||||
	    tmp_libs=
 | 
			
		||||
	    for deplib in $dependency_libs; do
 | 
			
		||||
	      deplibs="$deplib $deplibs"
 | 
			
		||||
	      if $opt_preserve_dup_deps; then
 | 
			
		||||
		case "$tmp_libs " in
 | 
			
		||||
		*" $deplib "*) func_append specialdeplibs " $deplib" ;;
 | 
			
		||||
		esac
 | 
			
		||||
	      fi
 | 
			
		||||
	      func_append tmp_libs " $deplib"
 | 
			
		||||
	    done
 | 
			
		||||
	  elif test prog != "$linkmode" && test lib != "$linkmode"; then
 | 
			
		||||
	    func_fatal_error "'$lib' is not a convenience library"
 | 
			
		||||
	  fi
 | 
			
		||||
	  tmp_libs=
 | 
			
		||||
	  for deplib in $dependency_libs; do
 | 
			
		||||
	    deplibs="$deplib $deplibs"
 | 
			
		||||
	    if $opt_preserve_dup_deps; then
 | 
			
		||||
	      case "$tmp_libs " in
 | 
			
		||||
	      *" $deplib "*) func_append specialdeplibs " $deplib" ;;
 | 
			
		||||
	      esac
 | 
			
		||||
	    fi
 | 
			
		||||
	    func_append tmp_libs " $deplib"
 | 
			
		||||
	  done
 | 
			
		||||
	  continue
 | 
			
		||||
	fi # $pass = conv
 | 
			
		||||
 | 
			
		||||
@ -8825,6 +8922,9 @@ func_mode_link ()
 | 
			
		||||
	    revision=$number_minor
 | 
			
		||||
	    lt_irix_increment=no
 | 
			
		||||
	    ;;
 | 
			
		||||
	  *)
 | 
			
		||||
	    func_fatal_configuration "$modename: unknown library version type '$version_type'"
 | 
			
		||||
	    ;;
 | 
			
		||||
	  esac
 | 
			
		||||
	  ;;
 | 
			
		||||
	no)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user