liblip-2.0.0/0000777000175000017500000000000010437473063010000 500000000000000liblip-2.0.0/README0000644000175000017500000002352210434531721010571 00000000000000************************************************************************** * * * CLASS LIBRARY LIP FOR MULTIVARIATE SCATTERD DATA INTERPOLATION * * * * GNU GENERAL PUBLIC LICENSE * * Version 2, June 1991 * * * * Everyone is permitted to copy and distribute verbatim copies * * of this license document, but changing it is not allowed. * * * * Report Bugs to * * * ************************************************************************** README FILE ============ Table of Contents: ------------------ 1. Tarball Contents 2. LibLip Installation Guide 2.1 Using lipinstall Script 2.2 Installing as Superuser (root access) 2.3 Installing Without Root Access 3. Info Manual 4. linking to the library 4.1 linking to library in search path 4.2 linking to library not in search path 4.3 compiling examples 5. Uninstall 6. Trouble Shooting -------------Important notes about linking: see sec. 4 --------------- ==================== 1. Tar ball Contents ==================== Once you have extracted the source files and various installation scripts form the tar ball "liblip2.0.0.tar.gz" you should find therein the following: - lipinstall: Script that helps to install the library. - lipuninstall: Script that helps to uninstall the library. - src directory: Contains source and header files listed bellow. - Source Code : consist of the following: * interpol.cpp * liblip.cpp * forest.cpp * slipint.cpp - Header Files: consist of the following: * liblip.h * liblipc.h * forest.h * slipint.h - INCLUDE additional headers from glpk and tnt libraries - EXAMPLES: Examples directory includes example code and a makefile which illustrates how to link to shared library and static library. - DOCS: Docs directory includes the description of the library and other documentation which might be of interest to the user. ============================ 2. LibLip Installation Guide ============================ Installation of LibLip can be done in two ways: as a normal user, or ideally as a superuser. Both ways are very similar and are described bellow. INSTALLATION MUST BE CARRIED OUT FROM THE DIRECTORY INTO WHICH THE TARBALL WAS EXTRACTED. --------------------------- 2.1 Using lipinstall script --------------------------- Included with this distribution is the "lipinstall' script that runs "configure", "make install" and installs include documentation as described in sections 2.1 and 2.2. lipinstall script must be used in the following manner. lipinstall [ | installation_directory ] Example: lipinstall ~/liblip2 If no arguments are passed to the script then it tries to install the liblip library in /usr/local (as described in 2.2). If an installation_directory is given then the script will try and do the install in the given directory ( see section 2.3 ). ------------------------------------------ 2.2 Installing as Superuser (root access) ------------------------------------------ If you do not have an account with root access go to section 2.2. Otherwise follow the instructions bellow. 1. login as root in any shell, using the command shown below e.g. shell-promp$ su - 2. run lipinstall script. It will install the library and other documentation. e.g. shell-promp$ ./lipinstall the above example installs the library in the default directory "/usr/local/". The library and other files will be installed as follows: - library files "/usr/local/lib/" - *.h files "/usr/local/include" - examples "/usr/local/share/doc/lip.2.0/DOCS" - documents "/usr/local/share/doc/lip.2.0/EXAMPLES" 3. at this time the library should be installed in /usr/local/lib (as suggested by the GNU standards for libraries that are not part of the system). Most Linux distributions have included the /usr/local/lib path in the /etc/ld.so.conf file, which stores all search paths the OS searches when loading shared libraries at boot time. red hat does not do this so add it. 4. once step 3 is completed, in order not to have to restart the computer just run /sbin/ldconfig which loads shared libraries form the path stored in /etc/ld.so.conf. You will not have to do this again, as it gets done automatically every time the OS boots. 5. You are ready to use Lip. Please read linking instructions in section 4.1 ----------------------------------- 2.3 Installing Without Root Access ----------------------------------- If your account does not allow for root access, then install Lip into your home directory following these instructions. 1. run lipinstall script along with the directory you want Lip to be installed to. e.g. shell-promp$ ./lipinstall /home/user_name/liblip2 the above example installs the library in the directory "/home/user_name/liblip2". When you install the library replace user_name with your actual user name, or enter a different directory. The library and other files will be included as follows: - library files "/home/user_name/liblip2/lib/" - *.h files "/home/user_name/liblip2/include" - examples "/home/user_name/liblip2/DOCS" - documents "/home/user_name/liblip2/EXAMPLES" 2. to link and compile please read section 4.2 =============== 3. Manual =============== The manual is liblip2.pdf file, in the DOCS directory. It describes how to use the library. ========================== 4. Linking to the library ========================== -------------------------------------------------------- 4.1 linking to the library in search path (shared library) -------------------------------------------------------- If you have installed the library in the default path /usr/local/lib and this directory exists in /etc/ld.so.conf and loaded using /sbin/ldconfig ,then linking and compiling your code is simple. 1. make sure that the appropriate headers are placed in your code ------------------------------------------------------------ #include #include ------------------------------------------------------------ 2. Assume your code is in file named example.cpp. Then to compile and link use ------------------------------------------------------------ g++ -c example.cpp g++ -o example example.o -llip -lglpk -lm ------------------------------------------------------------ the resulting executable will be "example". ----------------------------------------- 4.2 linking to library not in search path ----------------------------------------- If you have installed the library in a directory that is not listed in /etc/ld.so.conf, then there are a few options: 1. If you have installed LibLip to your home directory then use static linking. Example: a. make sure you have included the right headers, for example ------------------------------------------------------------ #include "../include/liblip.h" #include "../include/liblipc.h" ------------------------------------------------------------ b. Use -I option to tell the compiler where to locate header files and then link to liblip.a (static library) directly. ------------------------------------------------------------ g++ -c example.cpp -I/home/user_name/liblip2/include g++ -o example -non_shared example.o /home/user_name/Liblip2/lib/liblip.a -lm // instead of -non_shared, some compilers require -static option, or none at all ------------------------------------------------------------ Note that liblip uses glpk library (version 4.8 or 4.9). Locate glpk header and library files and provide the path to these files in you makefile Alternatively: 2. Get the system administrator to add the installation directory to /ect/ld.so.conf file. This could be /home/user_name/liblip2/lib. 3. Add the library directory to the environment variable LD_LIBRAY_PATH, used during linking. 4. Finally you can use the `-Wl,--rpath -Wl,LIBDIR' linker flags. Note that if you do not use -Wl option then the compiler may quietly drop away linker flags. ----------------------------------------- 4.3 compiling the examples ----------------------------------------- 1. change to EXAMPLES directory 2. Edit makefile if necessary, and specify the path to the directories you installed LibLip to: change the lines specifying LIB_PATH and INCLUDE_PATH, e.g. LIB_PATH = /home/user_name/liblip2/lib/ INCLUDE_PATH = /home/user_name/liblip2/include/ and also GLPK_LIB_PATH=/home/glpklib/lib depending on where you installed glpk 3. edit the following header file, as it points to the location of "glpk.h" slipint.h 4. run "make" command If you did not install LibLip to the default directories, building of shared_example and static_example targets may not work. However targets static_example2 and static_example3 will compile, as in both case static linking is used. =================== 5. Uninstall LibLip =================== To uninstall simply run the lipuninstall script at the promp. e.g. shell-promp$ ./lipuninstall ==================== 6. Troubleshooting ==================== 1. Compilation: - depemding on how the local C++ compiler has been installed on a given machine, there might be a need to give it some different options. To do so in the file "Makefile" look for the variable liblip_la_CXXFLAGS and assign it the right options. - all the source files needed to compile the library are included with this distribution, so if you are having trouble with the autotools you can try and compile it yourself. (e.g. make your own makefile or use libtool). liblip-2.0.0/configure.ac0000644000175000017500000000214110430540333012164 00000000000000# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) AC_INIT([liblip], [2.0.0], [gleb@deakin.edu.au esteban@v7w.com]) AM_INIT_AUTOMAKE([liblip],[2.0.0],[]) AC_CONFIG_SRCDIR([src/forest.cpp]) AM_CONFIG_HEADER(config.h) #AC_CONFIG_HEADER([config.h]) AM_PROG_LIBTOOL AC_SUBST(LIBTOOL_DEPS) # Checks for programs. AC_PROG_CXX AC_PROG_CC #added May 2006 not sure AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET #AC_PROG_RANLIB AC_PROG_AWK # Checks for libraries. # FIXME: Replace `main' with a function in `-lglpk': AC_CHECK_LIB([glpk], [ios_set_row_name]) # FIXME: Replace `main' with a function in `-lm': AC_CHECK_LIB([m], [cos]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([malloc.h memory.h stdlib.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_CONST AC_C_INLINE AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_ERROR_AT_LINE AC_FUNC_MALLOC AC_CHECK_FUNCS([memset pow sqrt]) AC_CONFIG_FILES([Makefile src/Makefile include/Makefile]) AC_OUTPUT liblip-2.0.0/aclocal.m40000644000175000017500000075172210430540447011564 00000000000000# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005 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. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 47 Debian 1.5.20-2 AC_PROG_LIBTOOL # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) # ----------------------------------------------------------- # If this macro is not defined by Autoconf, define it here. m4_ifdef([AC_PROVIDE_IFELSE], [], [m4_define([AC_PROVIDE_IFELSE], [m4_ifdef([AC_PROVIDE_$1], [$2], [$3])])]) # AC_PROG_LIBTOOL # --------------- AC_DEFUN([AC_PROG_LIBTOOL], [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. AC_PROVIDE_IFELSE([AC_PROG_CXX], [AC_LIBTOOL_CXX], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX ])]) dnl And a similar setup for Fortran 77 support AC_PROVIDE_IFELSE([AC_PROG_F77], [AC_LIBTOOL_F77], [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 ])]) dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [ifdef([AC_PROG_GCJ], [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([A][M_PROG_GCJ], [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([LT_AC_PROG_GCJ], [define([LT_AC_PROG_GCJ], defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) ])])# AC_PROG_LIBTOOL # _AC_PROG_LIBTOOL # ---------------- AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) ])# _AC_PROG_LIBTOOL # AC_LIBTOOL_SETUP # ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], [AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl AC_LIBTOOL_SYS_MAX_CMD_LEN AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE AC_LIBTOOL_OBJDIR AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e 1s/^X//' [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] # Same as above, but do not quote variable references. [double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" AC_CHECK_TOOL(AR, ar, false) AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(STRIP, strip, :) old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" ;; *) old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then AC_PATH_MAGIC fi ;; esac AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], enable_win32_dll=yes, enable_win32_dll=no) AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes AC_ARG_WITH([pic], [AC_HELP_STRING([--with-pic], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [pic_mode="$withval"], [pic_mode=default]) test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= AC_LIBTOOL_LANG_C_CONFIG _LT_AC_TAGCONFIG ])# AC_LIBTOOL_SETUP # _LT_AC_SYS_COMPILER # ------------------- AC_DEFUN([_LT_AC_SYS_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_AC_SYS_COMPILER # _LT_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. AC_DEFUN([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` ]) # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. AC_DEFUN([_LT_COMPILER_BOILERPLATE], [ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. AC_DEFUN([_LT_LINKER_BOILERPLATE], [ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* ])# _LT_LINKER_BOILERPLATE # _LT_AC_SYS_LIBPATH_AIX # ---------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], [AC_LINK_IFELSE(AC_LANG_PROGRAM,[ aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi],[]) if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ])# _LT_AC_SYS_LIBPATH_AIX # _LT_AC_SHELL_INIT(ARG) # ---------------------- AC_DEFUN([_LT_AC_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], [AC_DIVERT_PUSH(NOTICE)]) $1 AC_DIVERT_POP ])# _LT_AC_SHELL_INIT # _LT_AC_PROG_ECHO_BACKSLASH # -------------------------- # Add some code to the start of the generated configure script which # will find an echo command which doesn't interpret backslashes. AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], [_LT_AC_SHELL_INIT([ # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac echo=${ECHO-echo} if test "X[$]1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X[$]1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi if test "X[$]1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if (echo_test_string=`eval $cmd`) 2>/dev/null && echo_test_string=`eval $cmd` && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL [$]0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL [$]0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "[$]0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" fi AC_SUBST(ECHO) ])])# _LT_AC_PROG_ECHO_BACKSLASH # _LT_AC_LOCK # ----------- AC_DEFUN([_LT_AC_LOCK], [AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line __oline__ "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], [*-*-cygwin* | *-*-mingw* | *-*-pw32*) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; ]) esac need_locks="$enable_libtool_lock" ])# _LT_AC_LOCK # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED]) AC_CACHE_CHECK([$1], [$2], [$2=no ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp $SED '/^$/d' conftest.err >conftest.er2 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $rm conftest* ]) if test x"[$]$2" = xyes; then ifelse([$5], , :, [$5]) else ifelse([$6], , :, [$6]) fi ])# AC_LIBTOOL_COMPILER_OPTION # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ------------------------------------------------------------ # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp $SED '/^$/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then ifelse([$4], , :, [$4]) else ifelse([$5], , :, [$5]) fi ])# AC_LIBTOOL_LINKER_OPTION # AC_LIBTOOL_SYS_MAX_CMD_LEN # -------------------------- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [# find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; *) # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi ])# AC_LIBTOOL_SYS_MAX_CMD_LEN # _LT_AC_CHECK_DLFCN # -------------------- AC_DEFUN([_LT_AC_CHECK_DLFCN], [AC_CHECK_HEADERS(dlfcn.h)dnl ])# _LT_AC_CHECK_DLFCN # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ------------------------------------------------------------------ AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); }] EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_unknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_AC_TRY_DLOPEN_SELF # AC_LIBTOOL_DLOPEN_SELF # ------------------- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi ])# AC_LIBTOOL_DLOPEN_SELF # AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) # --------------------------------- # Check to see if options -c and -o are simultaneously supported by compiler AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp $SED '/^$/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* ]) ])# AC_LIBTOOL_PROG_CC_C_O # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) # ----------------------------------------- # Check to see if we can do hard links to lock some files if needed AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_REQUIRE([_LT_AC_LOCK])dnl hard_links="nottested" if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi ])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS # AC_LIBTOOL_OBJDIR # ----------------- AC_DEFUN([AC_LIBTOOL_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir ])# AC_LIBTOOL_OBJDIR # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) # ---------------------------------------------- # Check hardcoding attributes. AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_AC_TAGVAR(hardcode_action, $1)= if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existant directories. if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_AC_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_AC_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi ])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH # AC_LIBTOOL_SYS_LIB_STRIP # ------------------------ AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], [striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi ])# AC_LIBTOOL_SYS_LIB_STRIP # AC_LIBTOOL_SYS_DYNAMIC_LINKER # ----------------------------- # PORTME Fill in your ld.so characteristics AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_MSG_CHECKING([dynamic linker characteristics]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[123]]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER # _LT_AC_TAGCONFIG # ---------------- AC_DEFUN([_LT_AC_TAGCONFIG], [AC_ARG_WITH([tags], [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], [include additional configurations @<:@automatic@:>@])], [tagnames="$withval"]) if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then AC_MSG_WARN([output file `$ofile' does not exist]) fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in "") ;; *) AC_MSG_ERROR([invalid tag name: $tagname]) ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_LIBTOOL_LANG_CXX_CONFIG else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then AC_LIBTOOL_LANG_F77_CONFIG else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then AC_LIBTOOL_LANG_GCJ_CONFIG else tagname="" fi ;; RC) AC_LIBTOOL_LANG_RC_CONFIG ;; *) AC_MSG_ERROR([Unsupported tag name: $tagname]) ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" AC_MSG_ERROR([unable to update list of available tagged configurations.]) fi fi ])# _LT_AC_TAGCONFIG # AC_LIBTOOL_DLOPEN # ----------------- # enable checks for dlopen support AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_DLOPEN # AC_LIBTOOL_WIN32_DLL # -------------------- # declare package support for building win32 DLLs AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_WIN32_DLL # AC_ENABLE_SHARED([DEFAULT]) # --------------------------- # implement the --enable-shared flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_SHARED], [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([shared], [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]AC_ENABLE_SHARED_DEFAULT) ])# AC_ENABLE_SHARED # AC_DISABLE_SHARED # ----------------- #- set the default shared flag to --disable-shared AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_SHARED(no) ])# AC_DISABLE_SHARED # AC_ENABLE_STATIC([DEFAULT]) # --------------------------- # implement the --enable-static flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_STATIC], [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([static], [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]AC_ENABLE_STATIC_DEFAULT) ])# AC_ENABLE_STATIC # AC_DISABLE_STATIC # ----------------- # set the default static flag to --disable-static AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_STATIC(no) ])# AC_DISABLE_STATIC # AC_ENABLE_FAST_INSTALL([DEFAULT]) # --------------------------------- # implement the --enable-fast-install flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_FAST_INSTALL], [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([fast-install], [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) ])# AC_ENABLE_FAST_INSTALL # AC_DISABLE_FAST_INSTALL # ----------------------- # set the default to --disable-fast-install AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_FAST_INSTALL(no) ])# AC_DISABLE_FAST_INSTALL # AC_LIBTOOL_PICMODE([MODE]) # -------------------------- # implement the --with-pic flag # MODE is either `yes' or `no'. If omitted, it defaults to `both'. AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl pic_mode=ifelse($#,1,$1,default) ])# AC_LIBTOOL_PICMODE # AC_PROG_EGREP # ------------- # This is predefined starting with Autoconf 2.54, so this conditional # definition can be removed once we require Autoconf 2.54 or later. m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi]) EGREP=$ac_cv_prog_egrep AC_SUBST([EGREP]) ])]) # AC_PATH_TOOL_PREFIX # ------------------- # find a file program which can recognise shared library AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="ifelse([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi ])# AC_PATH_TOOL_PREFIX # AC_PATH_MAGIC # ------------- # find a file program which can recognise a shared library AC_DEFUN([AC_PATH_MAGIC], [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# AC_PATH_MAGIC # AC_PROG_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld], [AC_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no]) AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown ])# AC_DEPLIBS_CHECK_METHOD # AC_PROG_NM # ---------- # find the pathname to a BSD-compatible name lister AC_DEFUN([AC_PROG_NM], [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/${ac_tool_prefix}nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac esac fi done IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi]) NM="$lt_cv_path_NM" ])# AC_PROG_NM # AC_CHECK_LIBM # ------------- # check for math library AC_DEFUN([AC_CHECK_LIBM], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac ])# AC_CHECK_LIBM # AC_LIBLTDL_CONVENIENCE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl convenience library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-convenience to the configure arguments. Note that # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, # it is assumed to be `libltdl'. LIBLTDL will be prefixed with # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' # (note the single quotes!). If your package is not flat and you're not # using automake, define top_builddir and top_srcdir appropriately in # the Makefiles. AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl case $enable_ltdl_convenience in no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; "") enable_ltdl_convenience=yes ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; esac LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_CONVENIENCE # AC_LIBLTDL_INSTALLABLE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl installable library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-install to the configure arguments. Note that # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, # and an installed libltdl is not found, it is assumed to be `libltdl'. # LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with # '${top_srcdir}/' (note the single quotes!). If your package is not # flat and you're not using automake, define top_builddir and top_srcdir # appropriately in the Makefiles. # In the future, this macro may have to be called after AC_PROG_LIBTOOL. AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_CHECK_LIB(ltdl, lt_dlinit, [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], [if test x"$enable_ltdl_install" = xno; then AC_MSG_WARN([libltdl not installed, but installation disabled]) else enable_ltdl_install=yes fi ]) if test x"$enable_ltdl_install" = x"yes"; then ac_configure_args="$ac_configure_args --enable-ltdl-install" LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) else ac_configure_args="$ac_configure_args --enable-ltdl-install=no" LIBLTDL="-lltdl" LTDLINCL= fi # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_INSTALLABLE # AC_LIBTOOL_CXX # -------------- # enable support for C++ libraries AC_DEFUN([AC_LIBTOOL_CXX], [AC_REQUIRE([_LT_AC_LANG_CXX]) ])# AC_LIBTOOL_CXX # _LT_AC_LANG_CXX # --------------- AC_DEFUN([_LT_AC_LANG_CXX], [AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) ])# _LT_AC_LANG_CXX # _LT_AC_PROG_CXXCPP # --------------- AC_DEFUN([_LT_AC_PROG_CXXCPP], [ AC_REQUIRE([AC_PROG_CXX]) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP fi ])# _LT_AC_PROG_CXXCPP # AC_LIBTOOL_F77 # -------------- # enable support for Fortran 77 libraries AC_DEFUN([AC_LIBTOOL_F77], [AC_REQUIRE([_LT_AC_LANG_F77]) ])# AC_LIBTOOL_F77 # _LT_AC_LANG_F77 # --------------- AC_DEFUN([_LT_AC_LANG_F77], [AC_REQUIRE([AC_PROG_F77]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) ])# _LT_AC_LANG_F77 # AC_LIBTOOL_GCJ # -------------- # enable support for GCJ libraries AC_DEFUN([AC_LIBTOOL_GCJ], [AC_REQUIRE([_LT_AC_LANG_GCJ]) ])# AC_LIBTOOL_GCJ # _LT_AC_LANG_GCJ # --------------- AC_DEFUN([_LT_AC_LANG_GCJ], [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) ])# _LT_AC_LANG_GCJ # AC_LIBTOOL_RC # -------------- # enable support for Windows resource files AC_DEFUN([AC_LIBTOOL_RC], [AC_REQUIRE([LT_AC_PROG_RC]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) ])# AC_LIBTOOL_RC # AC_LIBTOOL_LANG_C_CONFIG # ------------------------ # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) AC_DEFUN([_LT_AC_LANG_C_CONFIG], [lt_save_CC="$CC" AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}\n' _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # # Check for any special shared library compilation flags. # _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= if test "$GCC" = no; then case $host_os in sco3.2v5*) _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' ;; esac fi if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then : else AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no fi fi # # Check to make sure the static flag actually works. # AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), [], [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP AC_LIBTOOL_DLOPEN_SELF($1) # Report which librarie types wil actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_C_CONFIG # AC_LIBTOOL_LANG_CXX_CONFIG # -------------------------- # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], [AC_LANG_PUSH(C++) AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_AC_TAGVAR(no_undefined_flag, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Dependencies to place before and after the object being linked: _LT_AC_TAGVAR(predep_objects, $1)= _LT_AC_TAGVAR(postdep_objects, $1)= _LT_AC_TAGVAR(predeps, $1)= _LT_AC_TAGVAR(postdeps, $1)= _LT_AC_TAGVAR(compiler_lib_search_path, $1)= # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration AC_PROG_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_AC_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=yes else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) _LT_AC_TAGVAR(always_export_symbols, $1)=yes # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes ; then lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd[[12]]*) # C++ shared libraries reported to be fairly broken before switch to ELF _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_AC_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; hpux9*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; ia64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' ;; *) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; ia64*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; *) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in ia64*|hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; linux*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc*) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC*) # Portland Group C++ compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; openbsd2*) # C++ shared libraries are fairly broken _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd='echo' ;; osf3*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ $rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; sco*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The C++ compiler is used as linker so we must use $wl # flag to pass the commands to the underlying system # linker. We must also pass each convience library through # to the system linker between allextract/defaultextract. # The C++ compiler will combine linker options so we # cannot just pass the convience library names through # without $wl. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' fi ;; esac ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_AC_TAGVAR(GCC, $1)="$GXX" _LT_AC_TAGVAR(LD, $1)="$LD" AC_LIBTOOL_POSTDEP_PREDEP($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP AC_LIBTOOL_DLOPEN_SELF($1) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld ])# AC_LIBTOOL_LANG_CXX_CONFIG # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) # ------------------------ # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" ifelse([$1], [], [#! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG], [# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_[]_LT_AC_TAGVAR(LD, $1) # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # 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. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" # Set to yes if exported symbols are required. always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) ifelse([$1],[], [# ### END LIBTOOL CONFIG], [# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ ifelse([$1],[], [ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ]) else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ])# AC_LIBTOOL_CONFIG # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi ])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # --------------------------------- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_PROG_NM]) AC_REQUIRE([AC_OBJEXT]) # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32*) symcode='[[ABCDGISTW]]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; linux*) if test "$host_cpu" = ia64; then symcode='[[ABCDGIRSTW]]' lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris* | sysv5*) symcode='[[BDRT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[[]] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi ]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) # --------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)= AC_MSG_CHECKING([for $compiler option to produce PIC]) ifelse([$1],[CXX],[ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; dgux*) case $cc_basename in ec++*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux*) case $cc_basename in KCC*) # KAI C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; icpc* | ecpc*) # Intel C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC*) # Portland Group C++ compiler. _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; sco*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; *) ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; unixware*) ;; vxworks*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; newsos6) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; linux*) case $cc_basename in icc* | ecc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; sco3.2v5*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' ;; solaris*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; unicos*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" ;; esac ]) # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) # ------------------------------------ # See if the linker supports building shared libraries. AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) ifelse([$1],[CXX],[ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix4* | aix5*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw*) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' ;; linux*) _LT_AC_TAGVAR(link_all_deplibs, $1)=no ;; *) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ],[ runpath_var= _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)= _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_AC_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. _LT_CC_BASENAME([$compiler]) case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; openbsd*) with_gnu_ld=no ;; esac _LT_AC_TAGVAR(ld_shlibs, $1)=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$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'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi _LT_AC_TAGVAR(link_all_deplibs, $1)=no else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris* | sysv5*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; sunos4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=yes _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$link_static_flag"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=yes else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) _LT_AC_TAGVAR(always_export_symbols, $1)=yes # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # see comment about different semantics on the GNU ld section _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; bsdi[[45]]*) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ;; dgux*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; freebsd1*) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu | dragonfly*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10* | hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; esac fi if test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; ia64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes ;; *) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; openbsd*) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi ;; os2*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; sco3.2v5*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ;; solaris*) _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' if test "$GCC" = yes; then wlarc='${wl}' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; *) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_AC_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_AC_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4.2uw2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no hardcode_runpath_var=yes runpath_var=LD_RUN_PATH ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi runpath_var='LD_RUN_PATH' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv5*) _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' ;; uts4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi # # Do we need to explicitly link libc? # case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_AC_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_MSG_CHECKING([whether -lc should be explicitly linked in]) $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) _LT_AC_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) then _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no else _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) ;; esac fi ;; esac ])# AC_LIBTOOL_PROG_LD_SHLIBS # _LT_AC_FILE_LTDLL_C # ------------------- # Be careful that the start marker always follows a newline. AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ # /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #include # #undef WIN32_LEAN_AND_MEAN # #include # # #ifndef __CYGWIN__ # # ifdef __CYGWIN32__ # # define __CYGWIN__ __CYGWIN32__ # # endif # #endif # # #ifdef __cplusplus # extern "C" { # #endif # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); # #ifdef __cplusplus # } # #endif # # #ifdef __CYGWIN__ # #include # DECLARE_CYGWIN_DLL( DllMain ); # #endif # HINSTANCE __hDllInstance_base; # # BOOL APIENTRY # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) # { # __hDllInstance_base = hInst; # return TRUE; # } # /* ltdll.c ends here */ ])# _LT_AC_FILE_LTDLL_C # _LT_AC_TAGVAR(VARNAME, [TAGNAME]) # --------------------------------- AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) AC_DEFUN([LT_AC_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj, no) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS) ]) AC_DEFUN([LT_AC_PROG_RC], [AC_CHECK_TOOL(RC, windres, no) ]) # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # # LT_AC_PROG_SED # -------------- # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. AC_DEFUN([LT_AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_MSG_RESULT([$SED]) ]) # Copyright (C) 2002, 2003, 2005 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_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 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. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # 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. # serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # 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. # serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # 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. #serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # 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. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # 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. # serial 12 # 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. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 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_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 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. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 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. # serial 3 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # 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. # serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005 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_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 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. # serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # 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. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 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_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 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. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR liblip-2.0.0/Makefile.am0000644000175000017500000000011310430540207011727 00000000000000EXTRA_DIST = examples docs lipinstall lipuninstall SUBDIRS = src include liblip-2.0.0/Makefile.in0000644000175000017500000004477110430540454011766 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in 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. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ config.guess config.sub depcomp install-sh ltmain.sh missing subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBTOOL_DEPS = @LIBTOOL_DEPS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ EXTRA_DIST = examples docs lipinstall lipuninstall SUBDIRS = src include all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-libtool clean-recursive \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-hdr distclean-libtool \ distclean-recursive distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: liblip-2.0.0/config.h.in0000644000175000017500000000502110430540713011723 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the `glpk' library (-lglpk). */ #undef HAVE_LIBGLPK /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM /* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */ #undef HAVE_MALLOC /* Define to 1 if you have the header file. */ #undef HAVE_MALLOC_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if you have the `pow' function. */ #undef HAVE_POW /* Define to 1 if you have the `sqrt' function. */ #undef HAVE_SQRT /* Define to 1 if stdbool.h conforms to C99. */ #undef HAVE_STDBOOL_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if the system has the type `_Bool'. */ #undef HAVE__BOOL /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif /* Define to rpl_malloc if the replacement function should be used. */ #undef malloc /* Define to `unsigned' if does not define. */ #undef size_t liblip-2.0.0/configure0000755000175000017500000273677110430540455011643 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for liblip 2.0.0. # # Report bugs to . # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if (echo_test_string=`eval $cmd`) 2>/dev/null && echo_test_string=`eval $cmd` && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi tagnames=${tagnames+${tagnames},}CXX tagnames=${tagnames+${tagnames},}F77 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME='liblip' PACKAGE_TARNAME='liblip' PACKAGE_VERSION='2.0.0' PACKAGE_STRING='liblip 2.0.0' PACKAGE_BUGREPORT='gleb@deakin.edu.au esteban@v7w.com' ac_unique_file="src/forest.cpp" # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP ac_env_CXX_set=${CXX+set} ac_env_CXX_value=$CXX ac_cv_env_CXX_set=${CXX+set} ac_cv_env_CXX_value=$CXX ac_env_CXXFLAGS_set=${CXXFLAGS+set} ac_env_CXXFLAGS_value=$CXXFLAGS ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} ac_cv_env_CXXFLAGS_value=$CXXFLAGS ac_env_CXXCPP_set=${CXXCPP+set} ac_env_CXXCPP_value=$CXXCPP ac_cv_env_CXXCPP_set=${CXXCPP+set} ac_cv_env_CXXCPP_value=$CXXCPP ac_env_F77_set=${F77+set} ac_env_F77_value=$F77 ac_cv_env_F77_set=${F77+set} ac_cv_env_F77_value=$F77 ac_env_FFLAGS_set=${FFLAGS+set} ac_env_FFLAGS_value=$FFLAGS ac_cv_env_FFLAGS_set=${FFLAGS+set} ac_cv_env_FFLAGS_value=$FFLAGS # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures liblip 2.0.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] _ACEOF cat <<_ACEOF Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of liblip 2.0.0:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --disable-libtool-lock avoid locking (might break parallel builds) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] --with-tags[=TAGS] include additional configurations [automatic] Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags CXXCPP C++ preprocessor F77 Fortran 77 compiler command FFLAGS Fortran 77 compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then echo $SHELL $ac_srcdir/configure.gnu --help=recursive elif test -f $ac_srcdir/configure; then echo $SHELL $ac_srcdir/configure --help=recursive elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd "$ac_popdir" done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF liblip configure 2.0.0 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by liblip $as_me 2.0.0, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` hostinfo = `(hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_sep= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version="1.9" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$,$program_suffix,;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE=liblip VERSION=2.0.0 cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' ac_config_headers="$ac_config_headers config.h" #AC_CONFIG_HEADER([config.h]) # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=yes fi; # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=yes fi; # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi; # Make sure we can run config.sub. $ac_config_sub sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6 if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_build_alias=$build_alias test -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess` test -z "$ac_cv_build_alias" && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6 build=$ac_cv_build build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6 if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_alias ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6 host=$ac_cv_host host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6 rm -f confinc confmf # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval="$enable_dependency_tracking" fi; if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std1 is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std1. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 if test "${lt_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done fi SED=$lt_cv_path_SED echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 with_gnu_ld=$lt_cv_prog_gnu_ld echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_reload_flag='-r' fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in darwin*) if test "$GCC" = yes; then reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 if test "${lt_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/${ac_tool_prefix}nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac esac fi done IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 echo "${ECHO_T}$lt_cv_path_NM" >&6 NM="$lt_cv_path_NM" echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6 fi echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix4* | aix5*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump'. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | kfreebsd*-gnu | dragonfly*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac fi echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" fi; test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line 3659 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; esac need_locks="$enable_libtool_lock" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------------- ## ## Report this to gleb@deakin.edu.au esteban@v7w.com ## ## ------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CXX" && break done test -n "$ac_ct_CXX" || ac_ct_CXX="g++" CXX=$ac_ct_CXX fi # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS CXXFLAGS="-g" echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cxx_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu depcc="$CXX" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 if test -z "$CXXCPP"; then if test "${ac_cv_prog_CXXCPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CXXCPP needs to be expanded for CXXCPP in "$CXX -E" "/lib/cpp" do ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CXXCPP=$CXXCPP fi CXXCPP=$ac_cv_prog_CXXCPP else ac_cv_prog_CXXCPP=$CXXCPP fi echo "$as_me:$LINENO: result: $CXXCPP" >&5 echo "${ECHO_T}$CXXCPP" >&6 ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu fi ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$F77"; then ac_cv_prog_F77="$F77" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_F77="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi F77=$ac_cv_prog_F77 if test -n "$F77"; then echo "$as_me:$LINENO: result: $F77" >&5 echo "${ECHO_T}$F77" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$F77" && break done fi if test -z "$F77"; then ac_ct_F77=$F77 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_F77"; then ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_F77="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_F77=$ac_cv_prog_ac_ct_F77 if test -n "$ac_ct_F77"; then echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 echo "${ECHO_T}$ac_ct_F77" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_F77" && break done F77=$ac_ct_F77 fi # Provide some information about the compiler. echo "$as_me:5230:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } rm -f a.out # If we don't use `.F' as extension, the preprocessor is not run on the # input file. (Note that this only needs to work for GNU compilers.) ac_save_ext=$ac_ext ac_ext=F echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 if test "${ac_cv_f77_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF program main #ifndef __GNUC__ choke me #endif end _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_f77_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 ac_ext=$ac_save_ext ac_test_FFLAGS=${FFLAGS+set} ac_save_FFLAGS=$FFLAGS FFLAGS= echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_f77_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else FFLAGS=-g cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_f77_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_f77_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 if test "$ac_test_FFLAGS" = set; then FFLAGS=$ac_save_FFLAGS elif test $ac_cv_prog_f77_g = yes; then if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-g -O2" else FFLAGS="-g" fi else if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-O2" else FFLAGS= fi fi G77=`test $ac_compiler_gnu = yes && echo yes` ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! # find the maximum length of command line arguments echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 if test "${lt_cv_sys_max_cmd_len+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; *) # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 else echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6 fi # Check for command to grab the raw symbol name followed by C symbol from nm. echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32*) symcode='[ABCDGISTW]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; linux*) if test "$host_cpu" = ia64; then symcode='[ABCDGIRSTW]' lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris* | sysv5*) symcode='[BDRT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then echo "$as_me:$LINENO: result: failed" >&5 echo "${ECHO_T}failed" >&6 else echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6 fi echo "$as_me:$LINENO: checking for objdir" >&5 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 if test "${lt_cv_objdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 echo "${ECHO_T}$lt_cv_objdir" >&6 objdir=$lt_cv_objdir case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e 1s/^X//' sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi AR=$ac_ct_AR else AR="$ac_cv_prog_AR" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi RANLIB=$ac_ct_RANLIB else RANLIB="$ac_cv_prog_RANLIB" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" ;; *) old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then echo "$as_me:$LINENO: checking for file" >&5 echo $ECHO_N "checking for file... $ECHO_C" >&6 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi else MAGIC_CMD=: fi fi fi ;; esac enable_dlopen=no enable_win32_dll=no # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" fi; test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Check whether --with-pic or --without-pic was given. if test "${with_pic+set}" = set; then withval="$with_pic" pic_mode="$withval" else pic_mode=default fi; test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= lt_save_CC="$CC" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}\n' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # # Check for any special shared library compilation flags. # lt_prog_cc_shlib= if test "$GCC" = no; then case $host_os in sco3.2v5*) lt_prog_cc_shlib='-belf' ;; esac fi if test -n "$lt_prog_cc_shlib"; then { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : else { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} lt_cv_prog_cc_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 if test "${lt_prog_compiler_static_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_prog_compiler_static" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp $SED '/^$/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works=yes fi else lt_prog_compiler_static_works=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 if test x"$lt_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:6326: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:6330: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp $SED '/^$/d' conftest.err >conftest.er2 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; *) lt_prog_compiler_pic='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic='-qnocommon' lt_prog_compiler_wl='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; linux*) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; sco3.2v5*) lt_prog_compiler_pic='-Kpic' lt_prog_compiler_static='-dn' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 echo "${ECHO_T}$lt_prog_compiler_pic" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:6588: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:6592: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp $SED '/^$/d' conftest.err >conftest.er2 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 if test x"$lt_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:6650: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:6654: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp $SED '/^$/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 runpath_var= allow_undefined_flag= enable_shared_with_static_runtimes=no archive_cmds= archive_expsym_cmds= old_archive_From_new_cmds= old_archive_from_expsyms_cmds= export_dynamic_flag_spec= whole_archive_flag_spec= thread_safe_flag_spec= hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no hardcode_shlibpath_var=unsupported link_all_deplibs=unknown hardcode_automatic=no module_cmds= module_expsym_cmds= always_export_symbols=no export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else ld_shlibs=no fi ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then 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'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs=no else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris* | sysv5*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$link_static_flag"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_libdir_separator=':' link_all_deplibs=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct=yes else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) always_export_symbols=yes # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec=' ' archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported whole_archive_flag_spec='' link_all_deplibs=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs=no ;; esac fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu | dragonfly*) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10* | hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*|ia64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*|ia64*) archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ;; *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; esac fi if test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_libdir_separator=: hardcode_direct=no hardcode_shlibpath_var=no ;; ia64*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=no hardcode_shlibpath_var=no # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; *) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld='-rpath $libdir' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: link_all_deplibs=yes ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; openbsd*) hardcode_direct=yes hardcode_shlibpath_var=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; sco3.2v5*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='${wl}-Bexport' runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ;; solaris*) no_undefined_flag=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; *) whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4.2uw2*) archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=no hardcode_shlibpath_var=no hardcode_runpath_var=yes runpath_var=LD_RUN_PATH ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) no_undefined_flag='${wl}-z ${wl}text' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv5*) no_undefined_flag=' -z text' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' hardcode_libdir_flag_spec= hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac fi echo "$as_me:$LINENO: result: $ld_shlibs" >&5 echo "${ECHO_T}$ld_shlibs" >&6 test "$ld_shlibs" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc=no else archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 echo "${ECHO_T}$archive_cmds_need_lc" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action= if test -n "$hardcode_libdir_flag_spec" || \ test -n "$runpath_var" || \ test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action" >&5 echo "${ECHO_T}$hardcode_action" >&6 if test "$hardcode_action" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi ;; *) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 ;; esac fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else char (*f) () = shl_load; #endif #ifdef __cplusplus } #endif int main () { return f != shl_load; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); int main () { shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else char (*f) () = dlopen; #endif #ifdef __cplusplus } #endif int main () { return f != dlopen; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dld_link (); int main () { dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi # Report which librarie types wil actually be built echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6 # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler \ CC \ LD \ lt_prog_compiler_wl \ lt_prog_compiler_pic \ lt_prog_compiler_static \ lt_prog_compiler_no_builtin_flag \ export_dynamic_flag_spec \ thread_safe_flag_spec \ whole_archive_flag_spec \ enable_shared_with_static_runtimes \ old_archive_cmds \ old_archive_from_new_cmds \ predep_objects \ postdep_objects \ predeps \ postdeps \ compiler_lib_search_path \ archive_cmds \ archive_expsym_cmds \ postinstall_cmds \ postuninstall_cmds \ old_archive_from_expsyms_cmds \ allow_undefined_flag \ no_undefined_flag \ export_symbols_cmds \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ hardcode_automatic \ module_cmds \ module_expsym_cmds \ lt_cv_prog_compiler_c_o \ exclude_expsyms \ include_expsyms; do case $var in old_archive_cmds | \ old_archive_from_new_cmds | \ archive_cmds | \ archive_expsym_cmds | \ module_cmds | \ module_expsym_cmds | \ old_archive_from_expsyms_cmds | \ export_symbols_cmds | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="${ofile}T" trap "$rm \"$cfgfile\"; exit 1" 1 2 15 $rm -f "$cfgfile" { echo "$as_me:$LINENO: creating $ofile" >&5 echo "$as_me: creating $ofile" >&6;} cat <<__EOF__ >> "$cfgfile" #! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_compiler # Is the compiler the GNU C compiler? with_gcc=$GCC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # 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. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # ### END LIBTOOL CONFIG __EOF__ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" # Check whether --with-tags or --without-tags was given. if test "${with_tags+set}" = set; then withval="$with_tags" tagnames="$withval" fi; if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} else { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} fi fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in "") ;; *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 echo "$as_me: error: invalid tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} { (exit 1); exit 1; }; } fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu archive_cmds_need_lc_CXX=no allow_undefined_flag_CXX= always_export_symbols_CXX=no archive_expsym_cmds_CXX= export_dynamic_flag_spec_CXX= hardcode_direct_CXX=no hardcode_libdir_flag_spec_CXX= hardcode_libdir_flag_spec_ld_CXX= hardcode_libdir_separator_CXX= hardcode_minus_L_CXX=no hardcode_automatic_CXX=no module_cmds_CXX= module_expsym_cmds_CXX= link_all_deplibs_CXX=unknown old_archive_cmds_CXX=$old_archive_cmds no_undefined_flag_CXX= whole_archive_flag_spec_CXX= enable_shared_with_static_runtimes_CXX=no # Dependencies to place before and after the object being linked: predep_objects_CXX= postdep_objects_CXX= predeps_CXX= postdeps_CXX= compiler_lib_search_path_CXX= # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o objext_CXX=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *) { return(0); }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC compiler_CXX=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' else lt_prog_compiler_no_builtin_flag_CXX= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 with_gnu_ld=$lt_cv_prog_gnu_ld # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_CXX= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 ld_shlibs_CXX=yes case $host_os in aix3*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_CXX='' hardcode_direct_CXX=yes hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes if test "$GXX" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_CXX=yes else # We have old collect2 hardcode_direct_CXX=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_CXX=yes hardcode_libdir_flag_spec_CXX='-L$libdir' hardcode_libdir_separator_CXX= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_CXX=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_CXX="-z nodefs" archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_CXX=' ${wl}-bernotok' allow_undefined_flag_CXX=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) always_export_symbols_CXX=yes # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_CXX=' ' archive_cmds_need_lc_CXX=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_CXX='-L$libdir' allow_undefined_flag_CXX=unsupported always_export_symbols_CXX=no enable_shared_with_static_runtimes_CXX=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else ld_shlibs_CXX=no fi ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_CXX=no hardcode_direct_CXX=no hardcode_automatic_CXX=yes hardcode_shlibpath_var_CXX=unsupported whole_archive_flag_spec_CXX='' link_all_deplibs_CXX=yes if test "$GXX" = yes ; then lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_CXX=no ;; esac fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; freebsd[12]*) # C++ shared libraries reported to be fairly broken before switch to ELF ld_shlibs_CXX=no ;; freebsd-elf*) archive_cmds_need_lc_CXX=no ;; freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions ld_shlibs_CXX=yes ;; gnu*) ;; hpux9*) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: export_dynamic_flag_spec_CXX='${wl}-E' hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld_CXX='+b $libdir' hardcode_libdir_separator_CXX=: ;; ia64*) hardcode_libdir_flag_spec_CXX='-L$libdir' ;; *) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: export_dynamic_flag_spec_CXX='${wl}-E' ;; esac fi case $host_cpu in hppa*64*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no ;; ia64*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. ;; *) hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) case $host_cpu in hppa*64*|ia64*) archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ;; *) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in ia64*|hppa*64*) archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ;; *) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi link_all_deplibs_CXX=yes ;; esac hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: ;; linux*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc*) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac archive_cmds_need_lc_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC*) # Portland Group C++ compiler archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; esac ;; lynxos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; m88k*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; openbsd2*) # C++ shared libraries are fairly broken ld_shlibs_CXX=no ;; openbsd*) hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' export_dynamic_flag_spec_CXX='${wl}-E' whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd='echo' ;; osf3*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # the KAI C++ compiler. old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) allow_undefined_flag_CXX=' -expect_unresolved \*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ $rm $lib.exp' hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; sco*) archive_cmds_need_lc_CXX=no case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ archive_cmds_need_lc_CXX=yes no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_shlibpath_var_CXX=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The C++ compiler is used as linker so we must use $wl # flag to pass the commands to the underlying system # linker. We must also pass each convience library through # to the system linker between allextract/defaultextract. # The C++ compiler will combine linker options so we # cannot just pass the convience library names through # without $wl. # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac link_all_deplibs_CXX=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then no_undefined_flag_CXX=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' fi ;; esac ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) archive_cmds_need_lc_CXX=no ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6 test "$ld_shlibs_CXX" = no && can_build_shared=no GCC_CXX="$GXX" LD_CXX="$LD" cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no # The `*' in the case matches for architectures that use `case' in # $output_verbose_cmd can trigger glob expansion during the loop # eval without this substitution. output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` for p in `eval $output_verbose_link_cmd`; do case $p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" \ || test $p = "-R"; then prev=$p continue else prev= fi if test "$pre_test_object_deps_done" = no; then case $p in -L* | -R*) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$compiler_lib_search_path_CXX"; then compiler_lib_search_path_CXX="${prev}${p}" else compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$postdeps_CXX"; then postdeps_CXX="${prev}${p}" else postdeps_CXX="${postdeps_CXX} ${prev}${p}" fi fi ;; *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$predep_objects_CXX"; then predep_objects_CXX="$p" else predep_objects_CXX="$predep_objects_CXX $p" fi else if test -z "$postdep_objects_CXX"; then postdep_objects_CXX="$p" else postdep_objects_CXX="$postdep_objects_CXX $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling CXX test program" fi $rm -f confest.$objext # PORTME: override above test on systems where it is broken case $host_os in solaris*) case $cc_basename in CC*) # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. postdeps_CXX='-lCstd -lCrun' ;; esac esac case " $postdeps_CXX " in *" -lc "*) archive_cmds_need_lc_CXX=no ;; esac lt_prog_compiler_wl_CXX= lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_CXX='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_CXX='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all lt_prog_compiler_pic_CXX= ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_CXX=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac else case $host_os in aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' else lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_CXX='-qnocommon' lt_prog_compiler_wl_CXX='-Wl,' ;; esac ;; dgux*) case $cc_basename in ec++*) lt_prog_compiler_pic_CXX='-KPIC' ;; ghcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" if test "$host_cpu" != ia64; then lt_prog_compiler_pic_CXX='+Z' fi ;; aCC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_CXX='+Z' ;; esac ;; *) ;; esac ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux*) case $cc_basename in KCC*) # KAI C++ Compiler lt_prog_compiler_wl_CXX='--backend -Wl,' lt_prog_compiler_pic_CXX='-fPIC' ;; icpc* | ecpc*) # Intel C++ lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-static' ;; pgCC*) # Portland Group C++ compiler. lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-fpic' lt_prog_compiler_static_CXX='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) lt_prog_compiler_pic_CXX='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) lt_prog_compiler_wl_CXX='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 lt_prog_compiler_pic_CXX='-pic' ;; cxx*) # Digital/Compaq C++ lt_prog_compiler_wl_CXX='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; psos*) ;; sco*) case $cc_basename in CC*) lt_prog_compiler_pic_CXX='-fPIC' ;; *) ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' lt_prog_compiler_wl_CXX='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x lt_prog_compiler_pic_CXX='-pic' lt_prog_compiler_static_CXX='-Bstatic' ;; lcc*) # Lucid lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 lt_prog_compiler_pic_CXX='-KPIC' ;; *) ;; esac ;; unixware*) ;; vxworks*) ;; *) lt_prog_compiler_can_build_shared_CXX=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_CXX=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:11253: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:11257: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp $SED '/^$/d' conftest.err >conftest.er2 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_CXX=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then case $lt_prog_compiler_pic_CXX in "" | " "*) ;; *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; esac else lt_prog_compiler_pic_CXX= lt_prog_compiler_can_build_shared_CXX=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_CXX= ;; *) lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_CXX=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:11315: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:11319: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp $SED '/^$/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix4* | aix5*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) export_symbols_cmds_CXX="$ltdll_cmds" ;; cygwin* | mingw*) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' ;; linux*) link_all_deplibs_CXX=no ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6 test "$ld_shlibs_CXX" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_CXX" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_CXX=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_CXX in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_CXX compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_CXX allow_undefined_flag_CXX= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_CXX=no else archive_cmds_need_lc_CXX=yes fi allow_undefined_flag_CXX=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || \ test -n "$runpath_var_CXX" || \ test "X$hardcode_automatic_CXX" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_CXX" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && test "$hardcode_minus_L_CXX" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_CXX=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_CXX=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_CXX=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 echo "${ECHO_T}$hardcode_action_CXX" >&6 if test "$hardcode_action_CXX" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi ;; *) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 ;; esac fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else char (*f) () = shl_load; #endif #ifdef __cplusplus } #endif int main () { return f != shl_load; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); int main () { shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else char (*f) () = dlopen; #endif #ifdef __cplusplus } #endif int main () { return f != dlopen; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dld_link (); int main () { dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_CXX \ CC_CXX \ LD_CXX \ lt_prog_compiler_wl_CXX \ lt_prog_compiler_pic_CXX \ lt_prog_compiler_static_CXX \ lt_prog_compiler_no_builtin_flag_CXX \ export_dynamic_flag_spec_CXX \ thread_safe_flag_spec_CXX \ whole_archive_flag_spec_CXX \ enable_shared_with_static_runtimes_CXX \ old_archive_cmds_CXX \ old_archive_from_new_cmds_CXX \ predep_objects_CXX \ postdep_objects_CXX \ predeps_CXX \ postdeps_CXX \ compiler_lib_search_path_CXX \ archive_cmds_CXX \ archive_expsym_cmds_CXX \ postinstall_cmds_CXX \ postuninstall_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \ allow_undefined_flag_CXX \ no_undefined_flag_CXX \ export_symbols_cmds_CXX \ hardcode_libdir_flag_spec_CXX \ hardcode_libdir_flag_spec_ld_CXX \ hardcode_libdir_separator_CXX \ hardcode_automatic_CXX \ module_cmds_CXX \ module_expsym_cmds_CXX \ lt_cv_prog_compiler_c_o_CXX \ exclude_expsyms_CXX \ include_expsyms_CXX; do case $var in old_archive_cmds_CXX | \ old_archive_from_new_cmds_CXX | \ archive_cmds_CXX | \ archive_expsym_cmds_CXX | \ module_cmds_CXX | \ module_expsym_cmds_CXX | \ old_archive_from_expsyms_cmds_CXX | \ export_symbols_cmds_CXX | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_CXX # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_compiler_CXX # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_CXX # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_CXX # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_CXX pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_CXX # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # 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. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_CXX old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_CXX archive_expsym_cmds=$lt_archive_expsym_cmds_CXX postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_CXX module_expsym_cmds=$lt_module_expsym_cmds_CXX # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_CXX # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_CXX # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_CXX # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_CXX # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_CXX # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_CXX # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_CXX # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_CXX # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_CXX" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_CXX # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_CXX # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_CXX # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_CXX # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu archive_cmds_need_lc_F77=no allow_undefined_flag_F77= always_export_symbols_F77=no archive_expsym_cmds_F77= export_dynamic_flag_spec_F77= hardcode_direct_F77=no hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_minus_L_F77=no hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= link_all_deplibs_F77=unknown old_archive_cmds_F77=$old_archive_cmds no_undefined_flag_F77= whole_archive_flag_spec_F77= enable_shared_with_static_runtimes_F77=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o objext_F77=$objext # Code to be used in simple compile tests lt_simple_compile_test_code=" subroutine t\n return\n end\n" # Code to be used in simple link tests lt_simple_link_test_code=" program t\n end\n" # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${F77-"f77"} compiler=$CC compiler_F77=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6 test "$ld_shlibs_F77" = no && can_build_shared=no GCC_F77="$G77" LD_F77="$LD" lt_prog_compiler_wl_F77= lt_prog_compiler_pic_F77= lt_prog_compiler_static_F77= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "$GCC" = yes; then lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_static_F77='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_F77='-fno-common' ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_F77=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_F77=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_F77='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' else lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_F77='-qnocommon' lt_prog_compiler_wl_F77='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_F77='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_F77='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_F77='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_F77='-non_shared' ;; newsos6) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; linux*) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-fpic' lt_prog_compiler_static_F77='-Bstatic' ;; ccc*) lt_prog_compiler_wl_F77='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_F77='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; sco3.2v5*) lt_prog_compiler_pic_F77='-Kpic' lt_prog_compiler_static_F77='-dn' ;; solaris*) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl_F77='-Qoption ld ';; *) lt_prog_compiler_wl_F77='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl_F77='-Qoption ld ' lt_prog_compiler_pic_F77='-PIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_F77='-Kconform_pic' lt_prog_compiler_static_F77='-Bstatic' fi ;; unicos*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_can_build_shared_F77=no ;; uts4*) lt_prog_compiler_pic_F77='-pic' lt_prog_compiler_static_F77='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_F77=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_F77"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_F77=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_F77" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:13683: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:13687: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp $SED '/^$/d' conftest.err >conftest.er2 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_F77=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then case $lt_prog_compiler_pic_F77 in "" | " "*) ;; *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; esac else lt_prog_compiler_pic_F77= lt_prog_compiler_can_build_shared_F77=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_F77= ;; *) lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" ;; esac echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_F77=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:13745: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:13749: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp $SED '/^$/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_F77=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 runpath_var= allow_undefined_flag_F77= enable_shared_with_static_runtimes_F77=no archive_cmds_F77= archive_expsym_cmds_F77= old_archive_From_new_cmds_F77= old_archive_from_expsyms_cmds_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= thread_safe_flag_spec_F77= hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_direct_F77=no hardcode_minus_L_F77=no hardcode_shlibpath_var_F77=unsupported link_all_deplibs_F77=unknown hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= always_export_symbols_F77=no export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_F77= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_F77=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_F77='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_F77= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_F77=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_F77=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_F77=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_F77=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_F77='-L$libdir' allow_undefined_flag_F77=unsupported always_export_symbols_F77=no enable_shared_with_static_runtimes_F77=yes export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else ld_shlibs_F77=no fi ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds_F77='$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'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs_F77=no else ld_shlibs_F77=no fi ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris* | sysv5*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_F77=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; sunos4*) archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; esac if test "$ld_shlibs_F77" = no; then runpath_var= hardcode_libdir_flag_spec_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_F77=unsupported always_export_symbols_F77=yes archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_F77=yes if test "$GCC" = yes && test -z "$link_static_flag"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_F77=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_F77='' hardcode_direct_F77=yes hardcode_libdir_separator_F77=':' link_all_deplibs_F77=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_F77=yes else # We have old collect2 hardcode_direct_F77=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_F77=yes hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_libdir_separator_F77= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_F77=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_F77='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_F77="-z nodefs" archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_F77=' ${wl}-bernotok' allow_undefined_flag_F77=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) always_export_symbols_F77=yes # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_F77=' ' archive_cmds_need_lc_F77=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # see comment about different semantics on the GNU ld section ld_shlibs_F77=no ;; bsdi[45]*) export_dynamic_flag_spec_F77=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_F77=' ' allow_undefined_flag_F77=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_F77='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path_F77='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_F77=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_F77=no hardcode_direct_F77=no hardcode_automatic_F77=yes hardcode_shlibpath_var_F77=unsupported whole_archive_flag_spec_F77='' link_all_deplibs_F77=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_F77=no ;; esac fi ;; dgux*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; freebsd1*) ld_shlibs_F77=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu | dragonfly*) archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes export_dynamic_flag_spec_F77='${wl}-E' ;; hpux10* | hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*|ia64*) archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*|ia64*) archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ;; *) archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; esac fi if test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld_F77='+b $libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=no hardcode_shlibpath_var_F77=no ;; ia64*) hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_direct_F77=no hardcode_shlibpath_var_F77=no # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes ;; *) hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes export_dynamic_flag_spec_F77='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: link_all_deplibs_F77=yes ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; newsos6) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_shlibpath_var_F77=no ;; openbsd*) hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-R$libdir' ;; *) archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes allow_undefined_flag_F77=unsupported archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_F77='-rpath $libdir' fi hardcode_libdir_separator_F77=: ;; sco3.2v5*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no export_dynamic_flag_spec_F77='${wl}-Bexport' runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ;; solaris*) no_undefined_flag_F77=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_shlibpath_var_F77=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; *) whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac link_all_deplibs_F77=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; sysv4) case $host_vendor in sni) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_F77='$CC -r -o $output$reload_objs' hardcode_direct_F77=no ;; motorola) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_F77=no ;; sysv4.3*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no export_dynamic_flag_spec_F77='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_F77=yes fi ;; sysv4.2uw2*) archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_minus_L_F77=no hardcode_shlibpath_var_F77=no hardcode_runpath_var=yes runpath_var=LD_RUN_PATH ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) no_undefined_flag_F77='${wl}-z ${wl}text' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_F77=no ;; sysv5*) no_undefined_flag_F77=' -z text' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' hardcode_libdir_flag_spec_F77= hardcode_shlibpath_var_F77=no runpath_var='LD_RUN_PATH' ;; uts4*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; *) ld_shlibs_F77=no ;; esac fi echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 echo "${ECHO_T}$ld_shlibs_F77" >&6 test "$ld_shlibs_F77" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_F77" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_F77=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_F77 in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_F77 compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_F77 allow_undefined_flag_F77= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_F77=no else archive_cmds_need_lc_F77=yes fi allow_undefined_flag_F77=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_F77= if test -n "$hardcode_libdir_flag_spec_F77" || \ test -n "$runpath_var_F77" || \ test "X$hardcode_automatic_F77" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_F77" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && test "$hardcode_minus_L_F77" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_F77=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_F77=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_F77=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 echo "${ECHO_T}$hardcode_action_F77" >&6 if test "$hardcode_action_F77" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi ;; *) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 ;; esac fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_F77 \ CC_F77 \ LD_F77 \ lt_prog_compiler_wl_F77 \ lt_prog_compiler_pic_F77 \ lt_prog_compiler_static_F77 \ lt_prog_compiler_no_builtin_flag_F77 \ export_dynamic_flag_spec_F77 \ thread_safe_flag_spec_F77 \ whole_archive_flag_spec_F77 \ enable_shared_with_static_runtimes_F77 \ old_archive_cmds_F77 \ old_archive_from_new_cmds_F77 \ predep_objects_F77 \ postdep_objects_F77 \ predeps_F77 \ postdeps_F77 \ compiler_lib_search_path_F77 \ archive_cmds_F77 \ archive_expsym_cmds_F77 \ postinstall_cmds_F77 \ postuninstall_cmds_F77 \ old_archive_from_expsyms_cmds_F77 \ allow_undefined_flag_F77 \ no_undefined_flag_F77 \ export_symbols_cmds_F77 \ hardcode_libdir_flag_spec_F77 \ hardcode_libdir_flag_spec_ld_F77 \ hardcode_libdir_separator_F77 \ hardcode_automatic_F77 \ module_cmds_F77 \ module_expsym_cmds_F77 \ lt_cv_prog_compiler_c_o_F77 \ exclude_expsyms_F77 \ include_expsyms_F77; do case $var in old_archive_cmds_F77 | \ old_archive_from_new_cmds_F77 | \ archive_cmds_F77 | \ archive_expsym_cmds_F77 | \ module_cmds_F77 | \ module_expsym_cmds_F77 | \ old_archive_from_expsyms_cmds_F77 | \ export_symbols_cmds_F77 | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_F77 # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_compiler_F77 # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_F77 # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_F77 # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_F77 pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_F77 # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # 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. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_F77 old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_F77 archive_expsym_cmds=$lt_archive_expsym_cmds_F77 postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_F77 module_expsym_cmds=$lt_module_expsym_cmds_F77 # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_F77 # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_F77 # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_F77 # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_F77 # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_F77 # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_F77 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_F77 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_F77 # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_F77" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_F77 # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_F77 # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_F77 # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_F77 # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o objext_GCJ=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}\n" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${GCJ-"gcj"} compiler=$CC compiler_GCJ=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # GCJ did not exist at the time GCC didn't implicitly link libc in. archive_cmds_need_lc_GCJ=no old_archive_cmds_GCJ=$old_archive_cmds lt_prog_compiler_no_builtin_flag_GCJ= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:15886: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:15890: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp $SED '/^$/d' conftest.err >conftest.er2 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl_GCJ= lt_prog_compiler_pic_GCJ= lt_prog_compiler_static_GCJ= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "$GCC" = yes; then lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_static_GCJ='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_GCJ='-fno-common' ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_GCJ=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' else lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_GCJ='-qnocommon' lt_prog_compiler_wl_GCJ='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_GCJ='-non_shared' ;; newsos6) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; linux*) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-fpic' lt_prog_compiler_static_GCJ='-Bstatic' ;; ccc*) lt_prog_compiler_wl_GCJ='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; sco3.2v5*) lt_prog_compiler_pic_GCJ='-Kpic' lt_prog_compiler_static_GCJ='-dn' ;; solaris*) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl_GCJ='-Qoption ld ';; *) lt_prog_compiler_wl_GCJ='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl_GCJ='-Qoption ld ' lt_prog_compiler_pic_GCJ='-PIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_GCJ='-Kconform_pic' lt_prog_compiler_static_GCJ='-Bstatic' fi ;; unicos*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_can_build_shared_GCJ=no ;; uts4*) lt_prog_compiler_pic_GCJ='-pic' lt_prog_compiler_static_GCJ='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_GCJ"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_GCJ=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_GCJ" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:16148: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:16152: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp $SED '/^$/d' conftest.err >conftest.er2 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_GCJ=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then case $lt_prog_compiler_pic_GCJ in "" | " "*) ;; *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; esac else lt_prog_compiler_pic_GCJ= lt_prog_compiler_can_build_shared_GCJ=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_GCJ= ;; *) lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" ;; esac echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_GCJ=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:16210: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:16214: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp $SED '/^$/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_GCJ=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 runpath_var= allow_undefined_flag_GCJ= enable_shared_with_static_runtimes_GCJ=no archive_cmds_GCJ= archive_expsym_cmds_GCJ= old_archive_From_new_cmds_GCJ= old_archive_from_expsyms_cmds_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= thread_safe_flag_spec_GCJ= hardcode_libdir_flag_spec_GCJ= hardcode_libdir_flag_spec_ld_GCJ= hardcode_libdir_separator_GCJ= hardcode_direct_GCJ=no hardcode_minus_L_GCJ=no hardcode_shlibpath_var_GCJ=unsupported link_all_deplibs_GCJ=unknown hardcode_automatic_GCJ=no module_cmds_GCJ= module_expsym_cmds_GCJ= always_export_symbols_GCJ=no export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_GCJ= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_GCJ=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_GCJ= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_GCJ=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_GCJ=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_GCJ=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_GCJ=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_GCJ='-L$libdir' allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=no enable_shared_with_static_runtimes_GCJ=yes export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else ld_shlibs_GCJ=no fi ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds_GCJ='$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'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs_GCJ=no else ld_shlibs_GCJ=no fi ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris* | sysv5*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_GCJ=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; sunos4*) archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; esac if test "$ld_shlibs_GCJ" = no; then runpath_var= hardcode_libdir_flag_spec_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=yes archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_GCJ=yes if test "$GCC" = yes && test -z "$link_static_flag"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_GCJ=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_GCJ='' hardcode_direct_GCJ=yes hardcode_libdir_separator_GCJ=':' link_all_deplibs_GCJ=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_GCJ=yes else # We have old collect2 hardcode_direct_GCJ=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_GCJ=yes hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_libdir_separator_GCJ= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_GCJ=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_GCJ='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_GCJ="-z nodefs" archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_GCJ=' ${wl}-bernotok' allow_undefined_flag_GCJ=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) always_export_symbols_GCJ=yes # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_GCJ=' ' archive_cmds_need_lc_GCJ=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # see comment about different semantics on the GNU ld section ld_shlibs_GCJ=no ;; bsdi[45]*) export_dynamic_flag_spec_GCJ=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_GCJ=' ' allow_undefined_flag_GCJ=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_GCJ='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_GCJ=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_GCJ=no hardcode_direct_GCJ=no hardcode_automatic_GCJ=yes hardcode_shlibpath_var_GCJ=unsupported whole_archive_flag_spec_GCJ='' link_all_deplibs_GCJ=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_GCJ=no ;; esac fi ;; dgux*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; freebsd1*) ld_shlibs_GCJ=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu | dragonfly*) archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' ;; hpux10* | hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*|ia64*) archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*|ia64*) archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ;; *) archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; esac fi if test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no ;; ia64*) hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes ;; *) hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: link_all_deplibs_GCJ=yes ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; newsos6) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_shlibpath_var_GCJ=no ;; openbsd*) hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' ;; *) archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes allow_undefined_flag_GCJ=unsupported archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_GCJ='-rpath $libdir' fi hardcode_libdir_separator_GCJ=: ;; sco3.2v5*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no export_dynamic_flag_spec_GCJ='${wl}-Bexport' runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ;; solaris*) no_undefined_flag_GCJ=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_shlibpath_var_GCJ=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; *) whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac link_all_deplibs_GCJ=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; sysv4) case $host_vendor in sni) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_GCJ='$CC -r -o $output$reload_objs' hardcode_direct_GCJ=no ;; motorola) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_GCJ=no ;; sysv4.3*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no export_dynamic_flag_spec_GCJ='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_GCJ=yes fi ;; sysv4.2uw2*) archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=no hardcode_shlibpath_var_GCJ=no hardcode_runpath_var=yes runpath_var=LD_RUN_PATH ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) no_undefined_flag_GCJ='${wl}-z ${wl}text' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_GCJ=no ;; sysv5*) no_undefined_flag_GCJ=' -z text' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' hardcode_libdir_flag_spec_GCJ= hardcode_shlibpath_var_GCJ=no runpath_var='LD_RUN_PATH' ;; uts4*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; *) ld_shlibs_GCJ=no ;; esac fi echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 echo "${ECHO_T}$ld_shlibs_GCJ" >&6 test "$ld_shlibs_GCJ" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_GCJ" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_GCJ=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_GCJ in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_GCJ compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ allow_undefined_flag_GCJ= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_GCJ=no else archive_cmds_need_lc_GCJ=yes fi allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_GCJ= if test -n "$hardcode_libdir_flag_spec_GCJ" || \ test -n "$runpath_var_GCJ" || \ test "X$hardcode_automatic_GCJ" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_GCJ=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 echo "${ECHO_T}$hardcode_action_GCJ" >&6 if test "$hardcode_action_GCJ" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi ;; *) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 ;; esac fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else char (*f) () = shl_load; #endif #ifdef __cplusplus } #endif int main () { return f != shl_load; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); int main () { shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else char (*f) () = dlopen; #endif #ifdef __cplusplus } #endif int main () { return f != dlopen; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dld_link (); int main () { dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_GCJ \ CC_GCJ \ LD_GCJ \ lt_prog_compiler_wl_GCJ \ lt_prog_compiler_pic_GCJ \ lt_prog_compiler_static_GCJ \ lt_prog_compiler_no_builtin_flag_GCJ \ export_dynamic_flag_spec_GCJ \ thread_safe_flag_spec_GCJ \ whole_archive_flag_spec_GCJ \ enable_shared_with_static_runtimes_GCJ \ old_archive_cmds_GCJ \ old_archive_from_new_cmds_GCJ \ predep_objects_GCJ \ postdep_objects_GCJ \ predeps_GCJ \ postdeps_GCJ \ compiler_lib_search_path_GCJ \ archive_cmds_GCJ \ archive_expsym_cmds_GCJ \ postinstall_cmds_GCJ \ postuninstall_cmds_GCJ \ old_archive_from_expsyms_cmds_GCJ \ allow_undefined_flag_GCJ \ no_undefined_flag_GCJ \ export_symbols_cmds_GCJ \ hardcode_libdir_flag_spec_GCJ \ hardcode_libdir_flag_spec_ld_GCJ \ hardcode_libdir_separator_GCJ \ hardcode_automatic_GCJ \ module_cmds_GCJ \ module_expsym_cmds_GCJ \ lt_cv_prog_compiler_c_o_GCJ \ exclude_expsyms_GCJ \ include_expsyms_GCJ; do case $var in old_archive_cmds_GCJ | \ old_archive_from_new_cmds_GCJ | \ archive_cmds_GCJ | \ archive_expsym_cmds_GCJ | \ module_cmds_GCJ | \ module_expsym_cmds_GCJ | \ old_archive_from_expsyms_cmds_GCJ | \ export_symbols_cmds_GCJ | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_GCJ # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_compiler_GCJ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_GCJ # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_GCJ # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_GCJ pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_GCJ # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # 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. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_GCJ old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_GCJ archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_GCJ module_expsym_cmds=$lt_module_expsym_cmds_GCJ # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_GCJ # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_GCJ # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_GCJ # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_GCJ # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_GCJ # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_GCJ # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_GCJ # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_GCJ" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_GCJ # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_GCJ # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_GCJ # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_GCJ # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" else tagname="" fi ;; RC) # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o objext_RC=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${RC-"windres"} compiler=$CC compiler_RC=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` lt_cv_prog_compiler_c_o_RC=yes # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_RC \ CC_RC \ LD_RC \ lt_prog_compiler_wl_RC \ lt_prog_compiler_pic_RC \ lt_prog_compiler_static_RC \ lt_prog_compiler_no_builtin_flag_RC \ export_dynamic_flag_spec_RC \ thread_safe_flag_spec_RC \ whole_archive_flag_spec_RC \ enable_shared_with_static_runtimes_RC \ old_archive_cmds_RC \ old_archive_from_new_cmds_RC \ predep_objects_RC \ postdep_objects_RC \ predeps_RC \ postdeps_RC \ compiler_lib_search_path_RC \ archive_cmds_RC \ archive_expsym_cmds_RC \ postinstall_cmds_RC \ postuninstall_cmds_RC \ old_archive_from_expsyms_cmds_RC \ allow_undefined_flag_RC \ no_undefined_flag_RC \ export_symbols_cmds_RC \ hardcode_libdir_flag_spec_RC \ hardcode_libdir_flag_spec_ld_RC \ hardcode_libdir_separator_RC \ hardcode_automatic_RC \ module_cmds_RC \ module_expsym_cmds_RC \ lt_cv_prog_compiler_c_o_RC \ exclude_expsyms_RC \ include_expsyms_RC; do case $var in old_archive_cmds_RC | \ old_archive_from_new_cmds_RC | \ archive_cmds_RC | \ archive_expsym_cmds_RC | \ module_cmds_RC | \ module_expsym_cmds_RC | \ old_archive_from_expsyms_cmds_RC | \ export_symbols_cmds_RC | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_RC # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_compiler_RC # Is the compiler the GNU C compiler? with_gcc=$GCC_RC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # 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. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_RC archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_RC module_expsym_cmds=$lt_module_expsym_cmds_RC # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_RC # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_RC # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_RC # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_RC" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_RC # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" ;; *) { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 echo "$as_me: error: Unsupported tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 echo "$as_me: error: unable to update list of available tagged configurations." >&2;} { (exit 1); exit 1; }; } fi fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion # Checks for programs. ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CXX" && break done test -n "$ac_ct_CXX" || ac_ct_CXX="g++" CXX=$ac_ct_CXX fi # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS CXXFLAGS="-g" echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cxx_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CXX" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std1 is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std1. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi #added May 2006 not sure ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6 fi echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi #AC_PROG_RANLIB for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done # Checks for libraries. # FIXME: Replace `main' with a function in `-lglpk': echo "$as_me:$LINENO: checking for ios_set_row_name in -lglpk" >&5 echo $ECHO_N "checking for ios_set_row_name in -lglpk... $ECHO_C" >&6 if test "${ac_cv_lib_glpk_ios_set_row_name+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lglpk $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ios_set_row_name (); int main () { ios_set_row_name (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_glpk_ios_set_row_name=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_glpk_ios_set_row_name=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_glpk_ios_set_row_name" >&5 echo "${ECHO_T}$ac_cv_lib_glpk_ios_set_row_name" >&6 if test $ac_cv_lib_glpk_ios_set_row_name = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBGLPK 1 _ACEOF LIBS="-lglpk $LIBS" fi # FIXME: Replace `main' with a function in `-lm': echo "$as_me:$LINENO: checking for cos in -lm" >&5 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6 if test "${ac_cv_lib_m_cos+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char cos (); int main () { cos (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_m_cos=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_m_cos=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6 if test $ac_cv_lib_m_cos = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBM 1 _ACEOF LIBS="-lm $LIBS" fi # Checks for header files. echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi for ac_header in malloc.h memory.h stdlib.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------------- ## ## Report this to gleb@deakin.edu.au esteban@v7w.com ## ## ------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Checks for typedefs, structures, and compiler characteristics. echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 if test "${ac_cv_header_stdbool_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #ifndef bool # error bool is not defined #endif #ifndef false # error false is not defined #endif #if false # error false is not 0 #endif #ifndef true # error true is not defined #endif #if true != 1 # error true is not 1 #endif #ifndef __bool_true_false_are_defined # error __bool_true_false_are_defined is not defined #endif struct s { _Bool s: 1; _Bool t; } s; char a[true == 1 ? 1 : -1]; char b[false == 0 ? 1 : -1]; char c[__bool_true_false_are_defined == 1 ? 1 : -1]; char d[(bool) -0.5 == true ? 1 : -1]; bool e = &s; char f[(_Bool) -0.0 == false ? 1 : -1]; char g[true]; char h[sizeof (_Bool)]; char i[sizeof s.t]; int main () { return !a + !b + !c + !d + !e + !f + !g + !h + !i; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdbool_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdbool_h=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 echo "$as_me:$LINENO: checking for _Bool" >&5 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 if test "${ac_cv_type__Bool+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((_Bool *) 0) return 0; if (sizeof (_Bool)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type__Bool=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type__Bool=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 echo "${ECHO_T}$ac_cv_type__Bool" >&6 if test $ac_cv_type__Bool = yes; then cat >>confdefs.h <<_ACEOF #define HAVE__BOOL 1 _ACEOF fi if test $ac_cv_header_stdbool_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_STDBOOL_H 1 _ACEOF fi echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { /* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_const=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then cat >>confdefs.h <<\_ACEOF #define const _ACEOF fi echo "$as_me:$LINENO: checking for inline" >&5 echo $ECHO_N "checking for inline... $ECHO_C" >&6 if test "${ac_cv_c_inline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_inline=$ac_kw; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done fi echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$ac_cv_c_inline" >&6 case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac echo "$as_me:$LINENO: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((size_t *) 0) return 0; if (sizeof (size_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_size_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_size_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 if test $ac_cv_type_size_t = yes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned _ACEOF fi # Checks for library functions. echo "$as_me:$LINENO: checking for error_at_line" >&5 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6 if test "${ac_cv_lib_error_at_line+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { error_at_line (0, 0, "", 0, ""); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_error_at_line=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_error_at_line=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6 if test $ac_cv_lib_error_at_line = no; then case $LIBOBJS in "error.$ac_objext" | \ *" error.$ac_objext" | \ "error.$ac_objext "* | \ *" error.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; esac fi for ac_header in stdlib.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------------- ## ## Report this to gleb@deakin.edu.au esteban@v7w.com ## ## ------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_malloc_0_nonnull=no else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if STDC_HEADERS || HAVE_STDLIB_H # include #else char *malloc (); #endif int main () { exit (malloc (0) ? 0 : 1); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_malloc_0_nonnull=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 if test $ac_cv_func_malloc_0_nonnull = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_MALLOC 1 _ACEOF else cat >>confdefs.h <<\_ACEOF #define HAVE_MALLOC 0 _ACEOF case $LIBOBJS in "malloc.$ac_objext" | \ *" malloc.$ac_objext" | \ "malloc.$ac_objext "* | \ *" malloc.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; esac cat >>confdefs.h <<\_ACEOF #define malloc rpl_malloc _ACEOF fi for ac_func in memset pow sqrt do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by liblip $as_me 2.0.0, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ liblip config.status 2.0.0 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS section. # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@SHELL@,$SHELL,;t t s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t s,@program_transform_name@,$program_transform_name,;t t s,@bindir@,$bindir,;t t s,@sbindir@,$sbindir,;t t s,@libexecdir@,$libexecdir,;t t s,@datadir@,$datadir,;t t s,@sysconfdir@,$sysconfdir,;t t s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$localstatedir,;t t s,@libdir@,$libdir,;t t s,@includedir@,$includedir,;t t s,@oldincludedir@,$oldincludedir,;t t s,@infodir@,$infodir,;t t s,@mandir@,$mandir,;t t s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t s,@target_alias@,$target_alias,;t t s,@DEFS@,$DEFS,;t t s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@CYGPATH_W@,$CYGPATH_W,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t s,@install_sh@,$install_sh,;t t s,@STRIP@,$STRIP,;t t s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@mkdir_p@,$mkdir_p,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@am__leading_dot@,$am__leading_dot,;t t s,@AMTAR@,$AMTAR,;t t s,@am__tar@,$am__tar,;t t s,@am__untar@,$am__untar,;t t s,@build@,$build,;t t s,@build_cpu@,$build_cpu,;t t s,@build_vendor@,$build_vendor,;t t s,@build_os@,$build_os,;t t s,@host@,$host,;t t s,@host_cpu@,$host_cpu,;t t s,@host_vendor@,$host_vendor,;t t s,@host_os@,$host_os,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t s,@CPPFLAGS@,$CPPFLAGS,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@DEPDIR@,$DEPDIR,;t t s,@am__include@,$am__include,;t t s,@am__quote@,$am__quote,;t t s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t s,@CCDEPMODE@,$CCDEPMODE,;t t s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t s,@EGREP@,$EGREP,;t t s,@LN_S@,$LN_S,;t t s,@ECHO@,$ECHO,;t t s,@AR@,$AR,;t t s,@ac_ct_AR@,$ac_ct_AR,;t t s,@RANLIB@,$RANLIB,;t t s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t s,@CPP@,$CPP,;t t s,@CXX@,$CXX,;t t s,@CXXFLAGS@,$CXXFLAGS,;t t s,@ac_ct_CXX@,$ac_ct_CXX,;t t s,@CXXDEPMODE@,$CXXDEPMODE,;t t s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t s,@CXXCPP@,$CXXCPP,;t t s,@F77@,$F77,;t t s,@FFLAGS@,$FFLAGS,;t t s,@ac_ct_F77@,$ac_ct_F77,;t t s,@LIBTOOL@,$LIBTOOL,;t t s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;t t s,@srcdir@,$ac_srcdir,;t t s,@abs_srcdir@,$ac_abs_srcdir,;t t s,@top_srcdir@,$ac_top_srcdir,;t t s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t s,@builddir@,$ac_builddir,;t t s,@abs_builddir@,$ac_abs_builddir,;t t s,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_builddir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } # Do quote $f, to prevent DOS paths from being IFS'd. echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\_ACEOF # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_count done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_COMMANDS section. # for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null || $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi liblip-2.0.0/AUTHORS0000644000175000017500000000017010432507641010755 00000000000000Dr. Gleb Beliakov copyright 2006 Mr. Juan Esteban Monsalve Tobon copyright 2004 liblip-2.0.0/COPYING0000644000175000017500000004312210426015340010735 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. liblip-2.0.0/ChangeLog0000644000175000017500000000000010426033237011445 00000000000000liblip-2.0.0/INSTALL0000644000175000017500000002271610432507641010750 00000000000000Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. NOTE ===== Read the README file first for a quick installation, if the scripts descrived there do not work, or you feel more comftable using the autotools setup then read on. Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. (Caching is disabled by default to prevent problems with accidental use of stale cache files.) If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You only need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not support the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Here is a another example: /bin/bash ./configure CONFIG_SHELL=/bin/bash Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent configuration-related scripts to be executed by `/bin/bash'. `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of the options to `configure', and exit. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. liblip-2.0.0/NEWS0000644000175000017500000000000010432507641010374 00000000000000liblip-2.0.0/config.guess0000755000175000017500000012475310426033711012236 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. timestamp='2005-08-03' # 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 # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 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 # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. 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 -q "$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) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerppc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then 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 # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; x86:Interix*:[34]*) echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #ifdef __INTEL_COMPILER LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in *86) UNAME_PROCESSOR=i686 ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: liblip-2.0.0/config.sub0000755000175000017500000007577710426033711011714 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. timestamp='2005-07-08' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # 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 # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | ms1 \ | msp430 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m32c) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | ms1-* \ | msp430-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; m32c-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16c) basic_machine=cr16c-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: liblip-2.0.0/depcomp0000755000175000017500000003710010426033711011260 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mecanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: liblip-2.0.0/install-sh0000755000175000017500000002202110426033711011703 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -f "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit 0 } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: liblip-2.0.0/ltmain.sh0000644000175000017500000055523710315535005011543 00000000000000# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. basename="s,^.*/,,g" # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" # The name of this program: progname=`echo "$progpath" | $SED $basename` modename="$progname" # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 PROGRAM=ltmain.sh PACKAGE=libtool VERSION="1.5.20 Debian 1.5.20-2" TIMESTAMP=" (1.1220.2.287 2005/08/31 18:54:15)" # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell, and then maybe $echo will work. exec $SHELL "$progpath" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE fi # Global variables. mode=$default_mode nonopt= prev= prevopt= run= show="$echo" show_help= execute_dlfiles= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" ##################################### # Shell function definitions: # This seems to be the best place for them # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. func_win32_libid () { win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | \ sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'` if test "X$win32_nmres" = "Ximport" ; then win32_libid_type="x86 archive import" else win32_libid_type="x86 archive static" fi fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $echo $win32_libid_type } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case "$@ " in " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then $echo "$modename: unable to infer tagged configuration" $echo "$modename: specify a tag with \`--tag'" 1>&2 exit $EXIT_FAILURE # else # $echo "$modename: using $tagname tagged configuration" fi ;; esac fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 exit $EXIT_FAILURE fi } # func_extract_archives gentop oldlib ... func_extract_archives () { my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" my_status="" $show "${rm}r $my_gentop" $run ${rm}r "$my_gentop" $show "$mkdir $my_gentop" $run $mkdir "$my_gentop" my_status=$? if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then exit $my_status fi for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` my_xdir="$my_gentop/$my_xlib" $show "${rm}r $my_xdir" $run ${rm}r "$my_xdir" $show "$mkdir $my_xdir" $run $mkdir "$my_xdir" status=$? if test "$status" -ne 0 && test ! -d "$my_xdir"; then exit $status fi case $host in *-darwin*) $show "Extracting $my_xabs" # Do not bother doing anything if just a dry run if test -z "$run"; then darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` if test -n "$darwin_arches"; then darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= $show "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we have a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` lipo -create -output "$darwin_file" $darwin_files done # $darwin_filelist ${rm}r unfat-$$ cd "$darwin_orig_dir" else cd "$darwin_orig_dir" func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches fi # $run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # End of Shell function definitions ##################################### # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Parse our command line options once, thoroughly. while test "$#" -gt 0 do arg="$1" shift case $arg in -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in execute_dlfiles) execute_dlfiles="$execute_dlfiles $arg" ;; tag) tagname="$arg" preserve_args="${preserve_args}=$arg" # Check whether tagname contains only valid characters case $tagname in *[!-_A-Za-z0-9,/]*) $echo "$progname: invalid tag name: $tagname" 1>&2 exit $EXIT_FAILURE ;; esac case $tagname in CC) # Don't test for the "default" C tag, as we know, it's there, but # not specially marked. ;; *) if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then taglist="$taglist $tagname" # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" else $echo "$progname: ignoring unknown tag $tagname" 1>&2 fi ;; esac ;; *) eval "$prev=\$arg" ;; esac prev= prevopt= continue fi # Have we seen a non-optional argument yet? case $arg in --help) show_help=yes ;; --version) $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" $echo $echo "Copyright (C) 2005 Free Software Foundation, Inc." $echo "This is free software; see the source for copying conditions. There is NO" $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." exit $? ;; --config) ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath # Now print the configurations for the tags. for tagname in $taglist; do ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" done exit $? ;; --debug) $echo "$progname: enabling shell trace mode" set -x preserve_args="$preserve_args $arg" ;; --dry-run | -n) run=: ;; --features) $echo "host: $host" if test "$build_libtool_libs" = yes; then $echo "enable shared libraries" else $echo "disable shared libraries" fi if test "$build_old_libs" = yes; then $echo "enable static libraries" else $echo "disable static libraries" fi exit $? ;; --finish) mode="finish" ;; --mode) prevopt="--mode" prev=mode ;; --mode=*) mode="$optarg" ;; --preserve-dup-deps) duplicate_deps="yes" ;; --quiet | --silent) show=: preserve_args="$preserve_args $arg" ;; --tag) prevopt="--tag" prev=tag ;; --tag=*) set tag "$optarg" ${1+"$@"} shift prev=tag preserve_args="$preserve_args --tag" ;; -dlopen) prevopt="-dlopen" prev=execute_dlfiles ;; -*) $echo "$modename: unrecognized option \`$arg'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *) nonopt="$arg" break ;; esac done if test -n "$prevopt"; then $echo "$modename: option \`$prevopt' requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= if test -z "$show_help"; then # Infer the operation mode. if test -z "$mode"; then $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 case $nonopt in *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link for arg do case $arg in -c) mode=compile break ;; esac done ;; *db | *dbx | *strace | *truss) mode=execute ;; *install*|cp|mv) mode=install ;; *rm) mode=uninstall ;; *) # If we have no mode, but dlfiles were specified, then do execute mode. test -n "$execute_dlfiles" && mode=execute # Just use the default operation mode. if test -z "$mode"; then if test -n "$nonopt"; then $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 else $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 fi fi ;; esac fi # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then $echo "$modename: unrecognized option \`-dlopen'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$modename --help --mode=$mode' for more information." # These modes are in order of execution frequency so that they run quickly. case $mode in # libtool compile mode compile) modename="$modename: compile" # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) if test -n "$libobj" ; then $echo "$modename: you cannot specify \`-o' more than once" 1>&2 exit $EXIT_FAILURE fi arg_mode=target continue ;; -static | -prefer-pic | -prefer-non-pic) later="$later $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac lastarg="$lastarg $arg" done IFS="$save_ifs" lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` # Add the arguments to base_compile. base_compile="$base_compile $lastarg" continue ;; * ) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` case $lastarg in # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, and some SunOS ksh mistreat backslash-escaping # in scan sets (worked around with variable expansion), # and furthermore cannot handle '|' '&' '(' ')' in scan sets # at all, so we specify them separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") lastarg="\"$lastarg\"" ;; esac base_compile="$base_compile $lastarg" done # for arg case $arg_mode in arg) $echo "$modename: you must specify an argument for -Xcompile" exit $EXIT_FAILURE ;; target) $echo "$modename: you must specify a target with \`-o'" 1>&2 exit $EXIT_FAILURE ;; *) # Get the name of the library object. [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo xform='[cCFSifmso]' case $libobj in *.ada) xform=ada ;; *.adb) xform=adb ;; *.ads) xform=ads ;; *.asm) xform=asm ;; *.c++) xform=c++ ;; *.cc) xform=cc ;; *.ii) xform=ii ;; *.class) xform=class ;; *.cpp) xform=cpp ;; *.cxx) xform=cxx ;; *.f90) xform=f90 ;; *.for) xform=for ;; *.java) xform=java ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` case $libobj in *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; *) $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 exit $EXIT_FAILURE ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -static) build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` case $qlibobj in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qlibobj="\"$qlibobj\"" ;; esac test "X$libobj" != "X$qlibobj" \ && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$obj"; then xdir= else xdir=$xdir/ fi lobj=${xdir}$objdir/$objname if test -z "$base_compile"; then $echo "$modename: you must specify a compilation command" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi $run $rm $removelist trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" removelist="$removelist $output_obj $lockfile" trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $run ln "$progpath" "$lockfile" 2>/dev/null; do $show "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $echo "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi $echo "$srcfile" > "$lockfile" fi if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` case $qsrcfile in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qsrcfile="\"$qsrcfile\"" ;; esac $run $rm "$libobj" "${libobj}T" # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then $show "$mv $output_obj $lobj" if $run $mv $output_obj $lobj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the PIC object to the libtool object file. test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then $show "$mv $output_obj $obj" if $run $mv $output_obj $obj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the non-PIC object the libtool object file. # Only append if the libtool object file exists. test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi else if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi fi build_libtool_libs=no build_old_libs=yes prefer_static_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test ;; *) qarg=$arg ;; esac libtool_args="$libtool_args $qarg" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) compile_command="$compile_command @OUTPUT@" finalize_command="$finalize_command @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. compile_command="$compile_command @SYMFILE@" finalize_command="$finalize_command @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$dlprefiles $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" if test ! -f "$arg"; then $echo "$modename: symbol file \`$arg' does not exist" exit $EXIT_FAILURE fi prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat $save_arg` do # moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi done else $echo "$modename: link input file \`$save_arg' does not exist" exit $EXIT_FAILURE fi arg=$save_arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $wl$qarg" prev= compile_command="$compile_command $wl$qarg" finalize_command="$finalize_command $wl$qarg" continue ;; xcclinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; shrext) shrext_cmds="$arg" prev= continue ;; darwin_framework) compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" prev= continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then compile_command="$compile_command $link_static_flag" finalize_command="$finalize_command $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 continue ;; -avoid-version) avoid_version=yes continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: more than one -exported-symbols argument is not allowed" exit $EXIT_FAILURE fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework|-arch) prev=darwin_framework compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" ;; esac continue ;; -L*) dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 exit $EXIT_FAILURE fi dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) case :$dllsearchpath: in *":$dir:"*) ;; *) dllsearchpath="$dllsearchpath:$dir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-pw32* | *-*-beos*) # These systems don't actually have a C or math library (as such) continue ;; *-*-mingw* | *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework deplibs="$deplibs -framework System" continue esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. -model) compile_command="$compile_command $arg" compiler_flags="$compiler_flags $arg" finalize_command="$finalize_command $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -module) module=yes continue ;; # -64, -mips[0-9] enable 64-bit mode on the SGI compiler # -r[0-9][0-9]* specifies the processor on the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler # +DA*, +DD* enable 64-bit mode on the HP compiler # -q* pass through compiler args for the IBM compiler # -m* pass through architecture-specific compiler args for GCC -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" if test "$with_gcc" = "yes" ; then compiler_flags="$compiler_flags $arg" fi continue ;; -shrext) prev=shrext continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) # The PATH hackery in wrapper scripts is required on Windows # in order for the loader to find any dlls it needs. $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac continue ;; -static) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -Wc,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $wl$flag" linker_flags="$linker_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # Some other compiler flag. -* | +*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; *.$objext) # A standard object. objs="$objs $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi done # argument parsing loop if test -n "$prev"; then $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi oldlibs= # calculate the name of the file, without its directory outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` if test "X$output_objdir" = "X$output"; then output_objdir="$objdir" else output_objdir="$output_objdir/$objdir" fi # Create the object directory. if test ! -d "$output_objdir"; then $show "$mkdir $output_objdir" $run $mkdir $output_objdir status=$? if test "$status" -ne 0 && test ! -d "$output_objdir"; then exit $status fi fi # Determine the type of output case $output in "") $echo "$modename: you must specify an output file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac case $host in *cygwin* | *mingw* | *pw32*) # don't eliminate duplications in $postdeps and $predeps duplicate_compiler_generated_deps=yes ;; *) duplicate_compiler_generated_deps=$duplicate_deps ;; esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if test "X$duplicate_deps" = "Xyes" ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 exit $EXIT_FAILURE ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else compiler_flags="$compiler_flags $deplib" fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 continue fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then library_names= old_library= case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; *) $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` if eval $echo \"$deplib\" 2>/dev/null \ | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then $echo $echo "*** Warning: Trying to link with static lib archive $deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because the file extensions .$libext of this argument makes me believe" $echo "*** that it is just a static archive that I should not used here." else $echo $echo "*** Warning: Linking the shared library $output against the" $echo "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else $echo "$modename: cannot find the library \`$lib'" 1>&2 exit $EXIT_FAILURE fi # Check to see that this really is a libtool archive. if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." dlname= dlopen= dlpreopen= libdir= library_names= old_library= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done elif test "$linkmode" != prog && test "$linkmode" != lib; then $echo "$modename: \`$lib' is not a convenience library" 1>&2 exit $EXIT_FAILURE fi continue fi # $pass = conv # Get the name of the library we link against. linklib= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. dlprefiles="$dlprefiles $lib $dependency_libs" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 abs_ladir="$ladir" fi ;; esac laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then $echo "$modename: warning: library \`$lib' was moved." 1>&2 dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi fi # $installed = yes name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { test "$prefer_static_libs" = no || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath " in *" $dir "*) ;; *" $absdir "*) ;; *) temp_rpath="$temp_rpath $absdir" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically if test -n "$library_names" && { test "$prefer_static_libs" = no || test -z "$old_library"; }; then if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi # This is a shared library # Warn about portability, can't link against -module's on # some systems (darwin) if test "$shouldnotlink" = yes && test "$pass" = link ; then $echo if test "$linkmode" = prog; then $echo "*** Warning: Linking the executable $output against the loadable module" else $echo "*** Warning: Linking the shared library $output against the loadable module" fi $echo "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names realname="$2" shift; shift libname=`eval \\$echo \"$libname_spec\"` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw*) major=`expr $current - $age` versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" soname=`$echo $soroot | ${SED} -e 's/^.*\///'` newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else $show "extracting exported symbol list from \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$extract_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else $show "generating import library for \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$old_archive_from_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5* ) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a module then we can not link against # it, someone is ignoring the new warnings I added if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then $echo "** Warning, lib $linklib is a module, not a shared library" if test -z "$old_library" ; then $echo $echo "** And there doesn't seem to be a static archive available" $echo "** The link will probably fail, sorry" else add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then $echo "$modename: configuration error: unsupported hardcode properties" exit $EXIT_FAILURE fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && \ test "$hardcode_minus_L" != yes && \ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. $echo $echo "*** Warning: This system can not link to static lib archive $lib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then $echo "*** But as you try to build a module library, libtool will still create " $echo "*** a static module, that should work as long as the dlopening application" $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in -L*) path="$deplib" ;; *.la) dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$deplib" && dir="." # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" fi ;; esac if grep "^installed=no" $deplib > /dev/null; then path="$absdir/$objdir" else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi if test "$absdir" != "$libdir"; then $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 fi path="$absdir" fi depdepl= case $host in *-*-darwin*) # we do not want to link against static libs, # but need to link against shared eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$path/$depdepl" ; then depdepl="$path/$depdepl" fi # do not add paths which are already there case " $newlib_search_path " in *" $path "*) ;; *) newlib_search_path="$newlib_search_path $path";; esac fi path="" ;; *) path="-L$path" ;; esac ;; -l*) case $host in *-*-darwin*) # Again, we only want to link against shared libraries eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` for tmp in $newlib_search_path ; do if test -f "$tmp/lib$tmp_libs.dylib" ; then eval depdepl="$tmp/lib$tmp_libs.dylib" break fi done path="" ;; *) continue ;; esac ;; *) continue ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac case " $deplibs " in *" $depdepl "*) ;; *) deplibs="$depdepl $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 fi if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 fi # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) if test "$module" = no; then $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 exit $EXIT_FAILURE else $echo $echo "*** Warning: Linking the shared library $output against the non-libtool" $echo "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi if test "$dlself" != no; then $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 fi set dummy $rpath if test "$#" -gt 2; then $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 fi install_libdir="$2" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 fi else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 IFS="$save_ifs" if test -n "$8"; then $echo "$modename: too many parameters to \`-version-info'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$2" number_minor="$3" number_revision="$4" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) current=`expr $number_major + $number_minor - 1` age="$number_minor" revision="$number_minor" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac ;; no) current="$2" revision="$3" age="$4" ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac if test "$age" -gt "$current"; then $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header major=.`expr $current - $age` versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... minor_current=`expr $current + 1` verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current"; ;; irix | nonstopux) major=`expr $current - $age + 1` case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do iface=`expr $revision - $loop` loop=`expr $loop - 1` verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) major=.`expr $current - $age` versuffix="$major.$age.$revision" ;; osf) major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do iface=`expr $current - $loop` loop=`expr $loop - 1` verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. major=`expr $current - $age` versuffix="-$major" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi if test "$mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$echo "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi removelist="$removelist $p" ;; *) ;; esac done if test -n "$removelist"; then $show "${rm}r $removelist" $run ${rm}r $removelist fi fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. for path in $notinst_path; do lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'` deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'` dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'` done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$dlfiles $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs -framework System" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then deplibs="$deplibs -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $rm conftest.c cat > conftest.c </dev/null` for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null \ | grep " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for file magic test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a file magic. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` for a_deplib in $deplibs; do name=`expr $a_deplib : '-l\(.*\)'` # If $name is empty we are operating on a -L argument. if test -n "$name" && test "$name" != "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval \\$echo \"$libname_spec\"` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval $echo \"$potent_lib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for regex pattern test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a regex pattern. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ -e 's/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` done fi if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ | grep . >/dev/null; then $echo if test "X$deplibs_check_method" = "Xnone"; then $echo "*** Warning: inter-library dependencies are not supported in this platform." else $echo "*** Warning: inter-library dependencies are not known to be supported." fi $echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then $echo $echo "*** Warning: libtool could not satisfy all declared inter-library" $echo "*** dependencies of module $libname. Therefore, libtool will create" $echo "*** a static module, that should work as long as the dlopening" $echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else $echo "*** The inter-library dependencies that have been dropped here will be" $echo "*** automatically added whenever a program is linked with this library" $echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then $echo $echo "*** Since this library must not contain undefined symbols," $echo "*** because either the platform does not support them or" $echo "*** it was explicitly requested with -no-undefined," $echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" for link do linknames="$linknames $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" if len=`expr "X$cmd" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then $show "$cmd" $run eval "$cmd" || exit $? skipped_export=false else # The command line is too long to execute in one step. $show "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex"; then $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' $show "$mv \"${export_symbols}T\" \"$export_symbols\"" $run eval '$mv "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" else gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $convenience libobjs="$libobjs $func_extract_archives_result" fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise. $echo "creating reloadable object files..." # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output output_la=`$echo "X$output" | $Xsed -e "$basename"` # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= delfiles= last_robj= k=1 output=$output_objdir/$output_la-${k}.$objext # Loop over the list of objects to be linked. for obj in $save_libobjs do eval test_cmds=\"$reload_cmds $objlist $last_robj\" if test "X$objlist" = X || { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; }; then objlist="$objlist $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. eval concat_cmds=\"$reload_cmds $objlist $last_robj\" else # All subsequent reloadable object files will link in # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext k=`expr $k + 1` output=$output_objdir/$output_la-${k}.$objext objlist=$obj len=1 fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" if ${skipped_export-false}; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols libobjs=$output # Append the command to create the export file. eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" fi # Set up a command to remove the reloadable object files # after they are used. i=0 while test "$i" -lt "$k" do i=`expr $i + 1` delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" done $echo "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi # Append the command to remove the reloadable object files # to the just-reset $cmds. eval cmds=\"\$cmds~\$rm $delfiles\" fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then $show "${rm}r $gentop" $run ${rm}r "$gentop" fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 fi case $output in *.lo) if test -n "$objs$old_deplibs"; then $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 exit $EXIT_FAILURE fi libobj="$output" obj=`$echo "X$output" | $Xsed -e "$lo2o"` ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $run $rm $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" else gentop="$output_objdir/${obj}x" generated="$generated $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $run eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; esac if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 fi if test "$preload" = yes; then if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && test "$dlopen_self_static" = unknown; then $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." fi fi case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac case $host in *darwin*) # Don't allow lazy linking, it breaks C++ global constructors if test "$tagname" = CXX ; then compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" fi ;; esac compile_command="$compile_command $compile_deplibs" finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) case :$dllsearchpath: in *":$libdir:"*) ;; *) dllsearchpath="$dllsearchpath:$libdir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then dlsyms="${outputname}S.c" else $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 fi fi if test -n "$dlsyms"; then case $dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${outputname}.nm" $show "$rm $nlist ${nlist}S ${nlist}T" $run $rm "$nlist" "${nlist}S" "${nlist}T" # Parse the name list into a source file. $show "creating $output_objdir/$dlsyms" test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ #ifdef __cplusplus extern \"C\" { #endif /* Prevent the only kind of declaration conflicts we can make. */ #define lt_preloaded_symbols some_other_symbol /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then $show "generating symbol list for \`$output'" test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for arg in $progfiles; do $show "extracting global C symbols from \`$arg'" $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi if test -n "$export_symbols_regex"; then $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$outputname.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' else $run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' fi fi for arg in $dlprefiles; do $show "extracting global C symbols from \`$arg'" name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` $run eval '$echo ": $name " >> "$nlist"' $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -z "$run"; then # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $mv "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if grep -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else grep -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' else $echo '/* NONE */' >> "$output_objdir/$dlsyms" fi $echo >> "$output_objdir/$dlsyms" "\ #undef lt_preloaded_symbols #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ " case $host in *cygwin* | *mingw* ) $echo >> "$output_objdir/$dlsyms" "\ /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs */ struct { " ;; * ) $echo >> "$output_objdir/$dlsyms" "\ const struct { " ;; esac $echo >> "$output_objdir/$dlsyms" "\ const char *name; lt_ptr address; } lt_preloaded_symbols[] = {\ " eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" $echo >> "$output_objdir/$dlsyms" "\ {0, (lt_ptr) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " fi pic_flag_for_symtable= case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; esac;; *-*-hpux*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag";; esac esac # Now compile the dynamic symbol file. $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? # Clean up the generated files. $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" # Transform the symbol file into the correct name. compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ;; *) $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 exit $EXIT_FAILURE ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. $show "$link_command" $run eval "$link_command" status=$? # Delete the generated files. if test -n "$dlsyms"; then $show "$rm $output_objdir/${outputname}S.${objext}" $run $rm "$output_objdir/${outputname}S.${objext}" fi exit $status fi if test -n "$shlibpath_var"; then # We should set the shlibpath_var rpath= for dir in $temp_rpath; do case $dir in [\\/]* | [A-Za-z]:[\\/]*) # Absolute path. rpath="$rpath$dir:" ;; *) # Relative path: add a thisdir entry. rpath="$rpath\$thisdir/$dir:" ;; esac done temp_rpath="$rpath" fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $run $rm $output # Link the executable and exit $show "$link_command" $run eval "$link_command" || exit $? exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 $echo "$modename: \`$output' will be relinked during installation" 1>&2 else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname $show "$link_command" $run eval "$link_command" || exit $? # Now create the wrapper script. $show "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $echo for shipping. if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then case $progpath in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; esac qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if our run command is non-null. if test -z "$run"; then # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) cwrappersource=`$echo ${objdir}/lt-${outputname}.c` cwrapper=`$echo ${output}.exe` $rm $cwrappersource $cwrapper trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 cat > $cwrappersource <> $cwrappersource<<"EOF" #include #include #include #include #include #include #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef DIR_SEPARATOR #define DIR_SEPARATOR '/' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) #define HAVE_DOS_BASED_FILE_SYSTEM #ifndef DIR_SEPARATOR_2 #define DIR_SEPARATOR_2 '\\' #endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) const char *program_name = NULL; void * xmalloc (size_t num); char * xstrdup (const char *string); char * basename (const char *name); char * fnqualify(const char *path); char * strendzap(char *str, const char *pat); void lt_fatal (const char *message, ...); int main (int argc, char *argv[]) { char **newargz; int i; program_name = (char *) xstrdup ((char *) basename (argv[0])); newargz = XMALLOC(char *, argc+2); EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" newargz[1] = fnqualify(argv[0]); /* we know the script has the same name, without the .exe */ /* so make sure newargz[1] doesn't end in .exe */ strendzap(newargz[1],".exe"); for (i = 1; i < argc; i++) newargz[i+1] = xstrdup(argv[i]); newargz[argc+1] = NULL; EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" return 127; } void * xmalloc (size_t num) { void * p = (void *) malloc (num); if (!p) lt_fatal ("Memory exhausted"); return p; } char * xstrdup (const char *string) { return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL ; } char * basename (const char *name) { const char *base; #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ if (isalpha (name[0]) && name[1] == ':') name += 2; #endif for (base = name; *name; name++) if (IS_DIR_SEPARATOR (*name)) base = name + 1; return (char *) base; } char * fnqualify(const char *path) { size_t size; char *p; char tmp[LT_PATHMAX + 1]; assert(path != NULL); /* Is it qualified already? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha (path[0]) && path[1] == ':') return xstrdup (path); #endif if (IS_DIR_SEPARATOR (path[0])) return xstrdup (path); /* prepend the current directory */ /* doesn't handle '~' */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */ p = XMALLOC(char, size); sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path); return p; } char * strendzap(char *str, const char *pat) { size_t len, patlen; assert(str != NULL); assert(pat != NULL); len = strlen(str); patlen = strlen(pat); if (patlen <= len) { str += len - patlen; if (strcmp(str, pat) == 0) *str = '\0'; } return str; } static void lt_error_core (int exit_status, const char * mode, const char * message, va_list ap) { fprintf (stderr, "%s: %s: ", program_name, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, "FATAL", message, ap); va_end (ap); } EOF # we should really use a build-platform specific compiler # here, but OTOH, the wrappers (shell script and this C one) # are only useful if you want to execute the "real" binary. # Since the "real" binary is built for $host, then this # wrapper might as well be built for $host, too. $run $LTCC -s -o $cwrapper $cwrappersource ;; esac $rm $output trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 $echo > $output "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variable: notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$echo are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then echo=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then # Yippee, \$echo works! : else # Restart under the correct shell, and then maybe \$echo will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $echo >> $output "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || \\ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $mkdir \"\$progdir\" else $rm \"\$progdir/\$file\" fi" $echo >> $output "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit $EXIT_FAILURE fi fi $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $rm \"\$progdir/\$program\"; $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } $rm \"\$progdir/\$file\" fi" else $echo >> $output "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $echo >> $output "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $echo >> $output "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $echo >> $output "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $echo >> $output "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2*) $echo >> $output "\ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $echo >> $output "\ exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $echo >> $output "\ \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit $EXIT_FAILURE fi else # The program doesn't exist. \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$echo \"This script is just a wrapper for \$program.\" 1>&2 $echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit $EXIT_FAILURE fi fi\ " chmod +x $output fi exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $addlibs oldobjs="$oldobjs $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do $echo "X$obj" | $Xsed -e 's%^.*/%%' done | sort | sort -uc >/dev/null 2>&1); then : else $echo "copying selected object files to avoid basename conflicts..." if test -z "$gentop"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" status=$? if test "$status" -ne 0 && test ! -d "$gentop"; then exit $status fi fi save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase counter=`expr $counter + 1` case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" $run ln "$obj" "$gentop/$newobj" || $run cp "$obj" "$gentop/$newobj" oldobjs="$oldobjs $gentop/$newobj" ;; *) oldobjs="$oldobjs $obj" ;; esac done fi eval cmds=\"$old_archive_cmds\" if len=`expr "X$cmds" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts $echo "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done for obj in $save_oldobjs do oldobjs="$objlist $obj" objlist="$objlist $obj" eval test_cmds=\"$old_archive_cmds\" if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do eval cmd=\"$cmd\" IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$generated"; then $show "${rm}r$generated" $run ${rm}r$generated fi # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" $show "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. if test -z "$run"; then for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlfiles="$newdlfiles $libdir/$name" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlprefiles="$newdlprefiles $libdir/$name" done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlfiles="$newdlfiles $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlprefiles="$newdlprefiles $abs" done dlprefiles="$newdlprefiles" fi $rm $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $echo > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $echo >> $output "\ relink_command=\"$relink_command\"" fi done fi # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? ;; esac exit $EXIT_SUCCESS ;; # libtool install mode install) modename="$modename: install" # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $echo "X$nonopt" | grep shtool > /dev/null; then # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$arg " arg="$1" shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog$arg" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) case " $install_prog " in *[\\\ /]cp\ *) ;; *) prev=$arg ;; esac ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog $arg" done if test -z "$install_prog"; then $echo "$modename: you must specify an install program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -n "$prev"; then $echo "$modename: the \`$prev' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -z "$files"; then if test -z "$dest"; then $echo "$modename: no file or destination specified" 1>&2 else $echo "$modename: you must specify a destination" 1>&2 fi $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Strip any trailing slash from the destination. dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` test "X$destdir" = "X$dest" && destdir=. destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` # Not a directory, so check to see that there is only one file specified. set dummy $files if test "$#" -gt 2; then $echo "$modename: \`$dest' is not a directory" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi library_names= old_library= relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ test "X$dir" = "X$file/" && dir= dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. if test "$inst_prefix_dir" = "$destdir"; then $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 exit $EXIT_FAILURE fi if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 exit $EXIT_FAILURE fi fi # See the names of the shared library. set dummy $library_names if test -n "$2"; then realname="$2" shift shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. $show "$install_prog $dir/$srcname $destdir/$realname" $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$striplib $destdir/$realname" $run eval "$striplib $destdir/$realname" || exit $? fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do if test "$linkname" != "$realname"; then $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" fi done fi # Do each command in the postinstall commands. lib="$destdir/$realname" cmds=$postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" fi # Install the pseudo-library for information purposes. name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` instname="$dir/$name"i $show "$install_prog $instname $destdir/$name" $run eval "$install_prog $instname $destdir/$name" || exit $? # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` ;; *.$objext) staticdest="$destfile" destfile= ;; *) $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac # Install the libtool object if requested. if test -n "$destfile"; then $show "$install_prog $file $destfile" $run eval "$install_prog $file $destfile" || exit $? fi # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` $show "$install_prog $staticobj $staticdest" $run eval "$install_prog \$staticobj \$staticdest" || exit $? fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then file=`$echo $file|${SED} 's,.exe$,,'` stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin*|*mingw*) wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` ;; *) wrapper=$file ;; esac if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then notinst_deplibs= relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac # Check the variables that should have been set. if test -z "$notinst_deplibs"; then $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 exit $EXIT_FAILURE fi finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then # If there is no directory component, then add one. case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 finalize=no fi done relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac outputname= if test "$fast_install" = no && test -n "$relink_command"; then if test "$finalize" = yes && test -z "$run"; then tmpdir="/tmp" test -n "$TMPDIR" && tmpdir="$TMPDIR" tmpdir="$tmpdir/libtool-$$" save_umask=`umask` umask 0077 if $mkdir "$tmpdir"; then umask $save_umask else umask $save_umask $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2 continue fi file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ${rm}r "$tmpdir" continue fi file="$outputname" else $echo "$modename: warning: cannot relink \`$file'" 1>&2 fi else # Install the binary that we compiled earlier. file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` ;; esac ;; esac $show "$install_prog$stripme $file $destfile" $run eval "$install_prog\$stripme \$file \$destfile" || exit $? test -n "$outputname" && ${rm}r "$tmpdir" ;; esac done for file in $staticlibs; do name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` # Set up the ranlib parameters. oldlib="$destdir/$name" $show "$install_prog $file $oldlib" $run eval "$install_prog \$file \$oldlib" || exit $? if test -n "$stripme" && test -n "$old_striplib"; then $show "$old_striplib $oldlib" $run eval "$old_striplib $oldlib" || exit $? fi # Do each command in the postinstall commands. cmds=$old_postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$future_libdirs"; then $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 fi if test -n "$current_libdirs"; then # Maybe just do a dry run. test -n "$run" && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi ;; # libtool finish mode finish) modename="$modename: finish" libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. cmds=$finish_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || admincmds="$admincmds $cmd" done IFS="$save_ifs" fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $run eval "$cmds" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. test "$show" = : && exit $EXIT_SUCCESS $echo "----------------------------------------------------------------------" $echo "Libraries have been installed in:" for libdir in $libdirs; do $echo " $libdir" done $echo $echo "If you ever happen to want to link against installed libraries" $echo "in a given directory, LIBDIR, you must either use libtool, and" $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" $echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" $echo " during execution" fi if test -n "$runpath_var"; then $echo " - add LIBDIR to the \`$runpath_var' environment variable" $echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $echo " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $echo " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi $echo $echo "See any operating system documentation about shared libraries for" $echo "more information, such as the ld(1) and ld.so(8) manual pages." $echo "----------------------------------------------------------------------" exit $EXIT_SUCCESS ;; # libtool execute mode execute) modename="$modename: execute" # The first argument is the command name. cmd="$nonopt" if test -z "$cmd"; then $echo "$modename: you must specify a COMMAND" 1>&2 $echo "$help" exit $EXIT_FAILURE fi # Handle -dlopen flags immediately. for file in $execute_dlfiles; do if test ! -f "$file"; then $echo "$modename: \`$file' is not a file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi dir= case $file in *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Read the libtool library. dlname= library_names= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" continue fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. if test -f "$dir/$objdir/$dlname"; then dir="$dir/$objdir" else $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 exit $EXIT_FAILURE fi ;; *.lo) # Just add the directory containing the .lo file. dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. ;; *) $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -*) ;; *) # Do a test to see if this is really a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` args="$args \"$file\"" done if test -z "$run"; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables if test "${save_LC_ALL+set}" = set; then LC_ALL="$save_LC_ALL"; export LC_ALL fi if test "${save_LANG+set}" = set; then LANG="$save_LANG"; export LANG fi # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" $echo "export $shlibpath_var" fi $echo "$cmd$args" exit $EXIT_SUCCESS fi ;; # libtool clean and uninstall mode clean | uninstall) modename="$modename: $mode" rm="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) rm="$rm $arg"; rmforce=yes ;; -*) rm="$rm $arg" ;; *) files="$files $arg" ;; esac done if test -z "$rm"; then $echo "$modename: you must specify an RM program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi rmdirs= origobjdir="$objdir" for file in $files; do dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` if test "X$dir" = "X$file"; then dir=. objdir="$origobjdir" else objdir="$dir/$origobjdir" fi name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` test "$mode" = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test "$mode" = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if (test -L "$file") >/dev/null 2>&1 \ || (test -h "$file") >/dev/null 2>&1 \ || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then . $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" if test "$mode" = uninstall; then if test -n "$library_names"; then # Do each command in the postuninstall commands. cmds=$postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. cmds=$old_postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi # FIXME: should reinstall the best remaining shared library. fi fi ;; *.lo) # Possibly a libtool object, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # Read the .lo file . $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" \ && test "$pic_object" != none; then rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" \ && test "$non_pic_object" != none; then rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; *) if test "$mode" = clean ; then noexename=$name case $file in *.exe) file=`$echo $file|${SED} 's,.exe$,,'` noexename=`$echo $name|${SED} 's,.exe$,,'` # $file with .exe has already been added to rmfiles, # add $file without .exe rmfiles="$rmfiles $file" ;; esac # Do a test to see if this is a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then relink_command= . $dir/$noexename # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi if test "X$noexename" != "X$name" ; then rmfiles="$rmfiles $objdir/lt-${noexename}.c" fi fi fi ;; esac $show "$rm $rmfiles" $run $rm $rmfiles || exit_status=1 done objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then $show "rmdir $dir" $run rmdir $dir >/dev/null 2>&1 fi done exit $exit_status ;; "") $echo "$modename: you must specify a MODE" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE ;; esac if test -z "$exec_cmd"; then $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE fi fi # test -z "$show_help" if test -n "$exec_cmd"; then eval exec $exec_cmd exit $EXIT_FAILURE fi # We need to display help for each of the modes. case $mode in "") $echo \ "Usage: $modename [OPTION]... [MODE-ARG]... Provide generalized library-building support services. --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --finish same as \`--mode=finish' --help display this help message and exit --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] --quiet same as \`--silent' --silent don't print informational messages --tag=TAG use configuration variables from tag TAG --version print version information MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for a more detailed description of MODE. Report bugs to ." exit $EXIT_SUCCESS ;; clean) $echo \ "Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $echo \ "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -prefer-pic try to building PIC objects only -prefer-non-pic try to building non-PIC objects only -static always build a \`.o' file suitable for static linking COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $echo \ "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $echo \ "Usage: $modename [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $echo \ "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $echo \ "Usage: $modename [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -static do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $echo \ "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac $echo $echo "Try \`$modename --help' for more information about other modes." exit $? # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: liblip-2.0.0/missing0000755000175000017500000002540610426033711011310 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: liblip-2.0.0/examples/0000777000175000017500000000000010433024126011602 500000000000000liblip-2.0.0/examples/exampleprocedural.c0000644000175000017500000000577210431040275015412 00000000000000/************************************************************************** begin : April 19 2004 version : 1.0 copyright : (C) 2004 by Gleb Beliakov email : gleb@deakin.edu.au An example of how to use lint package with procedural interface this program: 1. randomly generates data 2. Builds the interpolant 3. computes the value of the interpolant and compates it with the test data (model function) 4. reports preprocessing and evaluation time and the accuracy of approximation * * * Gleb Beliakov, 2004 * * * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * * * * This program is distributed in the hope that it will be useful, but * * WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software Foundation, * * Inc., 59 Temple Place Suite 330, Boston, MA 02111-1307 USA. * ***************************************************************************/ #include #include #include "../include/liblip.h" int dim=3; int npts=1500; // test function, here just a product of sin(2x)sin(2y),... double fun2(double* dat) { // return 0; int j; double s=1; for(j=0;jy) return y + ((x-y)*rand())/(RAND_MAX); else if(x #include #include "../include/liblip.h" #include "../include/liblipc.h" int dim=3; int npts=100; // test function, here just a product of sin(2x)sin(2y),... double fun2(double* dat) { int j; double s=1; for(j=0;jy) return y + ((x-y)*rand())/(RAND_MAX); else if(x> endobj 12 0 obj << /Type/Font /Subtype/Type1 /Name/F2 /FontDescriptor 11 0 R /BaseFont/UFZDJH+CMTT12 /FirstChar 33 /LastChar 196 /Widths[514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 0 0 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6 514.6] >> endobj 15 0 obj << /Type/Font /Subtype/Type1 /Name/F3 /FontDescriptor 14 0 R /BaseFont/VOMOKU+CMR12 /FirstChar 33 /LastChar 196 /Widths[272 489.6 816 489.6 816 761.6 272 380.8 380.8 489.6 761.6 272 326.4 272 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 272 272 272 761.6 462.4 462.4 761.6 734 693.4 707.2 747.8 666.2 639 768.3 734 353.2 503 761.2 611.8 897.2 734 761.6 666.2 761.6 720.6 544 707.2 734 734 1006 734 734 598.4 272 489.6 272 489.6 272 272 489.6 544 435.2 544 435.2 299.2 489.6 544 272 299.2 516.8 272 816 544 489.6 544 516.8 380.8 386.2 380.8 544 516.8 707.2 516.8 516.8 435.2 489.6 979.2 489.6 489.6 489.6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 611.8 816 761.6 679.6 652.8 734 707.2 761.6 707.2 761.6 0 0 707.2 571.2 544 544 816 816 272 299.2 489.6 489.6 489.6 489.6 489.6 734 435.2 489.6 707.2 761.6 489.6 883.8 992.6 761.6 272 489.6] >> endobj 17 0 obj << /Filter[/FlateDecode] /Length 318 >> stream xÚuKOÃ0„ïü  oíub'7T •8.ˆƒKÜ`5Mª4©Ô<*!N^­æ›Ù1áÀ9iI|ÖdY/V‚ ¥H½%R€„‰R@Y’úî•>C;šýÞõmƤ´s› :š ÏÙ[ý°XᯅИi/îÜ!i.b4,¾$Û!%óýÜMîdb€3“ ¤?GkÈa˜C™ã»™&;Ú&Q™Lš\ïׇŒyÇ¡3“zˆJ./ ^B¦^@ž”L^*Ÿöë¶GÓϦK]$9È> endobj 6 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 19 0 R >> endobj 24 0 obj << /Type/Font /Subtype/Type1 /Name/F4 /FontDescriptor 23 0 R /BaseFont/JASQUB+CMBX12 /FirstChar 33 /LastChar 196 /Widths[342.6 581 937.5 562.5 937.5 875 312.5 437.5 437.5 562.5 875 312.5 375 312.5 562.5 562.5 562.5 562.5 562.5 562.5 562.5 562.5 562.5 562.5 562.5 312.5 312.5 342.6 875 531.3 531.3 875 849.5 799.8 812.5 862.3 738.4 707.2 884.3 879.6 419 581 880.8 675.9 1067.1 879.6 844.9 768.5 844.9 839.1 625 782.4 864.6 849.5 1162 849.5 849.5 687.5 312.5 581 312.5 562.5 312.5 312.5 546.9 625 500 625 513.3 343.8 562.5 625 312.5 343.8 593.8 312.5 937.5 625 562.5 625 593.8 459.5 443.8 437.5 625 593.8 812.5 593.8 593.8 500 562.5 1125 562.5 562.5 562.5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 675.9 937.5 875 787 750 879.6 812.5 875 812.5 875 0 0 812.5 656.3 625 625 937.5 937.5 312.5 343.8 562.5 562.5 562.5 562.5 562.5 849.5 500 574.1 812.5 875 562.5 1018.5 1143.5 875 312.5 562.5] >> endobj 25 0 obj << /Filter[/FlateDecode] /Length 400 >> stream xÚuR±nÂ0ÝûV'gˆ; !Ý  ¨U„*CÕvÄK#Çñ÷µÏ¢V|~÷îÞ;ûPHÂ5Ž)—Á$B”’,Aå (IäG” ST>½cæ}–/Á$F4%ŒZJiòéB¬yÛqÏÒWâ|Ï[/¢XÛ:”— Àþ 3’õ V…88‘qHj¤,Et¦}Hq-:­Äê¨yí€c[seC†§³¥ÃŠ|±Èç=˜Ïòù¨p‰×å¸x~t ä³ENÀ£ï´|“8Árk¢Ö\í­8 ±Üôä °»Nn.•ê+Jzl€¿D & "Ú_…,Iw=ý~-–msÿßtôYŠ¥v×Z(¾öÁyxkZKu¶Œ³jN½…—3µ×—²%?ƒÒŒDvò("ŒA—7oH±ei„×U QŒ«]'!L°\éJ\pp 0üT]wðÑe)ŒÝWm”Ü»/¿Ù ßlX2¸i«õá!N§iÚ#‘ª úWï®Ùêý®é‚ endstream endobj 26 0 obj << /F3 15 0 R /F4 24 0 R /F2 12 0 R >> endobj 21 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 26 0 R >> endobj 31 0 obj << /Type/Font /Subtype/Type1 /Name/F5 /FontDescriptor 30 0 R /BaseFont/JGBXFW+CMMI12 /FirstChar 33 /LastChar 196 /Widths[609.7 458.2 577.1 808.9 505 354.2 641.4 979.2 979.2 979.2 979.2 272 272 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 272 272 761.6 489.6 761.6 489.6 516.9 734 743.9 700.5 813 724.8 633.9 772.4 811.3 431.9 541.2 833 666.2 947.3 784.1 748.3 631.1 775.5 745.3 602.2 573.9 665 570.8 924.4 812.6 568.1 670.2 380.8 380.8 380.8 979.2 979.2 410.9 514 416.3 421.4 508.8 453.8 482.6 468.9 563.7 334 405.1 509.3 291.7 856.5 584.5 470.7 491.4 434.1 441.3 461.2 353.6 557.3 473.4 699.9 556.4 477.4 454.9 312.5 377.9 623.4 489.6 272 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 606.7 816 748.3 679.6 728.7 811.3 765.8 571.2 652.8 598 0 0 757.6 622.8 552.8 507.9 433.7 395.4 427.7 483.1 456.3 346.1 563.7 571.2 589.1 483.8 427.7 555.4 505 556.5 425.2 527.8 579.5 613.4 636.6 272] >> endobj 32 0 obj << /Filter[/FlateDecode] /Length 971 >> stream xÚݘMoÛ8†ïý:Ò³~óÚ6)¼Hñ­Øƒâȉ}’ ´ûë;)Y]©i±M»jO´-“žçåð¡FK’~x›¼Ú¿¼– —ÔØdL@S'’-HAU²󼮫Òeah7ïÿJ®öquj23G­ë'Âfë˜&;œÇH×Ô›-Ž÷çC—ãŠ[.¹±D]VWšJÙ¯À¿X!kNýu‘†%„QäÔÔwEVn¶à4gÄL£—脤ÒáÚ (ˆ°6Åø€1FnòS{ØpMóî\•+’Wþ}øE|1þ¢Q@èf«pÖʈ¨9kE-Ä<ã–¶]3ì„ð„G?Ò=fჹáƒÍÖ:ó1Içž·hYLTNEä»Þ YÚ›¬òéÏô|fà3‘Ïx>…_[Ë®ZØZ•Èì7@÷‰ ˜üû®Ló¸¯x<`Öt¹ÃX_ÂÞ;ìˆÅ,ŸxŸB†ý4ã~¦'$ôÏ?æåà |tü²²êç„óTh¢JÇøåxÖÊÓ¹ëcK‹t™uè†Ü’{¿#8®ÌLz@>ßá(ΚÓn÷³tR®Ô,¿©urÄÒð]]Õ]]Å#¶›ùG„6nM(ÚRÍGQnË:DÝ=æÕƒ/¤nÝ;µ+ç°VP#¬Œ°Wm7ñ†‹u,”ýƒ¯‹c¡ãß]èþ›¯/8;†¯bø7a«iQ| ÏU_ÌÑN$³¿¾DéŠNõ…FGšWõ¹º<¼ò³^^«K›†uÍš„õÓŽá餉F¹OŸ»½øiyjžî—¥÷ÔБŠÐí¾ÉÚC“Ÿ.-nŸ°8†Þ_ù]“6˜ `„ÐÜÓM¯ô~L@ŒMïÎgz1ºüVðuµDé="þпoê‡&-Ë`Ó~÷˜Pf½ZA<&g ˜è~ÜEÌ¡~‡7#ĺ ½Ssi†û£Å'¨âñhÝ¢Áìªnvü¤ö/ÂwEÚ¶pb]Êðeœ¡ÑXÅØ–ýˆ2»jîMxÍ’«Ò¦WÃÌÕPÞ˜MTC=ƒ7§™ªï¿TÃ1û«±p=VÜP¡¢ú‡ÔØ¿F1°ôWÉùáqŒ2ø—$ZýJúkT’S&#½¹Xcè8²ûs®,“ër°G``Ö^ €xºö*¬ *X¦ µ÷êcZžŠþ’9)¼ç6}@hά4D|ã/&å}8¸«ím¿lÈ£C¼úá[)äQv§šÄþOyÓ5ƒ Æ]1bBËý¿0¾Y [ÀñcÊ|³ endstream endobj 33 0 obj << /F4 24 0 R /F3 15 0 R /F5 31 0 R /F2 12 0 R >> endobj 28 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 33 0 R >> endobj 38 0 obj << /Type/Font /Subtype/Type1 /Name/F6 /FontDescriptor 37 0 R /BaseFont/YGOLWB+CMSL12 /FirstChar 33 /LastChar 196 /Widths[272 489.6 816 489.6 816 761.6 272 380.8 380.8 489.6 761.6 272 326.4 272 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 489.6 272 272 272 761.6 462.4 462.4 761.6 734 693.4 707.2 747.8 666.2 639 768.3 734 353.2 503 761.2 611.8 897.2 734 761.6 666.2 761.6 720.6 544 707.2 734 734 1006 734 734 598.4 272 489.6 272 489.6 272 272 489.6 544 435.2 544 435.2 299.2 489.6 544 272 299.2 516.8 272 816 544 489.6 544 516.8 380.8 386.2 380.8 544 516.8 707.2 516.8 516.8 435.2 489.6 979.2 489.6 489.6 489.6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 611.8 816 761.6 679.6 652.8 734 707.2 761.6 707.2 761.6 0 0 707.2 571.2 544 544 816 816 272 299.2 489.6 489.6 489.6 489.6 489.6 792.7 435.2 489.6 707.2 761.6 489.6 883.8 992.6 761.6 272 489.6] >> endobj 39 0 obj << /Filter[/FlateDecode] /Length 339 >> stream xÚÝ”ÏKÃ0Çïþ9&‡Ä¼ül®ê&ˆLaâ¡H×·fÔüÿ˜´‰ÛA”yé ôúù|_âŒsÔ¢©Ü¢+¹”€9ü`V#*Uù›g¬È‹¿»\šC‹édŸ^_?¬übå×¹ -ü×ë€&¢F2#æû0A(€àx½ „ ‹Cìú¡%TZ‡¡šó³(•XÉ9²ŽI@ÔVŒ››Qyj¿ï‡·‰Ñ¹³bü–ÀÊkp‚ébA KRcë!¥- î’ž±7õk“ä€úÕOW? c€äyê*쪰û~ÿN¨uæ¿ä~RޤĞP’–†¬Š]”<æðSöaÜÕCÎ_ Ã&W‹c×Ì3RoÛ0ö±Û%}Züùo?¯:u´9AY¦åš07ø©kÆŒb5Ža®mçC×l÷irk(7_|mÀ" endstream endobj 40 0 obj << /F3 15 0 R /F6 38 0 R /F4 24 0 R >> endobj 35 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 40 0 R >> endobj 43 0 obj << /Filter[/FlateDecode] /Length 1738 >> stream xÚ}XÉnä6½ç+úȦ5Z¨-Ç,8 ßâh‰í&F-iHj<Î×§²÷6`@d±X,_½ªö*MÒtõº¢Ï—ÕoOŸä*—Iݬž¶«¬JÚbµÉd‘´ÕêéÄï;5{m×›¢.E¶þ÷é¯UºÚ”i"yýq\™ðvLôKçÍ4’ÚŸOd½XeYÒ–'ÖsÙ&EM»ŸvÆÁƪ{5®óJ,jày¯]gÍËz“×B¿ÓèG*f;½Zµß›ñ•Wób•}Çs??äÇó2Kd ãa_ÍËW3³Î‰Wx4>µ&o;Ó¡3;4Þ³Ÿ½×äŸwt·MÞ4IÑb¤)i¯Zodš‹½ö;ˆEÞˆžÓ¿…°z0êeÐ<ÛÓeo~¬ËR(k”׬oømg°R‰iPQÚm¹NyÐÐ=O{åU²ÞT•„€†–qëèc¯íðNA“MI'Õñ¤úä$X‹×¨é PÎ-{|œøòq¤y€>MD¯zÔî,¼àiï8–¬+ߺ‰Ýa¯–iÁG/±]Ʀ>?”'hJË$‹/·½zVEX}†·Ÿ]‡†wÆÿdžéÀêôÀç5D±g%xrÒ4ãv²û¨záiñ<Ç(,2€x™óµÊºóƒÛ vžáîq2“bÂkka¼cí¼5­‡0“Â:XÀ»LØ}Pg?ÁËgvÛ9C@D 5ßÀ äºüÓÄKçxÉ)|Ñ8–ñÛ8áéo¤QðT-î>Ušdñ©ÌxqÊž0Y¼žÑ)\§GHœéÂ4jpÁÁN €Žó4Í“´9ËS|C49c„žÜ +àA˜U”®îŠ_²²HÊéE¦I4z –ŇÊËR@/ÔL¯OŽDº*$2À-Ã`1yâ>ÙDŒUcòCœÀ†ðÎiüCY‹ü…fa §Fòµ¼¹€˜ >Ãt«•_¬vH¥n ÌÉéP'eu|Ç {{Hìhœ!ªÇ^feʺ& ¨r ž×J@ªvÚ‰"æ'˜!_aÇe`` "<‡{y£Ý5öÕØc)«ØH“ V¯úÎZt)ô0H,¿zR—ÇCbó<ÕÖV¦eì]ríåßh(%1Ã’¨ ÷:4Èé5ùS0ÝØP˜I—O-Í–èZÞ”Ø2(}%\uüí¦ý-"Y<™†Œ|G€Ô˜°ƒ<›·ˆ`,ıîljõT×-¡Hˆ·fç@‹âäXöfüîHÃ4pæ?}¾!2tzÊÍ\³0óœö!)4Xö T|w;eÑÄ >6!{úÞ7a†TY´1†0¸¬M{URyT_ej]µ©0úïŠ+çEéN²E!u¶Ð‰€}ËÃË,àõí5qiRçw‰»NÒòØ:åms̘e”îhy?“ŸFÓ«ï(MÃÃá:$qÈûÎóN*6°Âzg¡[^ð¡ø¶EÔõéuñ©ó<€iIà i)—™Xæù@f¨CÏŒƒ Øú°–ž&ë<(=GÝe‚q„3 N_ñj;õ2MÅcpíæ­äÎ)o¡s:ö(’÷˜Ø)YYßxþZph…'nϾÿˆÝ 9À@Ø€ ·}Â]Øbõ÷ÅØPD/[ƒSä`"—i(EUyŸUq ô¢.„Ù²öIVïÕÉ p»!ÌMhr·vÚóÂE@åY@sÈ#jvqèvña<ÆûÃ…’¸ œhúØû 5_j4ߺ´Ì ¾4î‹¿>Øö!÷:*L_ÇLsÒaÉ–¨?¯o hˆË@:ðï‹.*H.£ʱs7ø«„ž$-wëElÛ á1¡oä?*@ÉBj˵ôŽ%~âÞ*Ð~4¶ ƒ{Uä×õ¦†îb«œ? ÆþŸéŸðn@! ÷Äþ*îÅÑÙ¯pñƒ.3ЇȮª±ÝÁôkŠ'd6c¢Â2E˜P[úù‹Ã“ß…yŠ?Ê]Ȉ[ùÂ(½.µ ãš—Æœ‚Úk¹X²˜ªHûžÉê¨Çïö<¦ë±ìÝX ¥•4°„Jÿè¯Ý%— „ ´]3.%”â™ä|%øfGÂÅS¸ŽÂâ ,5M0 >À|`Åü¨8„f1öì7ǧ†úŽçÞ¢O‡?Ï5)¡94È6Ø;âìÎ Cè#´%J®ëJ<¬¡?ċɢ…údƒÒå]dÚ \<€¥>‚åt çä`y›4üŽ2dß/ÿÃO½” endstream endobj 44 0 obj << /F4 24 0 R /F3 15 0 R /F2 12 0 R /F5 31 0 R >> endobj 42 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 44 0 R >> endobj 47 0 obj << /Filter[/FlateDecode] /Length 1130 >> stream xÚ…VKsÛ6¾÷WðÍ”0 ðyL»M'M:®:9¤=@$$aʇ @±_ß],$*–==a¹Xìûí&ϲd—„åçä§õÍLòœ·e²Þ&UÎë2IeΛ:Y¿ûªÕßë_oîªÅD€Ô$YØ}ûË›ß×·÷«TŠŠå|•ÖUÎÞ\߯àûÓ»?ß®ßúH.‚¤ä£@0ô³Y¥¢fº›GíÀ™¬˜ŸAÕ°™¾ôã,&g¾¢oý#n4LM= 5Ìh¼îÉüþÍo¤?áGÉVÓÙi®|ôü—¨òÎ|§s~¶j§é#@Ppš¼(B¾G§©æyK«ßEÍz婜·Çέv<8¸]Ãe'uËež¤­àTùyÍTÅ ¬¯í¤|¬•3×&Ü …Pðä¢Á[Lg<©¡ØR‚«#ø™'ò1j¿ŸÃMöpE‘³‡½é°ô}È1Ík^V—•öd®CðŒM³'ÁêÆjúPS¼æ"kñš–NuÚ93íUS±Ï«& Å€‘Å^š Π\dHŠílãÎìüu'Ôk%:(ITSàJ”Ë&4cz_MU fœ1s” û™~43€5Õ Š†=¿''n¤lfHqÚÑ¡ºaêfKÈÄx4¸H µ%D@"ÆÖ›t<¸¥ù(—ùhÞ´q¶WÓS󬈛/+/3.êZ²-˜ƒuhÍ*ãgÈ€ÑzމöÆ„>NÊ’LÕ¤†'§c¢#NÏ <ž£š:} ¡g ÿ9Ãn¶ðìøŒ"S‚ÉÄØ¨£×6>—5 Üzb¬þ6bÇé endstream endobj 48 0 obj << /F3 15 0 R /F6 38 0 R /F5 31 0 R /F2 12 0 R >> endobj 46 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 48 0 R >> endobj 53 0 obj << /Type/Font /Subtype/Type1 /Name/F7 /FontDescriptor 52 0 R /BaseFont/GCTLKP+CMR8 /FirstChar 33 /LastChar 196 /Widths[295.1 531.3 885.4 531.3 885.4 826.4 295.1 413.2 413.2 531.3 826.4 295.1 354.2 295.1 531.3 531.3 531.3 531.3 531.3 531.3 531.3 531.3 531.3 531.3 531.3 295.1 295.1 295.1 826.4 501.7 501.7 826.4 795.8 752.1 767.4 811.1 722.6 693.1 833.5 795.8 382.6 545.5 825.4 663.6 972.9 795.8 826.4 722.6 826.4 781.6 590.3 767.4 795.8 795.8 1091 795.8 795.8 649.3 295.1 531.3 295.1 531.3 295.1 295.1 531.3 590.3 472.2 590.3 472.2 324.7 531.3 590.3 295.1 324.7 560.8 295.1 885.4 590.3 531.3 590.3 560.8 414.1 419.1 413.2 590.3 560.8 767.4 560.8 560.8 472.2 531.3 1062.5 531.3 531.3 531.3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 663.6 885.4 826.4 736.8 708.3 795.8 767.4 826.4 767.4 826.4 0 0 767.4 619.8 590.3 590.3 885.4 885.4 295.1 324.7 531.3 531.3 531.3 531.3 531.3 795.8 472.2 531.3 767.4 826.4 531.3 958.7 1076.8 826.4 295.1 531.3] >> endobj 56 0 obj << /Type/Font /Subtype/Type1 /Name/F8 /FontDescriptor 55 0 R /BaseFont/ZHIVWF+CMMI8 /FirstChar 33 /LastChar 196 /Widths[660.7 490.6 632.1 882.1 544.1 388.9 692.4 1062.5 1062.5 1062.5 1062.5 295.1 295.1 531.3 531.3 531.3 531.3 531.3 531.3 531.3 531.3 531.3 531.3 531.3 531.3 295.1 295.1 826.4 531.3 826.4 531.3 559.7 795.8 801.4 757.3 871.7 778.7 672.4 827.9 872.8 460.7 580.4 896 722.6 1020.4 843.3 806.2 673.6 835.7 800.2 646.2 618.6 718.8 618.8 1002.4 873.9 615.8 720 413.2 413.2 413.2 1062.5 1062.5 434 564.4 454.5 460.2 546.7 492.9 510.4 505.6 612.3 361.7 429.7 553.2 317.1 939.8 644.7 513.5 534.8 474.4 479.5 491.3 383.7 615.2 517.4 762.5 598.1 525.2 494.2 349.5 400.2 673.4 531.3 295.1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 642.9 885.4 806.2 736.8 783.4 872.8 823.4 619.8 708.3 654.8 0 0 816.7 682.4 596.2 547.3 470.1 429.5 467 533.2 495.7 376.2 612.3 619.8 639.2 522.3 467 610.1 544.1 607.2 471.5 576.4 631.6 659.7 694.5 295.1] >> endobj 59 0 obj << /Type/Font /Subtype/Type1 /Name/F9 /FontDescriptor 58 0 R /BaseFont/IMMWIX+CMTI12 /FirstChar 33 /LastChar 196 /Widths[300 500 800 755.2 800 750 300 400 400 500 750 300 350 300 500 500 500 500 500 500 500 500 500 500 500 300 300 300 750 500 500 750 726.9 688.4 700 738.4 663.4 638.4 756.7 726.9 376.9 513.4 751.9 613.4 876.9 726.9 750 663.4 750 713.4 550 700 726.9 726.9 976.9 726.9 726.9 600 300 500 300 500 300 300 500 450 450 500 450 300 450 500 300 300 450 250 800 550 500 500 450 412.5 400 325 525 450 650 450 475 400 500 1000 500 500 500 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 613.4 800 750 676.9 650 726.9 700 750 700 750 0 0 700 600 550 575 862.5 875 300 325 500 500 500 500 500 814.8 450 525 700 700 500 863.4 963.4 750 250 500] >> endobj 62 0 obj << /Type/Font /Subtype/Type1 /Name/F10 /FontDescriptor 61 0 R /BaseFont/KYMOWA+CMSY10 /FirstChar 33 /LastChar 196 /Widths[1000 500 500 1000 1000 1000 777.8 1000 1000 611.1 611.1 1000 1000 1000 777.8 275 1000 666.7 666.7 888.9 888.9 0 0 555.6 555.6 666.7 500 722.2 722.2 777.8 777.8 611.1 798.5 656.8 526.5 771.4 527.8 718.7 594.9 844.5 544.5 677.8 762 689.7 1200.9 820.5 796.1 695.6 816.7 847.5 605.6 544.6 625.8 612.8 987.8 713.3 668.3 724.7 666.7 666.7 666.7 666.7 666.7 611.1 611.1 444.4 444.4 444.4 444.4 500 500 388.9 388.9 277.8 500 500 611.1 500 277.8 833.3 750 833.3 416.7 666.7 666.7 777.8 777.8 444.4 444.4 444.4 611.1 777.8 777.8 777.8 777.8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 777.8 277.8 777.8 500 777.8 500 777.8 777.8 777.8 777.8 0 0 777.8 777.8 777.8 1000 500 500 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 1000 1000 777.8 777.8 1000 777.8] >> endobj 65 0 obj << /Type/Font /Subtype/Type1 /Name/F11 /FontDescriptor 64 0 R /BaseFont/FNCEMB+CMSY8 /FirstChar 33 /LastChar 196 /Widths[1062.5 531.3 531.3 1062.5 1062.5 1062.5 826.4 1062.5 1062.5 649.3 649.3 1062.5 1062.5 1062.5 826.4 288.2 1062.5 708.3 708.3 944.5 944.5 0 0 590.3 590.3 708.3 531.3 767.4 767.4 826.4 826.4 649.3 849.5 694.7 562.6 821.7 560.8 758.3 631 904.2 585.5 720.1 807.4 730.7 1264.5 869.1 841.6 743.3 867.7 906.9 643.4 586.3 662.8 656.2 1054.6 756.4 705.8 763.6 708.3 708.3 708.3 708.3 708.3 649.3 649.3 472.2 472.2 472.2 472.2 531.3 531.3 413.2 413.2 295.1 531.3 531.3 649.3 531.3 295.1 885.4 795.8 885.4 443.6 708.3 708.3 826.4 826.4 472.2 472.2 472.2 649.3 826.4 826.4 826.4 826.4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 826.4 295.1 826.4 531.3 826.4 531.3 826.4 826.4 826.4 826.4 0 0 826.4 826.4 826.4 1062.5 531.3 531.3 826.4 826.4 826.4 826.4 826.4 826.4 826.4 826.4 826.4 826.4 826.4 826.4 1062.5 1062.5 826.4 826.4 1062.5 826.4] >> endobj 66 0 obj << /Filter[/FlateDecode] /Length 1934 >> stream xÚµYM“ã¶½çWðHUY0ñA\—/›Ä.»_2UNU6ŽÄ™¡W"U"µ³³¿> 4‘É™6݇F£™d$Ë’ÇÄ>~NÞß}ÿ“H˜ J'w •¤àÉ– Nxr÷·§}*O}uÞl¹ÊS¶ùÏݯI–lEA´þ¥Ùpš‚À $hÚʾn”>ÛûCu´sþ~g-ñ„RRäKL(ÂQ×ÝÓ¹½<>µ—æçEÚ?Õ¶Že³a2½”£ìûŸòžÒÌ*ØãèÐHf”ãès}8u:ÝWMÛWЖ©Ðƾ>VMàËCÝk/(Ü>x4nFw*wÕw¦­Ò²ÙGˆÀy‘Ú<‰Öôï10A$ãâ ŒçΗiWq]Êu(O÷e_b««z²Ù IÓ?6:K+ÔWžàcýɼRÕ¸þ™éØ8W§sÕUÖÝ}Ý<ÚÅÛ"ÚÁ !ù´ÉyZ.•Y)æ Bi,1•^šMk”=7(ðpiv–"ÑBꌿVž4З<ƒ·€ŸÈ¢)trL˜R$—¡ãüs"É3F$ÉëTM(J¾¿Kh.H–Co¡ Cö}FD*Ê’D‚uD§DŠ’‘ü?²½žb_c‘M,ÂÄL MºŽe›,³{ë+lò±MÆ&Þô+6ù×zVLlæàI:´é:VlÊœˆ±Í—‰RÇ—«Ò@  4&JºŽIªˆªñŒ“ŒM©Æ)'”¯8D.Tƒ(«+ÖÈ {2ìÎ’ï Kt ?—Px:Þ‚b‰ Å•±‹(øíë±DÙ€"px…ŒVä%FAÅEÌè`3ð4Øœð”ƒñ!Mqæ] ¡ñT÷_°\²k›}íJj_Ý?¡l¨ÀD“¤™Ôõ¦d˽¹ñ¶@Œÿˆß€™Gßá(͆Å-Å3xà½åÏØI„³E)’ 7ø!¦ ’{6}ަÚàà¦nblü{}`‚Æ&ÛXÁ•¿ ×—hjnbÅ2®ÁÜ? ½À“*†W–‡uÙÒLÌ45‘òmîûtH9Rn-'xçuü°^»æLÄÛÀC{†WãYZâ-$MZ,®jAüØ\5•Q"éšçý›@Üb}žmŒŒhR,‰%Éô·u©õ„ ÑÖ#øØ×fOî*üçŒ)ÚÂB‡pÇŠôÐ’¤íG#Ižmœ^,ÎÚ’;4ÚÇû™B4—„ £êcL΂ð@{¦DÌJ[0{ÃfþcOwÁ`„áˆëHe|Ð3¸ÆkÂW×DŽùe§3”ÓtìjÁQðc̼뇅¥¬`l$a#Ž71š_£Îfâ–&L…i5½35zHS£láÜ}eëæmD19§ ’æ«YÀOõÞKÊ5íÞ³êzü{ij ç…Ê“›ø¹>†o@0·ý ¹×ËG(½n¸º™ °{{FpЕèvÕÏY¦ü',Ï®¦<×­£'f8Ñrå„yB=Ψ“üX7õ±þâìpKóÚ<¤O¸»®¾?¸ñê|6ÛØ~éQ wíK숖rù „%Î žÁ Ƨü´G<¤Ê9_ò2¬L‚ÀŒ jRbPáœèÆaïxHh=+ÙtrN¤wÙ¿â˜Cí±T}‘ÿ߈×ò‡e–¼±þgX£üaÅUï¶¼»Häš“œYÉ÷U‡ÛSêª=W}½3ü5—òìΔªrItÛL²îr·»œËÝ v›Ï~¶wÌ©¬5î[—Î_Ï7ü¶ˆ÷ kZüv >ðÓïÑ„¨{{âÙ¯ÑFƒûÖx¾ùûP•æÚÓáÝ‚Ô\·¬ SåÜô—ÿo#‡ endstream endobj 67 0 obj << /F4 24 0 R /F3 15 0 R /F5 31 0 R /F7 53 0 R /F8 56 0 R /F9 59 0 R /F10 62 0 R /F11 65 0 R >> endobj 50 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 67 0 R >> endobj 70 0 obj << /Filter[/FlateDecode] /Length 2233 >> stream xÚ•XI“ÛÆ¾çWðV‰m4€ÆâCªädlOJѨ\S•ƒ•h’] K“_Ÿ·5È‘r!½¾~Ë÷¾×›P…áæ°¡¿_6?=þðs¼ÑZfó¸ß¤Zef³‹µÊ³Íãßòí¿ÿñÃÏéyŠNb¦›†ÿöëûOw¿mwq”‘Úî²4 î?B×§‡ï·¹ï>â° >ý¶…I?}¸û'oº8w§£X>À­w8is÷"n ­B½Ù¥±J#¼û¥ºr¶ÝFY0ÂþYT];ŒýT®k±' º=þÇÁx´Üp-Š0Úþy»ƒF×”Üñãvg¢<ø‚»ÉTjwSSógãþX Ζ͡ëÝx<‘°!Ü#QIB"ŽLIŠà Žâ…& è¸éd{W•Mó‚3ò`˧F&”mÍ}9Œ Ošà×fáþ¤ßž·žå…vU¶¼p(«Þ}ŽLVÉ ‹#Ï,Š­×Ò’ª@¶WJ„'ÿûe§ó»ž-Ê‹² ô3†‘DcAMê™ÊóN³²¿+È×¢DÅÉ-‹kª<¹nrØuŠ£㯼eô¤Ð«­˜æ~Á;·g€OòôÇà¥vk}²S°þÑŒDûý¾ëOblþû“öí_xzãNn´õ…¿ $O$=éø–ð»æÐMÞaozíë× Pð•´Mw(½Ä:â¹Ú_×Å€žu9–ÜÃòtŽÍ4p¤›s¤Ga¬A+Ð!F8â]4(xð¸áÒp @ãsð1«—œ.‚[‡_ž¦)ûƒý?\2O”Ñ4ú‹mAñQ”‘0\¸PÎmïBù… åâEp<–aç* –OÒ:àQ®â3êÐçžâûI3/kûÖîdÛCäµ9ŒQq, ¯QkYðוU"HÞ*Z4•§ªø†¦"Àô¨ ÑY@o•W1éa" † ÇŽöd1Bã4¸Ÿ#t†AÞe©^h-Ô‹›“aò­ø_é"Ž3rÏÃJ © ½¦>«Åà>)~½²45~é–õ¢ÒøuÂHÂ"¨­ ¦ìèZ¼|¢!ˆ[î)ùoo¿p?‡v bVšì€ßyP5Ý`‡‘á„U8ˆ¸Û‚CÃxÉK/Oí E¸§‰PŠÄi ®4R‘^^ªì»©­×ª.Þ:u¡.ñ6“"çø†»e©Ì÷uíСÈÝt<÷3NŽÎäW:øòË3–®Ÿ W‚/ŠTƒ'U]/€k¹·OëýwöåU–ŒJÝtÍóT’Ë÷+ud*4o:žù>Ç{Ç1LÆÐQ’òÀÿ§®íÆ®u¢‚gxIçÓ³Ï^²Šh t4Ý–1ŸÇü5ÛzP +e…Š5<£4sËGŒÐ(7$ ŽÐìŒ8v²ã‘Á£°°ãôÜ8HT#hå”äéîѵ¶¢LnÿÁ=}pÏ+ý$¡Š=² < /ƒ•³F¸-Ç©·ƒø9\F›¥qOÂK@nÊÝi2ÛûŒîÈç ß·2A¼¿@ #ÿ‹f1°ïä‘Öy‡ƒi°û©án/"š93lfÀÑ+ŽH»v°=S(/GÁ)=õ´ 7d7þ»rO™ÄÓ¼p….±QÙmdžF’.Ñ·J–E§Èƒ©›dû,Ú¶²bˆ$SQ²Ìæžl ü§„×ü0‹T‘x?ìqrö«C°ŒÃd©ó0¾°`朰˜…ÈUJÙ4Eö–¹Öz‘÷¾‡•vг÷¾öGÌ(ŠŒ£>K63TFk¯Wdžy"ÃëíÑ4Å[¢¥ß• ¯‰ŸEK¾G4Ð#€ËX)Ÿ8s¼Þ²v–› ùÇЪª©/«—mĂެ¼ºgâYÒ^zhèÕ@ôö–ÀH(–-•YŠû¾;­·SlÝN¯2D¶t£D|kÝáè.V\r82‹Á1`À£ó ºÇt@Ö[,"3pɇÖJבӶˆò^IüðmN|lø…ÕÎ<¹VÖ°ocëÉvÜ„Ü!!‹æR±aè“ÍË5íËj¤4“„Ëwíû(Ê’PÔSùÕ¤ØÅ1q*-’, 0¥–Ýä¤#¨×ΧöŽyÓè¼´W äÄ—þI–˜Új¼F©¡>HßÊåɹ¾1Àݾ5la’ý§ö–“kË#Äq`•LÈȵ[Äl3øî°¸çF6Äꈋ­Ò Ì<—KX·øxÐB J”z¤@Ú¥QÁX $G&—ü‡Úä–ElîeŽÅ‹^¶wYW˜µX¬ˆ"Èo5³ÊÔy 7S٠÷4ú„ •FËgAdð!Ï2`†íû®W裥g<óÝ’d)Ï“½>/¤<«’ªœ U"]BU ë-Ýuiž¿B¥˜¤øzë×yCŠÞNª!æ5YŠÇ“ΙãS[edàà9Wg‘ÒÛÖÀ÷8×ÇÚçúŒ˜UŠ} ±´%Ôkï‡xU$¼ëY Çzbšy|¬ÐY9¼p‹ ãe‘ØÛ‘_[è1ÊW< Ë·ŽÌÍDöŸ€ Î{Pç‚éÜñ~\›„€Rs@rùÂmÞ0~E~ã%ÁåqºÉyX–kÚs‡gÙ¨ßÌý7A$ž‰Á›õº,ä‚WãÃ_ Úî$Yê'/«LW>9ÿdÁ¾v…¸™L™äM3ˬZíí&×Ûú Õ2y¬ »ÃÃ:L¢$8tX›%Û? ÞàŸB¦æ1|ÏÁ¾ï.áu¬îfY­Œ™T¡<—¸`‡+™> endobj 69 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 71 0 R >> endobj 74 0 obj << /Filter[/FlateDecode] /Length 2336 >> stream xÚÕYK“ã¶¾çW(7ªbÁÄ‹ gkÉd7^—=ëZ+WÅ9p$ΈŽ$Ê"53ë_Ÿn4@R)ÉYo\¹ˆ@t7ýøº1‰YO'öñ·É_æ_¾M&œ³LOæž°LNf’³ÔLæýg$˜`Ó™Ixtûþîûù‡©H¢¿ßÎß½¿›Î¤ÐÑû·ø4Ñü«7ø’Dïîæo>|÷þ›?ßͧÿšýå[ÙQ—©`:›Ä–r†ÓÀŠÆ¥Ñv¢Ü%%£}±.óûuÿD”ïvû ¹¿”›¼)«- WÄE÷ö $E\! ‹•›üi˜èyU.òŠHnŠ|[Ók³Êæ?p¢Ø÷|;…mÛY5}UÝ7¹?§Ç#LÁ‡ô»¤=s-™=sÅ”²’¸Ý™ÞîO@ù~¹.êšþÃnái¢•ýö™Ëí¾‘ž¦"ŠmY8ÑN#”`©U ,ö³e ºQÈ=Ù[y´=ä߬ âmUQíë†þ.òº - ­Xªú[¬Å6ß—CÂ:š“ja¹å%í~à§ ÁºZ?y•ƒ™Y†8þP­×Ö žËí# æÀJ6Ì2~3“öfÌg2µÜß–Û%}Þ’º‡# Ö^ «Ã¦Øï`6µ†sð,Û…=•ÀÖÒ”)okJ3&ýäM°6aÚ¸É4™‚qf†Æ|¢˜”vzIÓ<î§Œ›É¬ýâ¡dš‰òG‚}ï§Kg\fh pˆL%—·öm;ò=h‹§1hò!X{$ØHâ¥Ùä/§º˜¥,K¢¿ÎÛ/¢õâtµÆÅ4÷M¹£YÓ΂ÍûxôctºT2éæ¾=]—âÓ­›†›Ýg“VàŸ~8ûVª]e¬%.–wû} W',ör{ÎÝž,ã„w:×ÛÓÁü}¯¬N×™.°{…ô$¶á®eújPajÔ‹ÀÇŒl¥Œ‡_7)“œ"Ía‘dåý=C!Á“~x Ù&]¢ðºèQPLû3xP²F£$Êÿ(kÆ:¯û¶dÀ‚ˆw*?›É~GýÉ| ™p0Ñ£L^AðH’a ’ÅG¡ÆD>‘váÎQºÁ‡9z$4g"@/:¦˜ aÂ1ƒÍh~)úb–Ê«ÔýíPjÕ½x1“±Š–ŶjŠšþPRŠu´XçµÃdC>ù¸áçUUô bÖ„\Êæ’@ºÉ)•ÑG¥[WoòõºØ;Ú{‡¾lèì¹Añó!_;Ç©ÂM™eWí²Ÿ‰´ƒðƒ—¹Å&¬Õ¬<4š)ȇºXÒTé²­è>Hx]4¿:&`’øcB‰FrRƒûC¹^ÚÄŽÿšòqåt¥ …v;+ ª §ó­Ëa °œê¸#—¤;= âêQEf ZÜ•H±, 'Ý#aN1,ñøí«Sgä1NZõámÚûœW777¯îÂr3i°èß$ã×ô7*¯ï&žaãÀ¼Â~›àVG›µXÉpsÍcÍIúû]ûÃÂÁ£©mf<ô0öÒJr—;ár' œSZÅŒtöæçCÛÍbÏ×ökø<•KËÌx®©»$¤N ÍT4Q> endobj 73 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 75 0 R >> endobj 78 0 obj << /Filter[/FlateDecode] /Length 2288 >> stream xÚÍXIsÛF¾Ï¯à¬’:èh srf쉧Û•Òm”D4IT@€ÁbIùõó–n$(}˜ª\ÈF/¯ßþ¾×«XÄñj·¢¿­~ºÿáƒ^I)òdu¿]¥RØdu«¥ÈìêþŸÿ‰d¼þíþß?|HO{¤Ñ"NW1­ÿãçw_îßÿº¾Õ*”XßÚTE?ÁÔ—ÏwïÖ™Œî?~þ„ËIôå×5lúüÓÝû_èêýýåõ6Z®nS-REä?6ë[•'QߎҨ8ëjS UÛô¼6ìý’{Æ¥jð__×‰ŽŠz¤½8g¢vËÒ$§+•¶ÂX/ÍŽ—gå" ¢nІ)?Ÿü¥CK_-õu»†¯'Á„Ô‰P–â€)ÝUwÕqq×­N¤HÌêVa í,ê(k™EÕáX»ƒkP…Cs6B†´Ìa×àºäüŠ«Î/][lpfÃû6E]»rÁš2©Hçm[ôÂ3• #ýÔ«™ô 7,>0—ûc¬:ד}A/‰ˆ“3y@MÚFÇÎs¤¸ëûªÙá|õƒ;¯*I¢§}Û;žÝ´(û3ö¿0…ÒÙ MÙó.²1¬°;ÀDƒÛÇþ¢Å@1ß¹õ4Š¡à¦ÕVA»È}|ÆwS¢˨¬À=^ÔÈOŠühM\§ÛµRQ,6Ž´££Ÿ[Üù„œ€öð·»áí—NФªž×xhÜàþ=¯ mP¤?ìÉú°¸^ðËlH=‹ ü:¸aÏj/É%R/,M–£/ÿ».\ÄŒL…ͽ?|¾3*ÔCT·»+çEbáÓ⸌1úýù5óQtÕ°î!òkÏ™·Ç©@xK2¡5k"! ÷l,×E³q nÒ\¤ÚßW.¸IEœMÂ;@‹Mdƒµ!î1ë÷ï„Au(Ç~'cÈÜó$ÃÅÆu46¿7œžØŽÍ†‚þRN Ö!Ûn¯†GðÈÊÓò·Ì1 þŽ˜„ùMÑû…~ã¢Ã>΢GX(y…ÒΉS3×Aé¥Ó™ÈóyTqêÔPR9@®¨*Á ”¶žËN5üÉSˆÐ¡ „¼ô ™¦è§,Ñ/Ky•HÂ*äÓTçÑ»†¯œl@—\)î¹V½Nb2h²ß·c]2!´tyªKm¨,¿¨Ò¾0í –Ä±§,o’(¨(g>¨4óX;Œ¿,öQ“úÓðßÕPÀ:m[¬ò6fã’oÑtÐ!xĺ.šV«²ö§8ËC­h<õcÑ K#0‚IO5­l}…P6àŸôü&¨&x!©ÑeX› *-Œ:&‚÷úBMÕ%À}m hÙ ï#Ù¢,+”ô&ÔY®¸é…úÑO ¿Ò;F¿×àp;Ö¼k뫪‡ ¹p¯2"W¾ÚH¨'Ær)bd ©rÚñ»Ž¡o€j‰×Ù tA3ér c÷G M(½•÷Éle©F#&²Œ•Yá¿óŸü2`{ذLwÉ)¾\ÒO…4+o¿v "·=×^Ão¹üÿWñ‹»Ò8D”½V*&äx(ž—*6û+iø’ÿuï¨è¹9wU5wÕórçÝ676¯Þ!©ÅäK¨EÄ y¦2Ú/ĵZdÉëHDšã±© i @Ëåº*‚‡&…Rx `¿¥¯yíˆI×1œpžË\Š8´k;¿¶å©âxëc×âõ³ÄE2X–ÁG&!ô…0Ðèë×Á€9ÁŒoð¥ï˜HN®s%Â%À¹t¿9‡˜–¦õÿÑ‹¼Y°Ÿ¦ÑB ™¡õ/T¿ê£ë¯Oá„r·å·íj„}Æo/óݬá±3Ižo9”QôHb  ³¢ó}”s¼BoÆã}ÜóÇ8{‡ [^ð¡= ‹YÁg ß¹]Ñ•5A@m‚áLF†ë*­M†_Lh…e7Ë¢@¨þŸöãþĺ_mƺèøì«ÏÙ.(˜S‡„£–¾ ±X‡¶ã5¸Ÿ}[az» ;×àëƒ+'ÄCÍ–²¥“g`Ò¹€úÔ0ðïcî¦PReœ=×/{W2²‰ßxÊJŸšÃ¿Fþ`Ž}s™¾þR@Òʃ]ÿ+·qO÷°j*~Ùóõ@&ÄÜÉŽÖ†8ƒÓ…‡"È v1×ì’èXØó‡¤ËþpàÔ¢°$Œ ¯åª©ô^{iÎÃ"·V„']ï³Çf˜ÒìâQ…XýÞ¬¨3Â~k>õÁÐ]Ÿé0¹ªÃ$ ïù“¿çÅHæß¢4n ÓÐ*ï/)ûKà¡KiÏ»”³ˆ•àH—+½*V£=ObÙì;ÄJÐ[_KÆ'dåóxx’‚K þ›Z\Ì 6¿@sœ»Á{_uÏâÃTËs…ççðbŸ§-áÒ‰ñ}õ sè3sÐ}Ðù¹ögHáTˆUx•' q^cÖ¡wüÛ›ÇÝ endstream endobj 79 0 obj << /F3 15 0 R /F6 38 0 R /F5 31 0 R /F2 12 0 R /F4 24 0 R /F8 56 0 R /F10 62 0 R >> endobj 77 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 79 0 R >> endobj 82 0 obj << /Filter[/FlateDecode] /Length 1753 >> stream xÚ½XK“ÛD¾ó+|WÅÍ[ ÅaSlTH¨Äpa9hmíZD–\–œÍæÀo§{zô²dXŠ‚ÓH3£é~Œ¢Åý¯/×Ï_Ù…<1‹õÝBXž¨ÅJ »ÅúÛ_™äŠ/WÎ öêújGlýóûëË•’†½{…£eëï®ñÁ±ïß®¯ßÿôîÍÕÛõò·õÏ_©þdå,wjùS… u½š+ë«°e;ÓÉ–Ë• k½T‚=@Ž`Y ƒ3¬º£1=Ž®Î÷i“W%Nk“·E¶¯QÔâzíM•Sã˜K/íM~û&?LôÖTÔÎ÷80+—`kJHkا¥Ñ,=æÕ)Lä°lY“øÎª"¨„ki¹ÅT†å^ei5ÛgÍ®‚GǶõ3cö°Ë7¸qçÍX‘:+€MHé1#/Ô§¼IÁ`z»«Žä“f×Í…ù—÷äÀ!îÏŽñÈ•2Üiò 7˼…¶\$ ZÅ\%~Ç÷„ÄÄTel{ö‹åJ'’½Î?¡èÌ/ê ”1l›6)í¯³†¦±‘`o+š=ƒWGñ^?“×´ù¾u$dK¶FÌp¡Þ§E‘ÕÿÊ›ju;?äÍnäצP#הּ؜ÀÊl@SŽË3ÌÔfRÆ<¤VUVMU‚ ©/E0 ¦CLvžÉ¸—ôÁ' 0†¬•ç€Jý7|U‘D…žÂ /A„<¢)FÈhÀØÙ!Ôy 9 K.‰€½éTvìx"ÂáwSÑ7-¥o³1Y¶i‚RéŸÄ¨÷@ý.ëÓ-毚ˆz݌呺ý[mÄn¤3˜5ÝŒ)@)Ûò3Áð¸ ί¡â@†~ƒ –Ö€„Sm«pÀýDv‚Õ”}Í«ÒãýÉW DÝF»1zø'Ô0r…¡ÃD¨68ÔÌE’‚ш ‘¤ÚHò¬”Ðw6}ƒ «ÕÝÔ”ú3÷$š`xBa…§ìÃSw᩺ðìT!É툔5Á·Þ¬ÇþºTÅÒâäWåœæq­¼¬¸å¶Í·HêG:èD™_A‰«SìŽI\}(ò¦é–|/ Ó›cU׫ K¾õP¢aÚ¶yl‰,ÅxŸ †-ÚLmÛ1`ßÛ6CÛ¥™³]BKkŸæµÀ/é$Ì8UÛ9‚éúiwÖd èSvÊJ³«yÃÚº1Óõ]õü4S|Í·_K/ò¡È¶÷xŽš…ÃEsAÓ¦Q¨ÍÀbÍ~÷õ\)‹õÜ¡KÈ7yƒÆ<’° *¬;á—d¡rÝÍ /5uk¸"Ê¡A}¦&é¸U]k0M|JŒ½ ­„;s¦›u¦…-‡Î$û( ¡Ì±CzÄû¡ŸBÇYÌ‚‰mµOóÒG¿fÒ}˜NkÚ×·W~vȆÕÔ¡¡æÉöj)/u¯Ï¨_¼=aß%ÏüãõÇowU±­é±*‹0‰WÉIÄàe=€øyꀓw¨†Ò‰¹šÒ%›«)Ã×¶í—¦²…ââ©¢å¬èöó—3šé:mê«¡'KFù/ŒªéqRºõŒ®šHé'Šì®†¦c§Ã2sÕc~¿ ×, óMu,³cM{§1ï©Ó¦ ˆÇbLÚxŽ´F½•v\Í´K± QlBË8ö±ˆ#U‘êTnkLOÂ^þ»»ÑFëQ%Eæ%vœ*¦<®ÈÔ²*WãË'¢2Í…_ˆ/ýÐXvkf¨r@±œ²—n~—n=®¿X´X b;;™Û&øÆ·˜\O1´›üÇÀ©»S¹A^ÙŸ®Óζ{Ý`ïÙ¥Üõÿž°§ÄwJ¯øyÛ3GãJJØ·y =Dh|U]ÇãKNƵî¯U±÷Ò×YLçã:ì]` ÷1MÐ1éº{Ñõú«?ϤH’ endstream endobj 83 0 obj << /F6 38 0 R /F3 15 0 R /F4 24 0 R /F2 12 0 R /F5 31 0 R /F10 62 0 R /F8 56 0 R >> endobj 81 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 83 0 R >> endobj 88 0 obj << /Type/Font /Subtype/Type1 /Name/F12 /FontDescriptor 87 0 R /BaseFont/CMQDLW+CMEX10 /FirstChar 33 /LastChar 196 /Widths[791.7 583.3 583.3 638.9 638.9 638.9 638.9 805.6 805.6 805.6 805.6 1277.8 1277.8 811.1 811.1 875 875 666.7 666.7 666.7 666.7 666.7 666.7 888.9 888.9 888.9 888.9 888.9 888.9 888.9 666.7 875 875 875 875 611.1 611.1 833.3 1111.1 472.2 555.6 1111.1 1511.1 1111.1 1511.1 1111.1 1511.1 1055.6 944.4 472.2 833.3 833.3 833.3 833.3 833.3 1444.4 1277.8 555.6 1111.1 1111.1 1111.1 1111.1 1111.1 944.4 1277.8 555.6 1000 1444.4 555.6 1000 1444.4 472.2 472.2 527.8 527.8 527.8 527.8 666.7 666.7 1000 1000 1000 1000 1055.6 1055.6 1055.6 777.8 666.7 666.7 450 450 450 450 777.8 777.8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 458.3 458.3 416.7 416.7 472.2 472.2 472.2 472.2 583.3 583.3 0 0 472.2 472.2 333.3 555.6 577.8 577.8 597.2 597.2 736.1 736.1 527.8 527.8 583.3 583.3 583.3 583.3 750 750 750 750 1044.4 1044.4 791.7 777.8] >> endobj 89 0 obj << /Filter[/FlateDecode] /Length 2292 >> stream xÚÝZKwÛ¶Þß_Á%u¡@<˜ž.Ú4mÝ“49©O6×]ÐeÓ‘H]‘Š“üú;|-ÇN]‘&€Á`f0óÍ'G I’è*2ߢŸÏ¿ÿ•G”’LDç«HR¢D4ç”hÿòߘ²Ùßç|ÿ«æÐ”“DF‰ñûOoÏ_¾›Í9“1#³¹’,>û>½}óê§™¦ñùÙ›?qXÄoßÍ`Ò›Ÿ_½|m…¦U„Q:ï¤âÖ Šf$Í)……/êÍvßæmYWùd)oŠöº†W/›^XJxŠÂ’hÎ2¢¤Ch'謚ÁжØmÍÒzmdâúèåù[P*ˆH¨ßÊ3¦â¢šÍÓTÇ9>²x™·Ý[S´Vš b²”¤¼³Ö/vx´ çªýÑ_ GÊh7¼ò ’énð"¶£bM‰Ýè';¨#E2eÎF¤ˆ¬¹`øƒ·VÊ¢y?á°Ÿ”ñçC10ŸkOÎDCJGr.fþAMLW=2gNˆ¡þ ?‚#´Œ©'ˆ%DHz>z(÷èÆ bEbÿP¾õRMå{â·„d|tpæ)D9QY§Ð»Ã ²Aø2àW-úf¢„"ÔmV@O5#‰‹»g`S•Åyµ´QÞ^æÆÌ9×€puIjuyUn›^‘ë²ý³/ÖyÓx›«ŒpÖɇE!Ÿj~Rh¿ö×2"œ«!à@ ×+û\í«^ùÆþy{]7…} ©óڼ¤ÕÚ/e·®Ùäëu±ëdï¬9(Ø)k›ÁŠÿíM¾Bµ1¸çîS<³2.÷åzÙ‰˜—zÛ–»‰ŠK««Io8¶vÊ{׊™ûÍ^ŠÑÍg?’¤É-“¥RŒìÏ”²©-b”¤Y—GÛÚâoBRÝÂpB8„6•a,ÚÀ‰åÁ}XGAަiX77\ÐXv‚ο{‰,!’Á ¸´8ö¤,®oQù¸Øy'´™÷ók!Æâïü ·Kž¨ð~» «™Ñ§RÓån1N´O©‡ku†nvÄ·ëmíkk¦±üáœÛëbW7œ Œ£Ñæo“‚ðe]c\ßάw ¸¸43ë}xÀNvâ®°jKSµqbîg£Œ Å8V«Ç™û ƒÂ\xèxSV‡ áÕM£9”>~´1TýŒU¨¸:}öåÃyý¢k2ÇpÖ@ôR`“ìv \ŸÞnn¼Õ`‹tj¨ ¤"ÜÞKihïì>蓵›Ã>ÝŒ›–€ö’Cßf#xDêä$CïI2ú)ãIÛxRñ&÷¬Â4Ñúžxâ[ï'uG8¥wý žîuë¿:¤žûp à+eÓt’M•Ñ\K(<¿6°†¹> R#¢·„wHˆÇ‹|½Øwýù`± ›v——W×8¬êI²ùn ­” æ½`å*´å*Â¥–÷ùz_\ôÐt¨Ta—igÕ«S*ƒô6G¡õ@’ (vÞϸ7­ÜéX»iÃÍõh‡[.˜TþF€»{¦g6WÔ]öƒ>Š…˜cjȱ¦]§û)ÀBdÞ‰ùÑ!!Ä)$Äó»¹". Ø>ãU¸+QÊQQ²$Wa.®»´SC'l°ôÆÔ$ ›i”0ç©C&H‰±Ž{]Wu[W…¥Õ¾† K‘Äc‡ã‰Møb“‰Ç(2®RdÙàH’¬c Œ´0¹ (‚”†\ÀÓ™¶dt^»¬¾.–Wø‰¡ÎyÈ`#îj8¹W ÜbãÜe«%¶bœÓËj±+òó-8\¹ o»¢é2õ³}ª‘“0#¹}4ûKôŽyÇê‚S>ÎD Õ¿Ì¡$4¾ãrNÿ÷°$H”ÀàI≳dèþNMÒ±rK_dz‹yð–I3 WÔ”08î¦È«Æ™4Á‹3 Ï11ÔzÿœðBÇž3V®ìóÐCŽ’š¾È-e¿ŽÝЭÚÕ›?àJöîðZò!} £$öÂFÚºvÚØ/º«÷6lZk¦%ÑtÌoeÇ ;èɇp1IÉ¡„¦ß¶öëêS± @¬TA¢ÎF1ïø:Ó»Ûžþ>Ì!ã}g_xíȇgGÍ¥‘Õ3êÂò6òÚOAЧëð4çØáá#À@h °¾1POÚâ}cÆ€Û»“Ìøm›?~´÷ëÑ<ƒÊÍ)&ûÑÅUýøêœõ‹Od+þ°$ÊVüƒ”è8–}¶"eXvËV<Œü:`+ô7`+Î #N¥Z䉾:ÎúѬOæ©f xbt™±Î^ß!îú‹w>ÀàA×uŠ¡£ê/ €sX*SκV"ÞV·º)Û®Ùñm¾kíÓüÃÓ¢íE[￘ŸÖ'‡8@(.ÀlMÄ:Œ¨-F4:Õv'»Ýmà-6e6îUϰøîèñ;AÊsïP‘Ç}~Ñ_ãü)É-íXR¸ws™ ž Ü9TÂ/þNcEhàö*Þo@ºrø1Ú˲9WªŠÍGDá—ÃÔ0U¬ ”*9(6…LÆál˜" F’ì‘*tñ_r‹®‡ûvHú€ýµt*ß›ýyæþq£/!°L‡ÀﬡCpÿ‡ÄE?þCÀÐÌÅqb‹µ8í?"-í±A žé‡C¹·ç­˜½ïCŒPO·º_>Ìæ( |…×îÝO¨!înËÆOÍ©FÀ2%cþóÝ屨 endstream endobj 90 0 obj << /F3 15 0 R /F6 38 0 R /F4 24 0 R /F10 62 0 R /F5 31 0 R /F8 56 0 R /F2 12 0 R /F11 65 0 R /F7 53 0 R /F12 88 0 R >> endobj 85 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 90 0 R >> endobj 93 0 obj << /Filter[/FlateDecode] /Length 1868 >> stream xÚíZKsÛ6¾÷WðHMC„HŒ';>&N:‰êKÝ-Ñ’R‰Ìè'ýõÝøŠR,»Î´>$€Åîbw¿]^HÂЛxúñ“w6|úZx”’$ö†×$á^À)QÒ¾üÃg$"ƒ@ ê¿xwþÛïà ýÓbþð—woOß ÎbÿüÕðçw/? þþúô5o¨q)ˆä^¨)QŽýÞ«!¬éñˆD‰NÓ½çE^¬‹<Lqœ–Yºšå|üëM>ZÏŠ|e^Óefã,¯Móf¶žšÉ³Ü|YOËQ«tQ¶nLøé€Iÿ+Êð¾&Կ¯_ÍäÕlñiþUsPIbà5ÒLf_F8wšæÍO˜Y…'8s‚üa³¸6Ϻo™­>}ég Æg\NwPT,°Cù zŽ´×+CHhmÆ6™¢¤RæG×ÐàqÙ›æcw6'qÜž­­)hæpz=àÂô˺;&*)ÿÑå]’PyÕ\Ð èUúÂá"!‰(‰<ïP.vwºm)G8Êi³/¥­Õßf®ê¼Ý&¶n{ôBÜðJ#ˆuž­§hòÂ/C³Ôg…†‹t¾É^€?_Ö²XËIŠÑŒÄ@™Y~‹@°žÎtKúé|R,!$/ºØGs7ꀒ.g)Æd/ÔÁ“ÞZL0ÿÓ²¸‚¥ž›†eÀÅÏ(˜áÕà¿ò9º)?¯ ó¼2á׌Y4`ƒ]›µù\ä;#?®ÂyXFt–ø«ÍÕ*[;†"-3îps ¨[› “†V…˜S7Æ3"+êÅÒ¬ô¡‹³ÞÅÏ:ü·šüÄ›Tlž *D5ß^ŸAnQŽb]Æ+Ëz¿íà iOc‡5EdbÁS'ü1R‰–v…ߘïÛ–Š÷«Žå“JüE–(lÓç1æSfˆr¨[N<ë \ÕjÓ9ʅÀ{XiïYýÔ 4Âè ܱ¾ÀøX¸dB¢eÅ¿D¹+ØY" X÷“2‘P€Z‰í‚Ãi‰ÎÆ•‹M>®bͲì¥óÑfŽnÞ7&qÀ1—ÉÆ—ƒ'¦C'‹¸e L7à!Bä~té0UÛÕ^äp-Gëf/r”š9:ì}+Ê'$¦ÎŸ£FÊÄÉ «»ŒDÜb”v¨Ê€º¿ Ïð![}Žmë’¤Ç9ƒHÚfMíb-ïHŽÀ9óômÿIƒemušª‰Aò3º¬´4ÊkˆÔºÑ ¤Ùêa­DZ€õƒ×pQ¼•äQ“wÌ:RYgUBƶ2LűkGœ$°ˆŸ:ü¥¸Ã@»•é¸UMÜØÕ­‚ShïÞ¸/8Å»‚ÓI‡ù°*¶.fù¥ºÈ‰/­ Hùé6åá@Òa¸Ga§'LºöQÚnÒ¶‰ñµ„8× 3©óšndBuqá’LZn°’·*¿‹ÙÒ:¯½d§ÒEÒeŸRȈY“àëböf¶ÊÜ ¤•6ÀïŽB< ñY%B:¸t Īºä¼X“½°&îÖκ` mX“Ö ®Ø k²Ö¢ã`­~ë†5v ¬Eû`ÛÞ¼øŠ¡š.+ç8š‰]SïÆÿcä±ïÇb¤+'XÉ z¶½„Òu¯£z!†öC ï…z+ˆa8qÄDŒìÊÏØòÄã`¦ü‰ƒÿöCã‘ú?°ÉrãV–+Z1ëµ~äëpTý ‡‰Ã,bJþX“=Öd×d­ÙM˜Žu%TÜ ·Ã6þïbÛÈsDì90ºÝ+¶í(ŸØCú_Ƕö¸ïÛ¢øPlS‡•P‘uD%Ôc µ¯„Âäï;)¡D?ÌÄf¢#`F~›“vüFÙÄ}ÂÌ·ÿ¦s…@ËØHÚSC%ú—îî`FuÃŒpÒé½=e¾Å¼Ì“¶þÓEw2eǦ¹åÑÖ £©ÄÓ‚E›yª¿ˆò²UÖ»ðõöêËNÐiNÅÀ¢<èWþxåœô³H_Ø:ê“]¯ßg(Ë:ýñT~;ÈÝ[Œ5)DMúýl2í£My‚‚™ÕqKj®ïié :¡ÿA_â”U·~8Å«U“²ž„—Qš›õq¿þZäAy®/(ÊoIò/ dKsdÈ}_@?õi£ÝHËsGäËÌÂï Ö\e+3¤ºH†Ÿõ]1aÝ㪡…wÅLK_‹Â¦«ûª®S,û2“)+ÌXs{LÔ÷0:nÅ¢q€Þ+,Õ…þÒzb± endstream endobj 94 0 obj << /F6 38 0 R /F3 15 0 R /F5 31 0 R /F8 56 0 R /F10 62 0 R /F11 65 0 R /F7 53 0 R /F2 12 0 R /F12 88 0 R >> endobj 92 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 94 0 R >> endobj 97 0 obj << /Filter[/FlateDecode] /Length 2369 >> stream xÚÍZKsÛȾçWðÖš³˜fvíÁÞµ§ü*¯*{ˆr€HH‚–´¬=ä·§{À€’­+ÉI zÐÝÓϯg´HIš.næÏŸ¯.¾Ã”’<[\\/$%*[¬8%Z-.~ú{BÅòýþ×PÁI*©¡ÿø——Ÿ.^^®8“ #Ë•’,yû^}úøîåRÓäâíÇHÎ’OŸ—°èã«w¯ß[¦x.éÊqEÑ ²fˆË¥ðéÏ»xФéo«ú¿^¼¾8¢¼–DqÃáåÇ,gIYwû¶Ägžô·EïŸÜ«MÑö©+{«MÃ=oáöü“¥’)èž9jÕY>ëfw_ôÕÕ¶´ 6O•!&û˜Šñ_±T‘,óä$¼(æñXÄd4'9 1¡þ¿À„ö¹[ÿñq-\ù¡·bfå GЫÿÓÏÛ <¼¦™¹°¶U]­}†fpÓ»íÀÊwC½Bn–ÐÝo«¾wÃø´Vueþ䡺Du±vp02†ÍáCž…9<Ê^¥X‹WU8’L0ÉÁxcjöñdb³†Àƒ‰ ã÷gµ»‡á뼡V‘¢Fçå Ù`óIÊX¤ÿ½7*ÑQwiõtwqc(}ÄPà-i¼Åm†Uë¹ê´PŽè¨‰^'ý!vh$|qtqQÛ¿ˆÕšºØâ/X„·î „Ï¥9fÁUö´¦º¹Å,ï;˜ÇÉÃmµF­Þiý/ÞÛštê†u ?· CY¬×û¶X?Ú‘À‡y¬)í¾Œêä¬}›ÓæÌ€¡éL“‰ÄÔºý®l«µ±¼ÂMÒuUÖf™ôG[†¢æÌ£fxÀ£*»z,~ðÃTM »E–«Œñ†g¥•5»²³Â`ö®ÚÝo˯ֆ»²¿µ'-keCÜ•µñ¤©Ö°Ê#pÎ_­èzÇö~nE¦‰ïNÛêª-ÚGÔ3fÌ,Åcjœ:2Ùt3‘BŽiüó®iú[sœƒG9—"˜df žÍØAÐ8·_âì Ó}»aªsd9(Ç8®L9éÄw‡ŠgÍÓûƒ©Ð¥àÐ4Åè0ö¤MûcmK.mâÖÕ?!» Ìüz?†ÊÜ7++𸪨é»òºÿ\Þ@A‰ëœ§8z?ÍÀŸ¡úœfÑsÜ{PÆ8޵fÙQ[ŸÝÁI!'"î÷l(#9 \àu‚ ó~cŸ®±áCp„j+‡’ŒýHu§/Õºê¢‚Ô†ÔÆ­2 ?¼/ÚÞÓ®'4–lš]á+DPƒÓPѯó–žc5v˜›©(ÄFò—±[é?G`rø5ƒ )§ÓÆqáì䤸*‚³ð€dz‹QŒE Ê.î„»CzÝõÕÎ|¨Ìö4økÏ¥9õçÒJ pîzhÃÒñ4úš{ôý²ë ûØÞ26s¯„Oñ{¥4G\uâ^i P|ê¦êL5Ç“wI2 eºƒvé7”ñaCØÂçöÆS%~üŽ(È+«„Höõ¯µ=Yª‰»(bò ?ªÒÚÞÝÌQ„]Õ\Gàc:^¼Eu>–,2¶·–]+lT Éš ïÚ¦ëVNƒjccŒ¨±¶ 1¦^ñ™òá™CìL¦ ãQ’eª™Ñ\ô **9QHèdƒ>Öj„-@maÍnûèØà½ ®¬¾T›ÈQ-ä׈ý#&0zom“j,ãê“—²í'ú=‚0‰XjöWÜ‘+aÆ—‰ìû焱`î ‘DgÁíÞPg&»ãxø÷û°3.±Î`û²Ÿ,Ðñ©5…ÃeÆcõ±«ÜèݷͶ³N¶A¯48¿…G«á•«ð¦À[°.ܼ®Ñ%󚳡gŠÓÐG ,ð‚Í“ ¢œ'69S¯£ñÒ…÷sò„íé)ÑË<Ùhû(>Ù»C¨m÷ÁÑŽ_}õ ¹¯4œA ᯠç1;“ç‚D‰ßzòPaR3pwã²âœãDàSe„Ðf€uð#7wºþeæ_:Ì ƒ;óÚßÉÇè”õ×öí£}ØT—,“e[ºÚn^‚a„7 þŽÔU®‚úÿž¹Úö§ª@Ny endstream endobj 98 0 obj << /F3 15 0 R /F6 38 0 R /F4 24 0 R /F10 62 0 R /F5 31 0 R /F8 56 0 R /F11 65 0 R /F7 53 0 R /F12 88 0 R /F2 12 0 R >> endobj 96 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 98 0 R >> endobj 103 0 obj << /Type/Font /Subtype/Type1 /Name/F13 /FontDescriptor 102 0 R /BaseFont/FTDCRL+CMR6 /FirstChar 33 /LastChar 196 /Widths[351.8 611.1 1000 611.1 1000 935.2 351.8 481.5 481.5 611.1 935.2 351.8 416.7 351.8 611.1 611.1 611.1 611.1 611.1 611.1 611.1 611.1 611.1 611.1 611.1 351.8 351.8 351.8 935.2 578.7 578.7 935.2 896.3 850.9 870.4 915.7 818.5 786.1 941.7 896.3 442.6 624.1 928.7 753.7 1090.7 896.3 935.2 818.5 935.2 883.3 675.9 870.4 896.3 896.3 1220.4 896.3 896.3 740.7 351.8 611.1 351.8 611.1 351.8 351.8 611.1 675.9 546.3 675.9 546.3 384.3 611.1 675.9 351.8 384.3 643.5 351.8 1000 675.9 611.1 675.9 643.5 481.5 488 481.5 675.9 643.5 870.4 643.5 643.5 546.3 611.1 1222.2 611.1 611.1 611.1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 753.7 1000 935.2 831.5 805.5 896.3 870.4 935.2 870.4 935.2 0 0 870.4 736.1 703.7 703.7 1055.5 1055.5 351.8 384.3 611.1 611.1 611.1 611.1 611.1 896.3 546.3 611.1 870.4 935.2 611.1 1077.8 1207.4 935.2 351.8 611.1] >> endobj 104 0 obj << /Filter[/FlateDecode] /Length 2518 >> stream xÚåZ[sÛÆ~ï¯À#866Ø;`\;nÓ‰íÌXM:Sµ3 I°I@AÉʯï9{ KŠqj¿ä `±{ö\¿ó‘QÊÒ4ºŠÜåoÑ_Ͼ{c"ÎY®£³Ëˆ–Ë(‘œe6:{ýïX0ʼn5<~õþíOÿ<[diür‘‰øì‡÷ï^þ¸H¤ÐñÛïÏþþþõ‡ÅÎþñÝ9®&­aVF©[‰k|kÓCÜÃj÷¦ªaX·iWe‹Cw =ÚTuµ©~+ýÓk?¨›v㿹Ü{•Æ«ê\hS¶e½ô“/‰°qÙ-„‰ï8,qC›ëÝ´åªZvåŠÖ(ê•“5®˜RNÊæb[¶·î{œ‹Ý.´Š‹õ®ÜÒýeÛlhD ÃÔ-lë´ÂÓ‰’UÎÒÌ«å5½·‘e¹Å·9öe6'Ì´ªP}Ã{°Ž’:þeÇ(i÷m³&9é¶ ËE•¬Ë[TB¹&³57*·èª¦&qoÚæb]nÈP\Ifr0”v’Á^` ’&¤MRÆu”Ø^Koýqù0#cyÖsaÓ‡Ç5Lçþu:;*,+"®™äBN°ïÏÀyUÝE:g°QÂa~ª£MdËÍp¿Ž>€{“„`Bºe”—QŒAlÄs¦É#ÿ8fª¢Dh& ùì윂eýAÄþ­Œ4žmž2‰R ,³Ne0Œ«¢Â+û\;Sˆ¡U ËHÐMñù¡¨œIgM‡ý4T1#N”Ïds€Q Ùû<^$FÇÿ¥YzꥠKÚåþ¡ˆpR ò= ÷v½$ÃØãÈêogŸsÁ´í]n1?Ë·š*Ý^˜Øøã\™ ±@?ëE¨d²L¹,Lû|üHà×ÄCŽ7.ñy.*8 „ˆÚ‹¾‰ ™ 3¹C Ùß„Œÿ1¢ÙtE h=Á??t =Ö¡'!·NG¿?¤ÅQIˆýr{ˆg”Òydy4çäa0ÙQ‡¼_>–@¤:ž@ú åñ ˜G º³• œsùd‡PYŸ„¼ÁN6hnÁc§ÑTÆ¥uéƒùtO`Æ¢uöÈÚì<ÖüÇ!ÀKØ¢@X Hñc&UîÒ° 4Cƒö•ò²š–òM‘gX?œõ—åÖ?¹lZëõ<ÅšÑéß…`$ïÓ*³G*I¸â˜ÂñÎÙÄ&áÙ¤½Wûl>¹ ³uè›äsnÊ´šz y€Ýç—à–̃žS2Ä)ÙtŸS‚{Wg­€™]áx2÷¹ÿÚçà¬Éùȹm&惉=2ýmA{]T‰7fêèpJÇ*YÏ*™«döX%H˜¡uŒSRSʾ˜S2˜ÇÀ&2䔄£ü}Ï)Ñ$•JÌ*NiÒJÄáBâQ¦!>Iü€¡KL$2`AÖ JæH'žO{Eâœ^ðù`#XZ¦H㣔a”¤ó4^Â<1íå›ƒëø«BAû:ìxŒ©0§’L‡š?Ï$8Ò_ÞÙA{j4öIö<™yúêöôj ‘Oöë“OqOæK¹'ù͹§góäÌL¨§_Vкßã̧4qøkÆj×Ot=6<’¦{Ú³gC•_(>hžñ•(¾T ø^ýæ÷à¬ü¿'Uî8”L>ä÷1ö®Afʽ½.:Á|"*2ƒ~;´’FJds­; {|ÿì ºz[õ̀Ȕ'jà«uÑ^•P¥ÇzA阂1w¿àŸ‹üâÅê¶Ú–$Ú÷)·gÜðŽ8xÝîê]„J]ªqƒ)×Tmüa.ÉYÀ¤›¾²P`rKzåÚ¶Û®÷‡¿ü¨Ö§ endstream endobj 105 0 obj << /F6 38 0 R /F3 15 0 R /F10 62 0 R /F7 53 0 R /F8 56 0 R /F11 65 0 R /F12 88 0 R /F13 103 0 R /F5 31 0 R /F2 12 0 R /F4 24 0 R >> endobj 100 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 105 0 R >> endobj 110 0 obj << /Type/Font /Subtype/Type1 /Name/F14 /FontDescriptor 109 0 R /BaseFont/JJDLUB+CMMI6 /FirstChar 33 /LastChar 196 /Widths[779.9 586.7 750.7 1021.9 639 487.8 811.6 1222.2 1222.2 1222.2 1222.2 379.6 379.6 638.9 638.9 638.9 638.9 638.9 638.9 638.9 638.9 638.9 638.9 638.9 638.9 379.6 379.6 963 638.9 963 638.9 658.7 924.1 926.6 883.7 998.3 899.8 775 952.9 999.5 547.7 681.6 1025.7 846.3 1161.6 967.1 934.1 780 966.5 922.1 756.7 731.1 838.1 729.6 1150.9 1001.4 726.4 837.7 509.3 509.3 509.3 1222.2 1222.2 518.5 674.9 547.7 559.1 642.5 589 600.7 607.7 725.7 445.6 511.6 660.9 401.6 1093.7 769.7 612.5 642.5 570.7 579.9 584.5 476.8 737.3 625 893.2 697.9 633.1 596.1 445.6 479.2 787.2 638.9 379.6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 742.6 1027.8 934.1 859.3 907.4 999.5 951.6 736.1 833.3 781.2 0 0 946 804.5 698 652 566.2 523.3 571.8 644 590.3 466.4 725.7 736.1 750 621.5 571.8 726.7 639 716.5 582.1 689.8 742.1 767.4 819.4 379.6] >> endobj 111 0 obj << /Filter[/FlateDecode] /Length 2494 >> stream xÚÍZÝsÛ¸ï_¡NJM#¼ÔÉÝå®é8—ÌÕÞ´émQså峓¿¾»H‚D;v¾^$‹Åîb÷· ÎR’¦³Ë™ùûiöÝÙ7?ò¥$³³ÕLR¢ÄlÁ)ÑjvöÃ*çÿ;ûÇ7?Ê~ Í8Iå,5ýßÿýÙë³ç¿ÌœÉ„‘ùBI–¼øš^¿:}6×49{ñêgìÉë_æ0èÕw§Ï_Z¢Ð"YR쫲±änªÃ:$—ßi¸ùx,ÒÆNa®÷j#Ô¿šª¾Ä蟎uIé0 ÛA¾.aÄî ²Ü»·íÎDSx¾Sˆ¨çÕ¦:Xuƒm¡Ô)„×vní_µ}87 ”‡C¹·º À§ôêÖò¸,7ðŸ¥Ö6ñ¡YWv¶}Ge<ïxŒã+2ˆ‘Ÿ«ÚÑØmÝà«bh5A"Žô—ˆVr­LT=qع^ ‚Añ±(À)&ïð²<¾i‰šÿ”»Î?l× <¹æ.ÆÞ˜T ÀôTQa’ñÖ¤*Ðpº'a<‡ Óe}«0$\…Zy}¾ ËHO…÷1Œ"Ù}1Êmli9r’·þ+«ò£/ÝKæ2&åëÔ RÄè”øW}·Ô\;`C™7ƒ#M0G-ܲJD$‘ Ñ£ú$Y†œÊ2ø—Ë2äT–!§³ Ùe.¦¦$Ó³›³Ê0°êœH:ÛΘÎL…Ä5lfÿÄðË8¤2x Fõµ}sô š0ÿøXë °i´ú\i´8æ©]6 §– l7u='!Œdl$E6’âà|ÉDŠÖ´èGK&ã üÔº˜(™êà¦fm°ØMÝ‚±¶èa±@¾kø?«º:8°¶¬¶eÝÒj‘ÙEÑ”]äx ì¢wÀ.=ºôÇ]è»hä*Ù· ÃÓYØWÏŒµ«ú)„cٿǺr× Ù„n õBðhÏ“‘œûàÆ?]Ýv¦½Ó­³éßÃp£ÂbHœÆÓéd+åžãp…sÜq:½]žÝ®ÆÝºþ;Œbr·Ú³cö.ßý~SìÓQþ¹±Gòî ²bÈ ðoò· 0=uÞæ¬Ñ‰G+ò÷æ v$Û`b pn2’{gƒ¨ ;Úªè—_¤¨îHm™'«µÊ?Ž'ë¾/<þ+üÔThÍ%Æ8´bV+giFdŽ¡Uçß6ØÐ:*Ù»)”µIk¸2í¢Ý´£8C<°ÊêÅð¿ÄB£êPr½ˆÚ'òSB(ñðrí"Þ B ½£”èâaÆ9ÙÅiVÉà8¤úµ\yßpĹl+Iø¢ÌÍ U=ø¨R9®zð¾l‰e+ž»b!Ò‰m˨­‰¡zA2z [µüÿ &ëaÙ`W¦Ze+–™´ÈÅ»wê¶t5K[ÛUöΈÌAQYòCiG[ª#LÁQ̧ØêŒÊÕšäñ:8Af<8·ö±ûiK®Áràºó W2`x[ÕÇê"4`0ôË]ºeÅ«1õ8¹xzS(&#70À©0qÕãB9Aª;ÀTå3±7Àðà&;ÿ˜ÄzA¤r#µ3—{<£‘bNª<æ~Ër•T‡¡5Å” •yh­ïÀœ»× $"õ íå¼ó˜»Ð⸻àý¥Ø¯±RS‡‰ve¬¿)7/ûÎ(þâ|SÚ&ð}Æ7˜¬Þ‚·Àzu°´áС›ãÃ$±ë­ÃrÌVÙ}Ž)~é ­ËHÍ™÷ãŽú‘öòâ])øÿ®DvO‘„¾õãà‘Qƒöï9?¸)0°*š\_]™O(Ì¥tÛ°¶»¶û特®€vïðy¸¢¯”ÑuU.‚ëª<ó?>É…½n3O–5x€‚11(ð nCH¼¡yü]õ"~âb¾6eyï–òf]uZ(™4P5xÌË&üLDõ¦»Žù7~?ÿ“cÌ$OR8ÒB [)¼Úmì}ÕMc¿8r5ÕÞ‹Á{[º¹6·¥Ê]_™kÛö¢ ^Ff F·YVZ¹Àò½g<ž] nÙï¶¡xŸ}bÐÕ†ðŒ”û+û½Ñ4ñÁ bÂyÿ°šïRøß"‰ ^€u¦ëhÈ3n#ÀEL1&À ¯øàdRì´ì}„…µG?#XP™éàR2&%S÷03ÌÆ”2õ‚ì~Ù§ËÜ D[ËìEŽ-\ÉÃ{‚câH~DÈê0¦sMí³I?š âë~:åGU:Æ}Ê‘[\äm†þ‡ÿþ\út endstream endobj 112 0 obj << /F3 15 0 R /F6 38 0 R /F4 24 0 R /F5 31 0 R /F8 56 0 R /F10 62 0 R /F11 65 0 R /F7 53 0 R /F12 88 0 R /F14 110 0 R >> endobj 107 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 112 0 R >> endobj 115 0 obj << /Filter[/FlateDecode] /Length 2865 >> stream xÚÕZK“Û6¾ï¯Ð‘ªX0ñ AÆ•CüZ'5‰·âñî!“¥¡FS¢BRž™ö·o7| ”4/ïÖ^D f£ñõ×ÝœøÌ÷'WsùûäõùË÷á„s“ó儇,–“™ä,Ò“ó·¿{‚)6é{o>þòÏçÓÈ÷~œFÂ;ÿéã¯?žMgRÞ/ïÎ?||ûiúÇùÏ/ßËn6©C¦åÄ73qý“wç°f³N(Y(LïO›©Ð^–Ûé nŠ<©³ÍNzõ*¥››U‘›[í]&uBUZÓÂÜï¿GÄtdW~ë³ °/ìÔSøIéuŠyd›ÁÚ ZvµÂ15™“˜»ÍeE³Ýì3®BÆÃÉL€éõ.„i\4Ñ,Ö8,dac™ŽÍÜUãbÒö_xÎBª{[çi3=u^LQÚÈû/Ú['·û²ˆˆEÑd¦Y@ò~Q©dbÒX:Â8­wç¾*W m¬M®™Ö“Y;âB(î,@7´ÂÊ]A+P8“}mÀ¢ UDª‚º/ìKïk<òtí¼]ïÙ+Ú‚ jg 0—˜ÛqKg Í|Õ¬1*^øXñ4vÛÝÊÕ{œ 6r­á`ì©^3¥N˜Ž@í>§íȃ¦óݘÝèð vþ/í&líÆÅ0ÛÎÜwÜ힞ĞÝÈ{©SÐó {×È«Î% -ŽÜç>‹H³ÉærÏÛ:['9¡3X%ö‘ûÑ}lz`UôÈUöÕÀ¼ÅöÄ6§I™giIæ8âÎ: X„†2ØðÔ}VkÚS„X/b~D>´Ñ—ÏT4¹mæ ÷Q*&åd ÿ5“]C>ùdœ­¥‚æŠ1é#& 9\÷±€¼‡<å=ä@žôò¸÷8†ò>Þ#<ê›{ýg#6ë;0!ÆšVœØ@èðÄþDÚyp{ŽÐÿ{su”±|ïÒ»˜ñ¸ dV°Ž0ýÓ–##œqEpÆ¿òªÀ»À³¤¹ª²¹!ÈÐd, Ê6‹¢!ÕeRÛÞu±)êb“-²šðÎL¼(6—Yí£4˜ nÒ?w vÊ ¢it€+HŒ _5á+×^bI2®@J(ɽ¦éÆ4AGäð…'ªÝ{V´~·ü¼¤LéD§á‹b½ÝÕfL’çwÔ›‡á‹,%`W<‡W@™ý¾¸ë´^FDð-"­·yº¶O¦¦QyÍqýÓÒýY6?˶ÎÖ*ŸÉ†1íª´¢™À'Áöm»- |ù[p`¤nì® ’b¹Û,Z-í)âLÆßŠÊDèSZ*s“Õ+Úf ¾/ŒúŠ+“Ë =¯R%Ú#Þ‡yC4\bóпÝ8ÉÇgÖŽxô=ìè`X××®Óg¡"Ã2^ö¤FFøvĸSã¿u§èO#•îbŠAz̽M#Ža¬R ö%¡Kžm€éà=Í[üGíhwx-Óm™V)âö„GD{`M?yù9¶jv_}ÎD¬ žðæ CE·I×Ðó]•ûŠù¢åŸ€¯¡gº9fJ#=î±®=—>©é¾ß$â^“|M—öß+ºÔûŠ•¾‰¼š)~uk ô«cŠ•–ó!R å™ OAÚ[$ùb—£Ó@kÐ~–óü<–pÜ—;êRLÈN[ÙHºEFí~\L­ÕÉ›B€›]H‰(sXD,[´º—H xî\l9*ç°è¢®e# ÎgÛ¿,‹µ›]ÐU<ˆf‡-w¶`“fmP–nª]™îe̲‘”^aµÑ2 ‚­ŠüÒÅ¿P¤HöóhÑ1Œ¾á¨écôL4¤ög7ëá³xÈ݆Ðèá²ÁÀ’ÄýÒ×£˜|H*ìáɶf3[öRR}%ÄL"Dððä™ÿ›‰¹üq>üùÒ’'V¸@§·'Üü’)BGh³—Vi™ºV+Yćh/ß´@*9Ì]ŽG÷×#¼³=£'ÚãÚÉ“&ÕýÒ÷Cͽ“Æ{+\_S~<û+0‰rÂw @)ë½ô¡ìTo ˜e¢ïòÉ+Ÿü–2êÇG•)‰Ä›füg’ïÒ³øÂEk¤}ï–Õ–[ö' bÇþÅycBpÒDÂÕb•Õ¿¿"öMðå{­æp˜¢™éÓ36ok!¾Œ¼×Tj›IxŦ=<ÍÓ\Ä<-¡Œ2s²u“KÀ)ÏæeRÞÑž‡Þ×ì25Ý>†PØaR þÜQ;ÆNØQáŽD^ºÈ–vŽå®&TÒŸ~µÐ4sK–àæë4Ú“]°Xvz‰ Rºk]Ð6„GÞÕ_Ï wK€°ÆÏ’²výß¡Ù(Üñ #Iß0—þ4Á>ƒõùÊs<œhÉÓ„ÃIÕœUúC[Á“÷RAŒ©¼|w‰‡›­Ô×ØÉ sDÈ™{ÙšbWC°³ é-‹’½&¸3‚=hrØalŽÕ¸…/Ñ·Ñk|pÎ>Öõ[¿·ÛnééA„8ºóŽ-Üö—0÷\%G¨ðŠB³‘õ8&¸AŒRÚTðµé Œï”¶Uš(öbàg£<U·ú5…¨ì¯^tø1ÏÓuÕ/3ÁB—òPÍÊÄ@U]&¶t5’탗Wƒèç9ްËM剘¯©ªÜ·rŒWŽ¿mÙ ÜŸ=À¢cL£ :Õ¯q’ÿù±àÉ[ð(þ¯tÜX,XbÚ”S ×dyxð½M‹!Ë¡ ècõACL$y²@Ofè4¥·`÷Ô:@;lXX^"¹-êšA‘Sž¯Š-8î:[$&Kc“üª˜9e r—eV¯ÖÕ J¾Ïw5Å»™¹†¦š‚WiSml›Ê16´4½«Ô¥À‘ÀÂì©J€hN@Ã1"n’m\7°â a–.Ó?wV˜ü΂ÐO1`·I™™Ǩ+ T¾±M+Ü:¼1µ¸6‰Ó¶2YRaYÞ.£ã´&›PÑßEZÒwRødŸ¿`g3uB—j7Ÿ¹ütË– ÛáÊ#UX׆[†ež¢´%­Š®ªÒK[ßyo²–fœóJ^¿ z©Å–ÄÆ¿1ƒ•ç½A™Ù™ê2{™‡9¯Þ7j‰K¿b8¹ñã?èiaã•‹9¼MNùƒ/†ÞÓ@ì‘õ[2š(gj˜&¿£eÝGÄð»OUnm2{¤Ú!xçMÄØRí$¿»ÒÆŒ÷apEÛzÿ£Ë\:ù s'OÛ-ó†wî+D˜p¸çwXÚýKtaŒˆ.å@Žð¤#p„À¿ã. BÈõÔ|ƒÀ€q žzeÎ –x Í }®Ò½îÑI9È~7ú[ã!ÝU5-;§¸ ÿp ¼!ÖË=Ž.’t(MÇÊýš•³3Rzþ Þ ¦£ýRkOxtéøwè®ÎŠ+ýxtëÇ MH̤ö&üŒ¤øž6Ѻ´ŽÂhÿdë&‰€Êú@Õ”²µ-eKSʆ«)âe‘'UE·—ii¿²C»‚¦0xcŸÀÝý´©]°(lOJ•¦4!ù³Tµ(³­­{K¼¶#¬ŸìLóoÿšÁ& endstream endobj 116 0 obj << /F6 38 0 R /F3 15 0 R /F10 62 0 R /F5 31 0 R /F8 56 0 R /F14 110 0 R /F2 12 0 R /F7 53 0 R /F4 24 0 R >> endobj 114 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 116 0 R >> endobj 119 0 obj << /Filter[/FlateDecode] /Length 125 >> stream xÚEŒ;Â0{NñJ»ðÆkãe…ÄŠ¶‹háþ7 ICõ¤™Ñƒ%kñÅ1wtÒôÌt "S 0ž)'ÈmUœõ[žMÿ Ÿ=Ù{øë£­Rm¼‹Ê‘6):5LªóØêÌJ†yÚuPuÑ[4wcyí§(rúˆØº endstream endobj 120 0 obj << /F3 15 0 R /F6 38 0 R >> endobj 118 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 120 0 R >> endobj 123 0 obj << /Filter[/FlateDecode] /Length 1642 >> stream xÚ…WKÛ6¾÷Wé¡2°æŠ©GŽmš mPÈ9t{%ÙfWCuößg”¥]y›‹D ‡óž#/AàÙs,k)dêXNY¾Q±ÿ°1ÚÏè‹I|Û³ôÞÖ§ª|»Ùš@:O:ö(X5eY8Ö¡u› IŒ@"‰ºœ*l¿%GÁÿD¨Ã/´&#†ÎîFç”Vþ½2qUöü‘5/º±Yù*!̉q®Töd9@+##Ìä1'Òiò'cc¿Ýonð#òÛŽ‰äÿ¯óö„nÑ× ú]YMn%!úCnÒT>RT 0(ÔðêÛ±ËK^“gZ%¾€ÚáÕÅsü°|°enÒˆä¢ìmWL-`™mg§C÷þWÛ-šzîï7b³ÃÄ¿IòJÝ6Û©Àç@Üš¼Dÿ•rÞ)9¥HyÖ0éTe¹Û¶šwgS‘~¤úAÞ(ÆøÿL™ì}Ú$Òãtú_ ôÓn?—ÂÊD0¦_U€2BËK솶]g_ÇØæ.ûí~@[ÏøÈ:j^Í–ÃûP6e— å³ÞÖ—Þ&ê\°³›jÖy[Ÿle›ƒ“9!ƒË9I P —Nå óXR0”ÿqEºtãÂ¥@B♕TÃFÓ¼8fhÄ#:Dg"¿cNfHü,ÏËÞ¢zÇC,5¦Âg6 IÛ=@)`n˜Z~+óq(W–šEëhjß^A·@hïìI“ ¨Æ¡ˆ#¯”S"QBå}|FM#Ò1—ÎËüš‹g]Ccñ*LýóѼá|uf­«Hªh†ÄWP3LŤË=¢¡œ†QŠõµÄ3îŸÈïOœ²ÜbÕ`Ó†‹¦¥& –3>T§„Z›-ša}ì³±˜:—#|,@̉‚1€±:Ð"à»çŽd\úù@Ì[ö)ƒ1%Ã`<’Ç£ k²2Lù„÷±Ì ¢é`ê›%tËÎ6l/°PuåL_Ü™>èÒhŹÑ@ë=–gDÑʪ¾åÀ ÄÀëÑ.ä¢À"¤#óùØß¦#*ÎðȲ €i”\µ'çã¦G¸É|Ј«ºìFÿà¶ Dâ8²¢XÞõKA.]ð†:DÞŸm“W#z… õ†…‹ã›W†…I€NE¹žlàpªB·T§€SØàcÇÔ òÜàHNîÀÉ>‘°†5ê†p×…3ìBÿ‹l}ësp.5‹ î!˜ˆ“/ÅàÈ­´­ªk½¨E45c;MetµM䪡ÎeÃÙ]7JœŠ4&ŸÛøˆ©Ëáè¢Ô3Å®g$Fþ:"åX``xBYA±Rˆ°0y6YÅ^tgϼ÷®äÁ‡»%OPÀØ`ri#¢g³Õ‡¿¾p7V6/¸BÝ”HV£-k,”"rÆ~øô÷Ÿ+oT‚*˜Û æ ¾­ùê#UM™¹ hÐC—Õõe»ª¬{l±D,±é&¸Œ…> endobj 122 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 124 0 R >> endobj 129 0 obj << /Type/Font /Subtype/Type1 /Name/F15 /FontDescriptor 128 0 R /BaseFont/XVWQOQ+CMTT10 /FirstChar 33 /LastChar 196 /Widths[525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 525 525 525 525 525 525 525 525 525 525 0 0 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525] >> endobj 130 0 obj << /Filter[/FlateDecode] /Length 1913 >> stream xÚµXYsÛF~ß_ÁGp#ŽæÀ`€ÍS¬È¥\ŽËf¥âZåA )\òj·ö¿§{zp¤äJ%/"æêó›¯{´âŒóÕÃÊþüsõf{ýV­„`‘^m«@0£W%XhVÛïÿåI¾þuûãõÛ`Ü#DÀ¢·Ë7?|÷a{ûq½Q2ð[oL ¼ïo?Ý|¼û°½ûé=.ï§·´aûÃ-M¼»{óñ»ëPxŸIüÄ„ ÉGÀTòå1KÖpꑤdyÞ5m·)ÛÇ”¤ñz£}ï·ª¦…C·]6´ZN¶çÙ®Žëg´‚‘þJ&ZÁÁ€ˆIi PL®Á,©½uõPÇE‘• Äh/+×JxmZâ$E)«Ûí…  1!¬À­µ!ä^‘¶Õz#CoOÖJ°è]vlÀéÀ{ÌÚÿÒ¨BóÓú¯Êã6«JÚž5î·8æi‘–®6Ýí"yljh28+|æS´û°ØˆÈÑ 2¡]Úße;0p‘:Ÿ££´”žJŠ=n¾ùfqZJ¦Ür—]ü |¥\¸¤¼X›„²¡™$vK;˜6ž“'IÚ4ô²ê³Ü÷­ê§,v8AU_0Nh/Éc8×Ð*aÌŒÛcÛÈwþÝYÓz?ˆ½µ&I÷ˆM6bfe"¦Øbdo 8^ƒÙ¾ä^LÂ;T]M_EŒ™õÑÓÞ4œž\¢BkèÞI²0ð]4Í€]Z«hÉíÁÓ)ظ`¦ƒi°0’ö*øFxq¹§¤*Ž]ëR3[!' ¦&Ï)3„H¡YÔcä@ì®l—(SŒ÷{®–0eRÏÜ•‡… ¸’ú¢›†™ˆwK¬o”;fÐA7ùŒË^Øödx·gü ¤ÚŠLªð}å¼L†¯E+D£=ÍcÕå{’8Ü ¼`Þ;m3m¯y$ÕÌÞˆg‚‚Ç5å ¸À5‰‰Wpˆhšƒ£ð Ô]&y·OÝlQ5n¾gjp;ÔÒ»9ë­ô¡*}Mn ã¦g!§*.ã¼z¨:7˜ŸJß(²HNóùGôXŠÝuà‰ "Œ¤³\´3›Ó*Œ ‹ !Ö‡r5"²ÄBð¦2«aCYÕ)ËʦMã= ,ÁîÝvIwÝrLﳦË©T¾wç¦ój 7ËPÐf…£¿épù, ÜfˆžŒ”ͦŒ|„¦Éê^êEá ©Š”öL¸ Îi1Þ?­Û1±°¼+· nÙCMAYµ–]ð”$.îã6fÓ²EöÇŒâ,ˆ^½Ë:I£(žªüÖ»¬Kâ$¯g¡šç5œ¦5œ¤õLµd&³ºqiŧ¤’qûo[ÿ´wïAE¸_Ÿ©Ò(¦•ð¾Â†H cÏ㯠™!¤£«÷Ph÷)^Q¸z»>ÒËrmøH´ï„Îw{ÎòàÈÿª;;äÉ ´ŸÖÙ´/Ö :(MIçPW4®lý…Ÿ]Ü@õƒOÿgFjaÐ{æÔ$ˆl(&·œªc(º ð>“N{󸃨]v­ˆ¡V–€ó’:sœë„¸QéÞ¥‡zVTlÉä@aIÛAÕ|ÆQÁ½Ú²6Î6[Bªÿ€£¾Ô®`ó`Ôž•Њdm¯p7”‚¥|¬6!c†çÃ9Ä =1ž!âW 9[ˆ‚Ò÷Uðƒ6&•£¥Ì²] ½c‡1‚ªÆÐàЕIë81P1ü(+:†ÜŒ¼Û¸Äú¦câ”E 02p‚$p &Mö•¿w¶©Mi€•©Ü\W<œ[Ü<®F·^ä>#&Õ•L/L(ºf‹èw½–ëò5S‹.i#5V&*6‚ðò)ÛøåÀe7uÔ_â4ò±ý½ÈÇY÷Ør® >mìD¿z/ _ZÉ‚Þ#Ü+$EÕRÑÊ»” « õÀÉÒ̵OÛ;õ½š}tØü ¤¡³Q8Ðo”ݤŽö8?ÁNs¤3 †ÐØ,ÉáRÚÇÊðÊÀÔlú0…Gœà,Óç>¤RºŽž0¨ADŸS;øý\_7ö‰I#ûH¥*³yskë3”'|ìvy–ücº@~} ok®¹wc[…Ôi§âu"ÕN> endobj 126 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 131 0 R >> endobj 134 0 obj << /Filter[/FlateDecode] /Length 1014 >> stream xÚ•VËr¤6Ýç+XB*ÈHB2ÉÂi·]šqRvW6éYÈ´Ú¨ŠWm35ÿ½x40“ÌŠ‡.çÞsî 'Aà<;úrçü¶¿º¥„ !Îþä@ ìø‚8rö7» àù…îw×>ìîï<#âîî÷Û‡[‘{í¡ØÝl½û߯nñ‰# "ìAuîl÷Ú1$ @'ž)iÓ4gmëùDzyÜoveÇ›ºÊYÙ™wŸ5Pàøê/®®V¯™H3s{n¹…kEQç",7ÏGÑv¬Lù‘XDVщµ“¿°üÌ:Q•æ¹à]VY«WÑYwuÃë¦JyÛŠòyk}~’!ü¬ˆÒç«‚Ýö\Ë8û¨»ŒÛpYÇ,nCêªÞFXk­XÓÈ`_ç–|%q›) Àë.eyÎ-=vêzãGÞÝÈ@Œ zAá¥GãÈÚ\Ñçä(ŠŸÌÝðêÞ¾8VRþ£yø´öòmþiÇÛî×àà½Óø‹HzÂ7\†^ˆ²—“ÙìÉÏEÁ:K¶:ÍÄ~/ê6ÍD÷£*U­Xß§¦*Ö’3“Ä(ohÌ‚àîSØ(çÍ9íæ!æeªl–¸Ó;VðpúI÷Á²®W Œ9£Ö³?Xn­«užáŒgQŸ»Eݫ𾖦©«9Uÿ/´Z—õ7ã®Ìþ7 C€é2꫾‡ö7«ó0äYô }±<Ç$ŒpÙ¶‹Ö&¤‰[òWíçëdËšø2üÓõ‚0‘ òcm¹WìPÙ  ÷ ? ˆí6™í…ùæ‰@‰55Ó_¡N§?JâaúËŒá»zà+»'µîÞÌýYq}kæºo¨CƒÊ«$aì¾cdªü,r =¡r˜–戥 >üE­M®^BÝ¡ª[•< 2šaÓ¨s™> endobj 133 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 135 0 R >> endobj 140 0 obj << /Type/Font /Subtype/Type1 /Name/F16 /FontDescriptor 139 0 R /BaseFont/UCPWHI+CMR10 /FirstChar 33 /LastChar 196 /Widths[277.8 500 833.3 500 833.3 777.8 277.8 388.9 388.9 500 777.8 277.8 333.3 277.8 500 500 500 500 500 500 500 500 500 500 500 277.8 277.8 277.8 777.8 472.2 472.2 777.8 750 708.3 722.2 763.9 680.6 652.8 784.7 750 361.1 513.9 777.8 625 916.7 750 777.8 680.6 777.8 736.1 555.6 722.2 750 750 1027.8 750 750 611.1 277.8 500 277.8 500 277.8 277.8 500 555.6 444.4 555.6 444.4 305.6 500 555.6 277.8 305.6 527.8 277.8 833.3 555.6 500 555.6 527.8 391.7 394.4 388.9 555.6 527.8 722.2 527.8 527.8 444.4 500 1000 500 500 500 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 625 833.3 777.8 694.4 666.7 750 722.2 777.8 722.2 777.8 0 0 722.2 583.3 555.6 555.6 833.3 833.3 277.8 305.6 500 500 500 500 500 750 444.4 500 722.2 777.8 500 902.8 1013.9 777.8 277.8 500] >> endobj 143 0 obj << /Type/Font /Subtype/Type1 /Name/F17 /FontDescriptor 142 0 R /BaseFont/XRGFCO+CMMI10 /FirstChar 33 /LastChar 196 /Widths[622.5 466.3 591.4 828.1 517 362.8 654.2 1000 1000 1000 1000 277.8 277.8 500 500 500 500 500 500 500 500 500 500 500 500 277.8 277.8 777.8 500 777.8 500 530.9 750 758.5 714.7 827.9 738.2 643.1 786.2 831.3 439.6 554.5 849.3 680.6 970.1 803.5 762.8 642 790.6 759.3 613.2 584.4 682.8 583.3 944.4 828.5 580.6 682.6 388.9 388.9 388.9 1000 1000 416.7 528.6 429.2 432.8 520.5 465.6 489.6 477 576.2 344.5 411.8 520.6 298.4 878 600.2 484.7 503.1 446.4 451.2 468.8 361.1 572.5 484.7 715.9 571.5 490.3 465 322.5 384 636.5 500 277.8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 615.3 833.3 762.8 694.4 742.4 831.3 779.9 583.3 666.7 612.2 0 0 772.4 639.7 565.6 517.7 444.4 405.9 437.5 496.5 469.4 353.9 576.2 583.3 602.5 494 437.5 570 517 571.4 437.2 540.3 595.8 625.7 651.4 277.8] >> endobj 146 0 obj << /Type/Font /Subtype/Type1 /Name/F18 /FontDescriptor 145 0 R /BaseFont/YQAFEI+CMBX10 /FirstChar 33 /LastChar 196 /Widths[350 602.8 958.3 575 958.3 894.4 319.4 447.2 447.2 575 894.4 319.4 383.3 319.4 575 575 575 575 575 575 575 575 575 575 575 319.4 319.4 350 894.4 543.1 543.1 894.4 869.4 818.1 830.6 881.9 755.6 723.6 904.2 900 436.1 594.4 901.4 691.7 1091.7 900 863.9 786.1 863.9 862.5 638.9 800 884.7 869.4 1188.9 869.4 869.4 702.8 319.4 602.8 319.4 575 319.4 319.4 559 638.9 511.1 638.9 527.1 351.4 575 638.9 319.4 351.4 606.9 319.4 958.3 638.9 575 638.9 606.9 473.6 453.6 447.2 638.9 606.9 830.6 606.9 606.9 511.1 575 1150 575 575 575 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 691.7 958.3 894.4 805.6 766.7 900 830.6 894.4 830.6 894.4 0 0 830.6 670.8 638.9 638.9 958.3 958.3 319.4 351.4 575 575 575 575 575 869.4 511.1 597.2 830.6 894.4 575 1041.7 1169.4 894.4 319.4 575] >> endobj 147 0 obj << /Filter[/FlateDecode] /Length 2193 >> stream xÚ¥XÝsÛDç¯ð£Ì؇îSL ¤&M™Öt`HTû’h°-#ÉmÊ_Ïîí>,9)Ë¥»[ïíçow5‹YÏîgîñÓì‡Õ7/åŒs–éÙênf8Kôl)9K“ÙêÇ?#!æïW¿|óÒt4œ–Íbw|ñó÷¿®.ßÌ—R˜H²ù21<úñòíÅ›«_WW¯oð ‰^¿$‚ÕÏ—´q}õÛïßÌSýAìÕŒ'Lpd¿$þ(ˆ‚—H&ç°+tôÊîæ’G€ lUÃ3ÑQyGLDÇ„kÁRå…|{]®öÍè&“2¥=Íz›×5C’ÙåêŒU2°Š!µ‘º½4¡ÄÙÔ=V*e±ñ4Åî°µ;»ŸƒEÐEñ4²‡m±.\e‘ý8×*ʷǼ)Ê=Q€¶î .¨×s°êCÑüCG±²Õa¾„—r›ÓæûÓo™d,u¸bJ‘òåîplÂ&¡;L5–6N/3þ´¯¼ÀD 8>ÕItÕÐß6¥»ßÖ´Ü— q9Öžýí3-j’Ö®‹|K;›¼É¨q_ʺ©ŽëæX!!£²¢ç¡²‡Š.\Ûº.ö÷ 8PÀðqm ÝêzG¤eóÐQ¢eÜie·…“Z¨ÈÙö.ÿư†à»·s6–låÌ$xT£Kû¼z°çl)„·%¼Œœ D} ˆÊË$ðè¾Êw´XÙÆ³*1q¹³y°ðY¥L¥Ý?tˆ÷e"crîå{züŠ´§mèÍQAÜ?ÐÖ¦€ø­A ÇŠO³JβÒÑuéîZçÛíç±a}Ø%>ìd¬¢»ã~v«qôéÁ¢Æxä,,c}­xÖVÚÙXwûMMCgà³åãÓ¨.œ£\*ë^º')ÓcG™n˜ ಠ¼“©f<ëë県ȈnÁ§­›b—7vC8™›–™ÇQÜUåŽILØÂta-º…ûÁ*c†ëòã܈^ÌÉD¹ÀDø$>ððÑ@ð/>p£Š AÌ2ÞƒE¡cfHŸW¶yðŠ IðI‰Oé!ÆÒ‚n„SÈRù}'Qw.Ÿ4<ÍÓ÷ÅGt¯Eõ¤pδô,È<<餗Pfâdè¾vLH:¨ \w4B±$ @$˜Ì‘nÊã‡-H¯!¶ß¡f· DCkH–E»¸Yé×´|..ÿXôù^_,è˜}Þ6öñÅÍo××·óçÜ•IWÿ°Œ‘S¤öˆ#    ÈÞïlÁn@-·¤èÁm‹|e¼¯Ì”å…–ÌoÛû±å5Ó¡ŒÞFã¿+&Ô¹ ±z™hhHdHQãëˆ\Ù¿Eåõ£Ð" uRHU‰)ŽÌÆe†EK ë·ƒ·ÇÒ Á²@àr^g>ÚMÜébÌ C„`½ó9Ód’/¼8ÅŽ;üýà|c+ºÐå €LÜÉK„>ojxáúÜ¥”‹ë^ê4”£%¦$ÃRMª‹ìDŒÄ,Íž²$ÏXÌûø:ü?´¡Íú}Ò\ÉPòP=>Î]7â%÷8 Oו8а3-:—€ï§¾Š{ç‚é6D…’S†ïšÄsaÔºûÓCA%eB ¥´Ë‹}M;mâÖ7ÅIçCïât–°,isI¢%ñø¯PŸ´¼3ÝX²”eü%&ß{2TÑÔÞûF"a/¯ §@øOõ„EÆxÐòótøñ¾3~*އN„W°?í²,CH<Ÿ]ŠÉpµ¥+Ü\Ò~×;Áb\¿ ´Oešâ®/&3iÎé:ì’|–9‘{iÖ6@ ¶ëm‰h'>xR»)¡"|KžklEÍäûìÏ¡|D‡R jMhÍ€lS «ÒX3•ö”Á °_DÖyUå„Ãtï=§Ý ¨Ÿp[Öa6‹`)j@ñt2&i+(ێ೬TÐJQà m^Ý[z%tÀ·Ú68W˜¬ŸšJqÐÍÓú>X‰–ùR rÎ94(2Á€ä\¡uÓw½œ§‡£ÐL·`s8Ñ2!ÅÿŒß¿àƒ þþ…viÄpT½¯÷®3ÔÕ#­äd¨þ¸ãÁ¶\kO GÁO½'œÕvk×˾Œdߦ Ä…n7UÎk)ÎØ´:)¡øâÊt­«¯äZu¹ h°É*Ð=¹Â¤,O‚@úŽú¡> endobj 137 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 148 0 R >> endobj 153 0 obj << /Type/Font /Subtype/Type1 /Name/F19 /FontDescriptor 152 0 R /BaseFont/TTHCHD+CMSLTT10 /FirstChar 33 /LastChar 196 /Widths[525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 525 525 525 525 525 525 525 525 525 525 0 0 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525 525] >> endobj 154 0 obj << /Filter[/FlateDecode] /Length 1975 >> stream xÚíYßoÛ6~ß_áGyˆYñ—HmèÚ6C7ohÑôA±•X˜me’Ü6ýëwGRmS±»fô‰E‘Ç»ûî;ž1‰ãÁíÀ4?žMžœ%JI*“›MHÊ#N‰VƒÉó·'œ G*¡Ñ«¯ž½¸¸Ž8SѯgÃw“_žœÑÔû–2’°Al¾»¿üíåùÄÎò6ŠhîæœŽº¼$v ï¦0‚i7‡q|?x11’RX)&)õDM8nj¶Ì–ùpÄReµ“NvÓ%2q‹þ‘-ÖùUt5tÓ¼Uè¥ÝûWK£›²²Ë.ËUÙ”+·ÉÍz5mŠrU»PåÉÆ8ín§ ?ÁÄýݘ&ÊÍ*j'ûʵU• AÓ÷øG宋Oùþ~ZÑjuV,1¦²ê;XJEù´¸¹/V·F¿#úl0¢œHa¦¹ÓÓ¢qrJ£)œ£©²b5dIÔÀÙG‰¦Ñi7ª`ÔNͪ;¾ u4ËgøÌÐ -ÔIº'P±šåŸžÿ>_ <@TJ<"€HB¹Oxê0$¬‹@ ›ÐÒ’Â#ÜhCö¡iM„ÀNeÎ ŠTÙJó1ˆÊ< ¬Ö:'hr8¢1„à‹á¢ ž$ê6öŽ&wíÑ6âH)ÔvŸ±8D— JúØpˆK†zT##¯aÛÃk`Zq€×t ¯Y±ÑV2œaǦ¼³ª¸~ÂGd²j•Wö••‚w9{µ"šC%Œ?H‘šG‡«‰e?p/@Ìÿ r=Q¿ºŒ ’H»´Än²É—‚.b zg¢C±TŸI‡b|òPŒˆblW`§Å,ŽÑ3úQ̈J;³ÞTJÒÄ7  D°(›9ÖiÐ ?¸°ìYØc?“¤Mf¶ñÁŒÏ&IU½I*Hø –):â.–q=cÐ[tm2ײiÊ¥X€ñígƒTY<Û ^à¼8÷¼Û¾üGpfR¢qƒp—Ólaée Ȭ|8? ×<Ÿ;yœô]¢têМ°‡<ánC;Øq¸\¯1ö…üá&þÌðCW*½ô¨+Õ† ÷àQVv}ïN…ÃÆîÐörÏæôWÀOŠ<çéz÷jeÜkÿ"Å9Û½HØÑÌe­Åj_ù,öhõ32—ƒ.ÌqDpáÞ|òÑœyÇ{-p;ç6sßiÈŠuÐÍ9טôxµÆÂn#Cïºy¿¶SJÏÕ™®hë{EÆ}†Á—È0ØÚÇXž¨’è~†I KN)‘t;MÔ&“S_˜&&ˆÊoi⣧‰˜(~”ÿj®d“£ðèIu”"V„oð”ìãFƒ <˜ åÌŸ:qø„­<|ªd ŸÊÞã°u HÒOw! ŒOu|(¿%€—ŠGHŸœ‰®>c-$Öe—¦pÍmHi;³¬Éy¿J²™×«¼™—æx3¬"pÇ!Ø©—¶‚Úî"@ÖUYÔ÷ö5îƒEz‘DSpÀ#­›;̶pjáÖkÚ—ÞzùÊTe±P†Òš×žU÷lûJ@¤çiôÜHí»Sýb]Òf§£óbŠÌm5lj ÞЩ××uþ×:·5䎽¶uRû°®QX,žmÄGÒ½ DÚ]ÂBé\Ò(=âï¦e«™¬hjÛÙ”]];Á(uîÉÁùrËê¦ Xçû¸7¿MnwÀ“ U쌻ª¼­²åÒ¥ g§p¯ç­Ú³kãìºÇÙ%i-`!¬¾t¶-®˜TÆyaðj€àgæ…… • ýœ™š%Ò\Šºqè°g0?lÎ[+¾÷oBÄÒ»’´"਱$ž­‰CÜ^H2{ ¨B&D´èŸà%IšöÓt{0øóídPÄ¢;|‘Ãù±ÌJþt›¢ž‡ÈŸpÕ·®á)ÓCƒaë~À ð¾H¸ðUꬃô–7&˜ñŽ˜²ëzZÔu–o¡{O½íŸŸ²ûWfø´rólÆá}ØÝY÷ËNpÅÞèüu¨òE´ôRÅ=ÌÌiWD>V¡cÖý¤áû ¤¨¤¬KSû7$P] w´øýîo\Â÷ endstream endobj 155 0 obj << /F6 38 0 R /F19 153 0 R /F3 15 0 R /F16 140 0 R /F15 129 0 R /F17 143 0 R /F10 62 0 R /F4 24 0 R >> endobj 150 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 155 0 R >> endobj 158 0 obj << /Filter[/FlateDecode] /Length 1957 >> stream xÚÕY[Û¶~ï¯ð£\ÄŒx•tŠóÐìnÚ‹¤Øg[tû Úòš…-º’œ4ùõáP²liíœ^PäŤx~üæÂñ$fqÓ,jÖµ/ó&§Ú»©VQ¾Ù5~§Q^…!õ~·ÛØbI_° m›¶å™f‚‡sˆÅKÛc»UXÕ~,†+IÅâ4Œ|=\(C©Ó©ˆæíA¶ÅÖU¨¾rUºcæU•#†[΄ŒKÀN2­üÚó)|dÑõtS  Ò0)‚$õÚí7ˆŽ”Ñ/0% úØ!è&zg—<)è6 ‡ä’*Zä›-©µrûÆ–Ãí&7sO0®› Å’d2Ë8ãt¹ïœ……µÐÑÛ­sÍúÖîêÅÚ6ï`«†º–vûŒj]Óëаtû_6Å—ôñÃXãcókÀä¨ÃK ˜diÆÛ«±Ù÷Ó£öP *ÄyÊLê—øß4•py6o¬섌=°ôb%'Ð=ÁßáOÛ GUñÛÞVÈg?ÌÏç=*Ì„ÈÂr<*]9+‹G؈֠Þ÷¾n×X6uJü…¥d±>Ëasà°Š³è~ D¦MRÜÑ™IËð>œUñ L\,àè§?¿BÕ.6=©U’D W>,‹rÆ ñT«8;_,öU¾ø@Íx"l%k Èh² d ×]×{Û¬iøeFic’“XÙÃÌÇ3Ÿ¬ 0¾t ±}ëüµ--ŠZ, ¥XøÉKw2w.›†4nDKWmó ÜÒ’æ·ƒÜe%ã:c‰9¯eW®¬?MÑ !°çüiíÕ²môõÛ«ËŠ–&Ld~•·ù)ÚVÎö@QœÉÖ€Ÿ€0$xªÖ51“àBà^€P¿zöŠ”®Ë­ƒKu¥]ئUJ ¸nªX ö³A *èô¶E¤‹_4`æê'¤fFµ>¼*‡ë®G\¥4‚e¢¤wM2}R¯o]\õpE!XúA~o0àžÂ 0`…d$3†›x«•D`òéûƒ@à´IB'žD=xp¨ñæ-‡üÓ¾B.œßмxþ\¹ÍÆ{¨÷õ†çMÁ›Ë8 Ítë AÅ2ôÚ7Š:F½?£ŒIô_,Òˆ“„Û"/ƒ°ä2Qê}¹0— ݶ\TE^“/…o2RX°óç÷ÜóK¹Ã’ÃpC(™ôyq^ðn$T@¯|6\ J§ðä'ž4(îEc Ó-Q„â#ÌT+)§³…‹ÀªmÈ»"òX.‹ù‘CsdüçI¤GI“€­ìPÝ—À†¦²‹ÎyÈø†Kà¶X5wÅ#0òŸò£fÿS#³à ÆF÷$¿ä)„ɘR=O!cñ”§HžðW£WÏãô0_'qzâ.p+¯²PŽXɘŸZIjô±vÜŽ uLãuÌô¸¿µ&cÂtJ“ð1ª8 ÈÂ"aà}–’‰»÷ί{Úx‘’° ¹LÉ;ˆŸ>SNöE¿DJ °‡{k·v“ãO‰\Ò2{2€9Öá‚ÃbÕ‹gÀÀœÄ3´©/Gâ3ˆgÈO °JöõÉóP>IY£<ñpŽ®³nPVŒS––ñ\µÄÕ527=Ë\ˆŸtKì•ðÎ;~þáúoÇÔúBLýç^´2É«žù”OÚ‚©ä/™OÙFÛ¦5ŸRvŸãçlH<ˆ³ñ4—ÙÁ¿ÞÀY*>Ñ~ɬCø<>CŸJõ/ï?ÝѶ¨(Á1éu•ÏѬŸƒåÿ±õJ¥ÌðþSU<€Ä‡ìË_µô âùr9ÜÂUsÆ›ôÎ5ò=Â÷$Üé%*ŽS)]¢ð¼¾B´œ×WÞ××ç/Õ!A=ãJù²`Bø17uc»wk¢CþV·©U¸p<úTòÈg I‘»ËË)fé.Ü«Æ?Êõ¹=Fp&À½Y‡$‘oIis(‹ ”Ä„\VH@'M­0hñhÝUå¶'ó0ñ…e•F¯V#}Ã,—xê4*­? äh|¿2ãóOðNßסRçÛݦ  õnc› :|úT5”‹ÊÕõ,$áí²E\`€¼OßíYégaTòiÎ7õÄ%Žu!EHø#¹è‰Œtk;n»Û7EHf0M ¦G`^²ö:‰1¾9¶kW´C§/'†¬gÂNìÔ±˜~u‰X©bŠ(ö¬é:¬@Äò͘þW9a»;¬ñÌ -¶nŠŽM˜X¹¥m+Oû%‘+í,Xïò»~D—vô ®eW_üöõ.† endstream endobj 159 0 obj << /F3 15 0 R /F6 38 0 R /F16 140 0 R /F17 143 0 R /F15 129 0 R /F10 62 0 R /F4 24 0 R /F7 53 0 R >> endobj 157 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 159 0 R >> endobj 162 0 obj << /Filter[/FlateDecode] /Length 2620 >> stream xÚ­YIsÛȾçWðN‰ »±Õ”ÙžrJv¦,Æ“T”D‚"j@€€²•_Ÿ·5Ð ¡H•š{C¿×oùÞÂEàÁâaA?¿,~^ÿø!^„¡ŸE‹õnÆ~¦+úi²X¿û—§}í/WIzŸÞúùý—ÛåJ«ÄûÛ‡å¿×ýñC˜9߆ÊÕ" ïno>þúñóšO9Lâ§ZÎ\ß¼½½õùˆ(`B¥rFEBîü,Ä+Ä~Âl&ë÷E[,WF/çAä5¸ÈÃC‘×û†‹®/y/ÁQ^¾)Ýf /Ü—ýxoÓÔ]Ÿ×¸Ø£,ÂÔ[ÛãË(V'šj¯"¿ãáâØóe-oHÆ7‹U¨ýÈ÷Ÿ–«0ȼü;P¿F ’¼|x_Xኹ_®Tìá;µ6ÈN(óûª Á.Þ¯IÅaäˆOîÍb•…¾Îè®Ç¦Ü.W°zÝާ¾¸i6yE¢@1ÜÁ zܼmy¸&Ÿ¯¶Í (ýÀÓL§ÿ¼[þ4aÁyˆ˜YD~²-0aŸÊôðŽæD ÆmŽÏ}’ù·} Zн=OAE¤žDM e½kZPoÙÔ|cŽ‚J½æÔ󜎃ª¡ x/ÏÏ @n_ÑKDilrƒM Kq:HR%·k›ndB –¶yŸûl(d@¸9ÜBÖ‹¿ãóÈ„py΄T”ú©õ“_Z¤á•Û›òð˜Sœð|ºý&å/~…_‚­.Í,TñhgWôò•N#ß„®Ñ:˜ª4™`GoM½·»Þn÷{ôŠ~Ï’ß^¡”cÓpù”Jc¯ÙÙoe¿d±í‘H7•èoòš±Â囿mts¡Æ{2+t庲~y8c´ŸÇWdŒÜãλ[^Ê.Ný$”³/z`¾IŸqAë}·ÇªìÿO¼’OÜÅõ;0CÖª7L\òA>×¢÷¼ üh¤Ö?‹7\ «rã5 Õ›Ï¿¹™#÷¥x'¼Ü¾ÔĿѩ—aC€ûÙl0nT½q\‘gh@¸Ë ç{.Æó û/Žê¦ìžøKô`±©Ð~—ŽsïéPq=ÓàËwÞ·²ßsø$Vp@B¾tí^šX“cÏv:Q5Èçî–W|i^o25º;ÆDŒ„ÈÐÀ¿ GòªÉî†EÌ®³ M€îØÌ™4užGÌ8Ìð4€)s’0'–¸(Ð˹¶èOíp`ÿ§\¶éÔ{GOÄ«.ä¤!5ÉD[™ )·½e ^º´ùÃyG™,‚•´–ÇöÁ‘>3<„8§#7 Õš™d]‚(.º z‰F ²€À¦YŸ8g˜ObågÙ€E«(Ä9ØŠ˜à­€ÁD£ŒÑ† ‡õ¶9TO<näØé¾+ 2ýÀ±bމÜ;ÞO Z,ì¦Oü˜‰†3éÂîpõuA€4N^IA]R0èeà DÆãÝ©(i;‘@SË*K'_¡PŸFƒ Žm±-7r^n‰ÆpÖ‰aÞ¹¶EV¡%'ÁAW€AmýK“OÌ‘_ æUÁ ÍÉíǶ¹ÏïKÔíúú}Þs™ó)0Ó‡|¦)C²Ä΀·6Â2ÁŒ‚¢K‰—4¤Ÿ³ƒ‰þpÀ‰¨C0H5*wÅ÷äm¹¸Ò…ð"ãVx=>;òŽÅŒìŒoOQ.¡³ÀÛSòù¸ä„WvÍ©åѨß……Aêkó*¢6áz‡í|»T.8¬1£­³ÎA7…êáŠÅ¥ïb oŸ€XÉñÕ%ŸÆøqü 6! ŒG>M’€ÎVðÄVX†‡¦nzrÜÙ¨¯LªÉèñ4gò fò8Ýä]Á£GJ€7}3£JÈÊ} ,CÁ4W("ªI†Ss¶ÌŠa¹Ü >«„êm^Ži>¨ŽQbˆH.4P.Çn¦ˆÈüL¢œ¥cDÒAÈ wûæTÉxLcq£è™úýÀ¦¢W°ÂãÍQ8`T;c•:ð•rµ?g”©«mHNþc=ºÚ†iU…¶ž½ªØõì‡8ž\ë8;6‹gÐf;÷X;>C*Ö~hŸ µh÷ÞŠÅêeæ’"ÓRó/)GÖËÀ YrpGŠ£9 %YÄ“œ°ÓPgëóB°UfÌ'Ћ?Bn­Í ÀïfsjóÍ/7;^•íØ&z0¢ b0»îÏ®€|º@›l\{¤4Ê‚°Ï¼8*%Rˆj(Öëâ †¿áÕo4&Õ¦äÊó¬›al“ Œ'‚Xå¶ÀêÏægÝt”YÁÜHm‡êí·gd Hį­u’ákÿwxýõÏ/m¡w^-Šý™å _]š Á¤õ¬Dx®ù×)aF% @% ÎrxsV´ðŠ”€pÜ–€C©bŒm ‹×mÓu3=¢¯Kð‘¼*·6òéHIáÁÖ€bÒËòl´ýlð™¡èœìåÍÎóøhZŒ9,²Aq'Ê# + ‚T€)m™P&”|0Vh¸ö^ÝŠ7ÁñY³€»µ §³$]¬jݪ8t¤oˆÞ~á‹êÿ8•½Hœªó!ùÌÁ¬vEKàEs*àÇ.&mçe•D’Q&c¥?˜6Ž™0õ.zi8p[ÃŒ‡*ï{þ§J»ýYÈÑÀ¤1¦¶Òbà¸D÷ãk¥¦1㟆6²y‘›·§ïeUæí³/´tèm»òŠ(5¾QmÌþæü³iª RQþk ;C;^wž$ÒíNwM˨(ëÿbç[EÆz(’"…Á`“my(ØÝÄO¦¸ ½e}öß.ì °¶™Í“E+Æ«ÊûE™ŠMDÿò_f«Õö endstream endobj 163 0 obj << /F6 38 0 R /F19 153 0 R /F3 15 0 R /F16 140 0 R /F17 143 0 R /F15 129 0 R /F10 62 0 R /F7 53 0 R /F4 24 0 R >> endobj 161 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 163 0 R >> endobj 166 0 obj << /Filter[/FlateDecode] /Length 2605 >> stream xÚÅYIsÛF¾Ï¯àôˆí^Ñ@R>8^&žrœ”ÌIÙeù‘ ‡”-ÿúy¯_c[¢¦f»@³»ßþ½E3Î8Ÿ]ÍÜão³Ÿ–O_«™,5³åf fÍl¡KìlùòS$ãùçåߟ¾Ž‡=BÄ,q÷ó‹ŸŸÿ¶|u>_(GŠÍ6ÑËWï_œ¿ùmùæ×wøƒ~}M–?¿¢…·o~:~>ODô¯Ÿ½Z:F„™ ÎRT¤fÖαb±t¤nªb=_i¢ÕþúÐæïWÙ®(¯.¢¢lé‡u±?ë?Þ­«Ãå.BŸ¦Ÿ/æÊñ@Ùë ŒÇ$$ÑkwµÛ_L”Õu6©nñSEÕ†–b‹>6Ùª­ê†>.¢}¾Ÿƒø—óüÍkZ¾™¼¬È€;RöDq‚o¤n/²ß5âYƒ9¿éŒ”•c6-±©6‹ï5;ܳPÈ¥³…PÌhw(õ˜žH˜E™Ø¨Ìóu¾FÙ⨭èÙ´Y¹Îê5R£¶þeµÙtïÖ©óf.“Èí1ýi"¿)²¶¨Júô(üg7×ÈG”¯Úé½Ùnçl½ ®l†|j¤ú†+_§LÙ“ºWL+¿iÌ mV”ht\>%‡áñHÅí ^he¢ç›Ö¹ü¤¼qÔXÑÐò>o·•“q}F¥’%ccU%Ò²n(éeb\ và…  ¬ôn ï‡fr¤ ‘$,é,þáSñÜâ¯_>S0=yFO¯¢O°~ì1Z0ÝÁƦª‰oš©*Él§Ðâø&ËíÑB>l9Â×ÈÎ_ŽoIˆG·b¨g ®¦â (·É‰Ùл p𢤕ºrâ!r-£¥ƒXo'~´¦CÞ}܆Â_YçÞÄéÈí¡.ÝI¥Ü‘ÓiÛ§\îáh“ ýDÛ™ß3^|~øv:¥6,V÷¡’²«6ÄýAÈAfõØ ÔšGï³}N—g Ýí‰Hˆ HJÕÁÓž¤W<\Ú;'z‹'dñ#þ$ì‹åõÂÞ'‚ÓÈÏë¼s jÊø¶+%ì¨Ä ¨JÙ®2«š³8i¬·ì.†z­ªoñ=q9ëèúÄuWøv…NšmuØy.©Tñüïv¤çUÖÞ+dWt)ÅÔ8lêêÐ.ùCÜ\D¸V%q*†2æBjÒåËÞ…<-5}Ix2úRŽ x}/«}Q‚ š;¡°o¡Å[¿‡ŸôñÜœD¨­˜!(8wžæPJb…‰bs¬ 8©»ôôíX™¼Ò^—Vt)ï´}{¬Kì•óq ¹¤Ý;ÓBW°ÐuOÂa]7¹ƒk1iàW׸T´Æ¬… ®88}æ®Øm<Ízª çyIŠŒ<¯×ŸxŠé¼> (qs§¾ããúÎv¿JÊ›lÄÌJ¿+P¸¦Í¿^·ñiÝÖÝõ˜û!¹ZPmÙ²1Ç2ƒv ”»ƒ'ª]ÅlwösHW¼ã2>>ˇÕÈéñC¤¡éÓSoNàîÔ’µ¤ƒw©*h1è’ú àð<èð}ÀÜÞ%a¨¸Kb¢• $Àec®úrR%±/'U‚U×€ã2… ¼í«²j«²XmŸ+€&øs¢Ç¹Ê£uÑ)SP® šMôhõ{^›Û_R·A(Õ!Ä a[°Ìø8Ytü*hY’q|¾}1ÝäÞóëÇÀb¢º&a€EHþ‚ÅfR ˆ®N„·&÷uBáK‰Uµ¿†f×ÑÇuo–ñé1fI>5—²p_ŸÂn({*Ë‹ö»“ƒèškØFè&íX’PmQb…?ˆ€ŸÛ¸ÔgjXôÃúËIŽÑu°e—5M¨©UCÿ,ÚÒâ.B‚ãП:>™Ç¤²ëŽÁ1gzìÙ®©(0ê»C(  S‰ýJyz©~ǽi/UMA¸ó“謤8Úþz(ÿâaT«OId§ñ‡% ‘PJä`m ¸fSª?QªuQC’wÝ~bâÖÂçy'u™ÿy´óˆæÖ(* ‡ÅB Þ®`ÿ8N‹|Œ9ÇM7Wuž¹ñûÞÊÕ0ŸâÔ±vk¸%¡)îÊYø(ÊéE®”MyÔT{¿c2w£¥ÎYùØO',)M7)?Ã’ÊP_ïÉ—nP†Ë«Ì5ÞÊG;¬Ôùú°rµ5¯hq3’ÆÝ¢fÜÊ-Ûz`ût.{+¤ƒÜm ‹Œ/MqUÒ›³§ì£Ö_¨,s×¥· ÝWmBñ*†’;Ð{¸íË}cƒG­ÎV@z麗Îwp¹ºny’W@žÆ6QÝ~Üy"н®‰çq°‰\2ÕµX9‰på$ 3²¯ƒudß±<ò’‡Ë¯/¡B\Ⱦür}Ø3jI·Ï³nÒëç¼¶w+/Óéað.Üõµn&…vUDzөm™‡ÐÝjfÆ~8Ž®€Ö4”£òÿ ¶ã.Á"Àö§ iuÒù4ñúÆr£l7Zw@ûF>T"t¡º*W7Û!–ÃØà%ag„³(ˆ×DK/[ׂõÿÝHxô=¯+ú͇}âÃÞº°Ç-P=²œ¹|.&p‡%t‚8x¤™A"°àÙ-Ÿ"Ö0OÛÑʡÀ²0$#my˜S¦òE{©vy•+÷©£ë¬ÎÀîßná¥À¯kn¶² Å…âÀKžÊÜæ¾Ìm‘ÑE¿cä\wÆ£hyzÄ„B°6̈‡T+Ì0:=31P isªá8ϯÀGÞæ›ö¿ÕzÛŒ¡“ÈñèAÕ˜ô²(Ÿõãd?/®¶ÿ+áõýÂ;6þ=éƒm™I4ÓÔwþŽcc ïF•ÂÈb=`y¨E¥†ßñM¡ïu” Xº~¤ü¸vÄû¾‹6¹ê žT å+¿?\—·îKC*Mí0VÒ]yAxQ; :*c†Áwp'‡äbÅÃÑ Ž:_ÈÊíù|9RvUR›f[ÒB“aɇÑL˜»øá¡L<Ù¨ ž¶#M˜CHI&¾ó_¿üfªŽë endstream endobj 167 0 obj << /F3 15 0 R /F6 38 0 R /F15 129 0 R /F16 140 0 R /F17 143 0 R /F10 62 0 R /F8 56 0 R >> endobj 165 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 167 0 R >> endobj 172 0 obj << /Type/Font /Subtype/Type1 /Name/F20 /FontDescriptor 171 0 R /BaseFont/CEVKOB+CMTI10 /FirstChar 33 /LastChar 196 /Widths[306.7 514.4 817.8 769.1 817.8 766.7 306.7 408.9 408.9 511.1 766.7 306.7 357.8 306.7 511.1 511.1 511.1 511.1 511.1 511.1 511.1 511.1 511.1 511.1 511.1 306.7 306.7 306.7 766.7 511.1 511.1 766.7 743.3 703.9 715.6 755 678.3 652.8 773.6 743.3 385.6 525 768.9 627.2 896.7 743.3 766.7 678.3 766.7 729.4 562.2 715.6 743.3 743.3 998.9 743.3 743.3 613.3 306.7 514.4 306.7 511.1 306.7 306.7 511.1 460 460 511.1 460 306.7 460 511.1 306.7 306.7 460 255.6 817.8 562.2 511.1 511.1 460 421.7 408.9 332.2 536.7 460 664.4 463.9 485.6 408.9 511.1 1022.2 511.1 511.1 511.1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 627.2 817.8 766.7 692.2 664.4 743.3 715.6 766.7 715.6 766.7 0 0 715.6 613.3 562.2 587.8 881.7 894.4 306.7 332.2 511.1 511.1 511.1 511.1 511.1 831.3 460 536.7 715.6 715.6 511.1 882.8 985 766.7 255.6 511.1] >> endobj 173 0 obj << /Filter[/FlateDecode] /Length 2328 >> stream xÚµXKs㸾çWèH%–x’¬Êe=±SNÙ3[±·rˆsàH°Å”$*$5¶óëÓ€QS³9ì‰`£Ñh4º¿îÆ"iºx]Ð篋맟nÝBJQØÅÓËB:QèÅJK‘g‹§¿ü3шå*s2y¸y¸¾ùûãr¥U–|¹]þëéo?ÝÊb´V*áÔ"¥u÷w¿Ü}~ºûG{8'œ lŸî~|Ì¢G¢ŠLxTÆóf˜_é̉ŒÍ,qݼwM Êe6ù ™Ô§Ã¦Å•‹›':¦RQÈÑ9s#”¤åÿØúÃre´M< Â!RyD„²ñ!ò8L˦Ü?/E†½•¹¹¼ù}ýö»l~Ñu¥Î….H‘§­Ç¨”Ñeº ÒèNZ©d]îÖ§]Ùùð.Û†eÁã‘:ñx$”‡ 35¾;5‡aqZï§ÎžoKk’rw wzgƒÞÿ}Ÿ;B!R¡‚m”u¼ ެVűô2|ß¶ÕÉ[üµqM6= -h‚´ÞæÄ3ÎÔUÀ&z&\ °ç~®·6ÂÉèÁ5kXV‡v¢ŽK Ú5ÞͶêþKw êYá4›ÅÆõmWÆSš4OÀ“: —yj?ÌhnKæF‚³¾1†k¸\dÚûn[“)6AƒLv„C@ kêÛ®Ú—]uxíeÍñç+™Ã#Îé|¤ þ‚Ñ_˜Ìn„pøŒO¤ñQŸ—cìýè=¯ôï%¢%³"F"±ä_¼¹†)­_wU}ÀÕ éçºóqã²+ÍÖeu´›L‡C4Ldçmªãqæ2•(†¯ù×åJÂÝ´þ ä64¸†N‡Ä3õ“¼*úÓ%´VC–@5ZOT“t5¤˜§?Y¤ˆB+2«Ôú—ÓŽó §A:¿-ŠÇûQZTF £HîCÝ}.ÍLŒÖ²¾ä^8·ñ? aü•-€wÕú lòR9¾l?xTÀšxÆÚ&† ±^û¶í­3sÊi|™öL/J™4êý`Š—p¿5)W+gYà¡|Oÿ„žý# çZ¤v„Þ ÍyiФ!.'m‰oU· éOUveïK?>JåØì$¯òêUýà ’Ïðó ‡¤Í{p%ü@ëƒ>;àoÆ 1žèî›#¹X½ ¿bÿW霕•ƒ©×uª%ÄF¡Æ¸œ.óæaÓ"ÙÕ¸ÇÎò ²ào ÐéÈyÇ7¯­Y1‡Á˜.á߆5L\½í>–¹I¢Œ1Ãe×JÆ\Ó|×Ì^|É™(2.ýR‘¹…Á›!£0CÖ3¡£5äŸÎWƒÑò8{ieÌo½K¤Â˜ÅÛB¹L8°Ô¢p‹=J³¬'ìX<©,C<ÁÎA;•ô=¿Ô:Š­j)ƒ ÷Áöú·Ôö-’“€Û]‰Î˜¡Y7Õ::' "¤=Foœdãµ)¯aX¿\ȹÄàe“\*ixö9™/7x®ô{e*–AP’^í¶>í6}orEFÞÖ5Õšë/šù˜œl³©0I–;öbYäXiò"û9ƒºEÇÀ‡‚ÃêI(0 Í>ì§6JˆÛ˜Ð,ù6Öuö Y,&;œ‘gPÏ´šCý¾/„të hÕt§Ó ”ó„Ä—ÓJ†öBÇ n¢ígÝägž–¦C/5T‘ãŽ,Å”=9î.‰\aÉñí dÙTò!mª&!ÍPÖ‚Û( øxŠ\“ò ùu7æ Æ¹¦ÅîÄÄ{HUÜ\&íÇ}¢+ßé2R]0åä®~§Æìí•HcÔÁz` ÁÝ\(å´©ú~æÂ¹q¢‚é•ÒIãŠmÀñ¤Až+Æ7†‰ë:üe/5æ,kJ&`=+hã.7&2`Ì&I~¹1±Âf£“hºPþÖÇ ´?YÕs ‡É#Až uÖŠ2®™V[$Â/Æÿ=•¢Q“<öã&gƉ0 ­CÒ08¯ŠÒü¼*JÔ„5§vÂèŒÚ‰YzηPç ÇC&Mð’èÄ‹•xFïFäèºÀ\ÞÊ%¸éôo§¹D ë¥%³^~&íSØÁgC¸²Ÿž=àY|"‘¡¾Dë¨uâã’KÉ`øTÀÈ3<,©‘P슩–×e Þ}þp—i‘AhŠ!¸U»7šì©«@jlO3nOBí¹+Se&V“®‘ FÉý@†ªKAÿ³©ž¡T€î):f‡.$:b¬\ z`æjž ]ÏVá[ΉÚʤCÙu~½#xaô‚Së¢Ú± ‘FÃîB¨Ë¾BÇËÁ4XœR}7“Ÿ#c?¿ À•Œe2);ð¡nöP\ÀrnNë]µñ ð»©ZêÑBü&ažŸ½v)èåÀÂKQEr»ÌeBýLÆJƒ~ -øÃô{õZ[éú²jl¡|èÏñ]'Ë’?Ïì äPçZ*¯¤‹@£} ( ÅTÃU"ÐKþðcWÙƒÎl¿VéÙ‡ªFiÃk 2´{öîv‰ââ‹ ¤O*–‡bëF]oúe;›PÎ9õ% =¸ ½ƒeXlÊœZ&ÒÍhŸäþ&›’랉ë2°…p`*$¢ÓÚoð¾ vGfw0E™@¼­y4¼t³"ÊähCœ:·ÒFÖøÏ;Pbµ®Ðì8½½3!Ñ:z4y2ÕÓÆ¨¢÷U°Mð ûwŸºÀÍ4ŽxçŒóSÙÌf!×Ù{WËA6V%ýOŸ ø¡ŸÃVnŽZyAO=ûäÿð?zœ¨V endstream endobj 174 0 obj << /F6 38 0 R /F19 153 0 R /F3 15 0 R /F4 24 0 R /F16 140 0 R /F15 129 0 R /F17 143 0 R /F20 172 0 R /F8 56 0 R /F7 53 0 R /F2 12 0 R /F5 31 0 R /F11 65 0 R >> endobj 169 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 174 0 R >> endobj 177 0 obj << /Filter[/FlateDecode] /Length 1555 >> stream xÚÅWKsÛ6¾÷WðHv"„x“ÓSâ8©;n’±5M2U4 Gœ‘H•¤ì&¿¾ , ’–l§§^$ îãÛ'¢”¤iô5rï¢×Ë—oyD)Ée´¼%ZF NI¦£å›?c–%-{ùVw(U$RG>ûõÕÇåùU²àLÅœ$ ­hüæüúìêâãòâÃ{KÐñ‡·xaùë9\^¼¾zu•d4þbÙG硊èœp-'Š9IËuÝÃÇ™Ž{SuÛØM·Íæ®*3õ¦ÇͰ6¸ØšaÝ& YyÒýº.PfÜŠÎ߬ê“Êt¦±Ô©·]» ÛÞßlo6ª» šH‚áô½¾¬wÍ€7'† NRéѼåñ•¹5e b[ÿúK°ª/»z V§„S (iÏóQ¹z¼SnоGþ·­—\7°ÜAŒƒ@«ŠõÑ‚ Ax>µ±Z‡®âL¦>¥2¢)É©Õ ¢50H•ÅÀr¸kë*YH&ãëm ì@ù¾\×Ã÷ëz»[RR«zûW‡£÷þ j÷7ó3n>Ÿ:ürêp9;tsˆë ÔãD¢}—g«ä—™1j4Ƨ åœP¼~ÖnwûÁXdSí]˜fñ]¨@ÌÒÎ)TLhÊSÞ-KOŸ÷1áÉàù9ã­Ü®6®â~‹Ž°ÞiLµJPC’2.6{Óœ²¸l›¾îùÚE>H¹¯‡5úZ@¦°8„’q¿s ˜ò =u>t~´G  Ïþ™“4T”˳(H’çcÎd‚B903iú MZiUl·¶n¥â}S™®4«H©o©–$õ GSyžÆ=Äã¦.ëbc÷@·•w©Ä@S¤ ŒiN©”Í4¢:¶Q•yê*v>©®äÿ§¤§V}¯Ó*Y%äñ!Ð ›Ž`œ°P Pn:æ>·Ñ>`a h򾁱, uÂ3z™ ‡Nä°t†+¨ëtE×6ܾÛÍ2"‚ŸO.ä4—Agï#ÎH. ˜N›À+&ø©²Bô“ΦqÁ KÈȌΦ0¢ÀÈ®µ¦Þ»:ÁBå±yƒpÂj¬%ø%¶S ôû„,2Ô>ÃÀÅr’…˜ÿrBGF8û!¼ÜV5Ï—ÛNx("B,"œ è^Û¶³sç¾#ÂbÔ'\N¡gœzº~Ë`C¿n÷› yß`áÄÍά⻺rpq†øOU(‹Í¦n¾âi×1ϵYf5}¾Í~úû¬ô5ÿÔ—Ÿžo¾L¾ŽÅIÆÁQµ` ¶°ðPA`±ëÌ]Ýîû°ÃNPšjßP€IŠ]oþÕ¤}ÏØÞ»óúë:&PHŽã;gD‡øþt"6ÄßY1•ÚÁÖ:Ù²ïÌlAá¾§šÌKQYôqëRd36I}'̧ÌIMdÕÀ*þ`ÿn¶ §6.áÚ$ük96Ã÷T2’‰ù°y¹;“)BÕtÜ$ úáÅÁ`Ò‘“IŸIæT&yŽ …[PTlSŸ ýh"æ)¡ô¹‰x2‰[÷+x 4ž+¤›ËÉ{/¶m .Üøú˜L ³nà¶§®ýÉìÙág n™LÏ8Ú߸[.ñ5(€[¬6° ˦p,UpÃ?x`5>XÜ  ¶mmët1àªöÿù{_wÆÓ{l‚~n+ÃÐo¹ßtéTá]Ñ`˜ñs¬¡”ÒÆ4B¹;:Ó ÔqÏÆiîmšEšäÚ‰°O¢óG„ÛñôE™( |Ú=ø˜ þ+çSßœJÍ3YðÞ©"›Y0åDÍß2"¾6ÃÇU<«{n½ƒ¹îD€, ƒ!|ÙÏÒ˜Û+\‡ÅÖ€i.Fú¯Ìk€Íý2Ÿ9€“çìÌ`lð=$âwÿÍPa_J(ïÊ û®ù!['%í)[5µ]ï)[ó¶þô/ÕâUp endstream endobj 178 0 obj << /F3 15 0 R /F6 38 0 R /F2 12 0 R /F15 129 0 R /F16 140 0 R /F17 143 0 R /F10 62 0 R /F4 24 0 R /F5 31 0 R /F8 56 0 R >> endobj 176 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 178 0 R >> endobj 181 0 obj << /Filter[/FlateDecode] /Length 2547 >> stream xÚÅYÉ’ã8½ÏWø(O¤Ùâ"Q<ÌDtm5Q[TfÌe<•ÍÌT´-ek©¥¿¾‚”(K™Y}š“h. <ô&eiº¹Û¸Ï¿6/n~y“o8g&ÛÜÜnxÎŒÜì$g…Þܼúo"Yζ;óäýë÷/^¾Þî¤ÐÉÇ7ÛÿÝüû—7ÜDk¹`¹Ø¤nÝõÍË·n^þôñݯnhr´áLg~êËw¿^_3š"#qZ0™û9Âи‚n&8Žï¤Î™&eA–Wv»5²ä½=o%O¾€¶<±m_%Í-I“ž V¨H麷íCs*ë~±#—)SAëéì:§õæõ3£\˜Ñ¤L7ûæ¾r:¤´›<©Î'{¶õVäI}¹Iì÷‡Su¨zšQÖGjÜ–]Oëí×m&“ò4”}ÕÔÔçrßþÞzÉ$N²ÝAã:hª¦Y8õO7;®˜RNÓµ ÊÓv§d–«®/ëƒu(Pþ JæÉÙö÷ ˆ×É‘:ZûûPµÖ—´ü¡µ-N+’ƒíºª¾£þ®·£HKKö"Óm×/u:”'ÐF*™t÷ÍpB›(Ωvti0¾Îµý«²/ØRšñàH²1ÈsÔ´ Ù£özÒûÛfè«Ú^ê$N:ñ¨¶=ºãì¸Ldñ¡À —šsðMÝõípèÊg%Ѭ¦] Qº !¯¬Q–*–…(c蕼j0Èó¤nzj ÝÒÊyÁ¸úKºÞ‚² ! ï½nz6M‡h5(Ö™‰b&£MuòÏ…p™³4Ï®HÕ²£UyÕ½CÍÙúh> ½‹ðÏšöÃö?HABZZÒÈ,Ð:~ûã(-$t÷*¡¯²,)ÛªÓt¾ EÉKµGÅw?Å0i¢È_,œ‰€ëËå–œ-‹Åš™ü§¶¦c»,‰Ÿ÷m ælvct`–Ú–8´Ñ‘‡…™jä?žÆãÓ–{¡äŠ„1’Ž¡¶PòVÌÙß—=)|hÈßeUw¤%yå4Œ.‰6Ù #—äÍ,6O&ÓÎmLÈDûáðoÁÿš¥œ,¶T­ÀÊ-1ø| Y7…ÈG‡$í¬Ú]ÑÏUokÍôÞ6˜¬#ø²öâF¯¸nW‚áÛUØ¥Š?wS¨r²ñ·ûê€rïѬæÒÐ*yÐà)‹šÒúK[;Ïm}‰r. ‡låD8ãÉå† l(ˆÀ‹BÛm' oÆ">e@‹RF‘FŽŒÌ‹'Q ø›)¤M؃OõòUVxB‚'b]°çCÙ–2m»„/+Âæ˜’Wv×S¡:¨] »d€eIs®zH£` ÜbpÁ'’ê–:\ÃoG_ŸT¥ÏÐ2á~¥g620R±L¾UŽ\I'tvh­­)!K_»a"š…ù}é©€“?™‹ô}uþœår†‹“aRâH¿æGA’6ñKìQ`ãö®rÕ}¿Å¤òPƒqbϹô]ÓVýý™&=ˆ,Àñ ¬Õ$ON¼ó„¬Òø2Ø…ÌíKÖPW¿Ö•C™¼½õI?4 W-µBYênhíÕZuÒÏ‚-gY°ñµˆAÈ¿yKîÁ’'Ü©'‚¥ †·•³"yG(GÉ"ïøÃ›b¤²±¦²`Æ<„¨Ž^­ÕÑËä5Ë.éTáÅ@âªÆ$µµG‡Zh—·½³¬ Áý]»š•`V†efíö+ Rä|²ÔO¬Ê("Ù$ÃÝU›T¦Ý¥U ›;Åw™j——£Q;[Hh,µürˆXס°bx7O$ ¢¥‰žb2x–Þ £Y®ÖùíËæ4œëÿ7Ë•p-…g¹xra’r6µèZ_Š—H¾"ß²W4@ÉÕÍ á/j á±ŽãÓPz°ð‘:÷X­Ñ~ñ>9U¿mýuPã¤7[ôCÛ·eéiAt¯Ã}ò2%{,P·,fË#å¦ð®1¡”ÆO!h9ÖtøÎ_äWXÏp~W=t‡ûªÿcŸ<ï«L°øB"òpÚ#uƒd7ÁÁØõï!;m»ß.ª3”!êFæ€ÓœË°Ã)äÊ (E].÷—”¢±G$_ÊÎúýšz°šèÝíX'/l‰Ä9”ó”=2Jžáâ‘0аÑ[]˜á1‚ Љýî9î 㳊0j (}ðB…ª\ª†8ÎDã„yÔP!çaßÙ–žnfCßFƳ 쾄™Ã‡-1òÙöC[w섞¬Ô‘³›rtWªiöÅ®$àr×'¢TrôÊ;ÄKÒwûYôÖö›Gì$K¤,OÊz6Ò•÷’ǯÇ!B˜Š¥Å"LÚÙª‘³Aú@ïlå} ctñûêÁ!0‹åv¢‚d]~uãWB‚Ý-óñap8E$·ms¦–$ÆÜÉÛžº.Y ×õRþÆö7P˜ªê¯ý&ò²d€&b€?“Lv~Å%mð<œt†W’9Æ×¾Ÿñ?Ü| é|r¥°^rvœ-`£W‰±‰ÁEŠƒ•,Ž”î…Fè>QF7|é,ìÜÀ†p oå&±X¸Û?µç<.Ix3„¯?›a‡ˆîuyžÂijWÝÕ¾m¢WøtþI3-Ìʰ%]”YÊŠñY›R£¿5¹È»D…'&H?Fò€ŒpZølŠÇžŽƒ·çzñ´`Úü,‰È„ $bO—;=«LIÏ >vJ÷¯ƒÔz|jÔ*:¼iê¨@ß*ÐG«DB—œ±ˆÁ¥EÏístÍ÷qiC'| ˜#Åg?¾+áF±Lβ°—ƒàj‚ö޹ƒƒ„Ûº¸„Ã: r1!çyè”åÅ‚Jþëâê5b~k Ïóf¡„WÞÕ`üg lè6ÚP°U úØ R¾D+A Àn?nÁ‚1‰,²ÊÝÚ8ÿ9¾µrvÏ¥i RNC¿™²”̰k–ÌèFŸ|–Z¹y˜ŒO• ´˜,Ô%×½–·qÊ—ø¹:®]îhzýO£™aøe†1÷v|5AÙ“*|.Àào9S÷… endstream endobj 182 0 obj << /F6 38 0 R /F19 153 0 R /F3 15 0 R /F4 24 0 R /F2 12 0 R /F5 31 0 R /F15 129 0 R /F16 140 0 R /F17 143 0 R /F10 62 0 R /F8 56 0 R /F18 146 0 R /F7 53 0 R >> endobj 180 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 182 0 R >> endobj 185 0 obj << /Filter[/FlateDecode] /Length 1766 >> stream xÚXKsÛ6¾÷WèHµB@öæ$vëNÚd\µ3º†‚,¶’蒔ɟï.  ‹–{"°öoœ¤,M'·÷ùaòvþæRN8g…šÌ—Í™Q“™ä,7“ùû?™NÿšÿôæRï÷p®Y1IÝò»Ï?Í/®§3)t"Ùtf4OÞ_üúîúêÓüêã/¸`’—´aþã>\½½>¿žæ<ùƒØs5á)+8òŸ‘TtqRšm×·»ª¿x¼[×UÝûCz¨0Lf^©³é,Ó"éWÒ$6œ‚YžØû©RI¹Þ•}Ýl‘¦“¶ÙõõÖëÂUž ¾¿Ã!û² &c™ô[êõš„žÎ šØãÀ:­’©Ì©v½]ÀæB'5˜kËÃC2ù4•m¹±½m½X©($˵—û8â–…ÕºCþÀlë¿m["ó'Û,éÛÕ_챜\a8ˆÑ¢Þ â!)ØñaóÊY!˜áëVÍn½ ï9½îhVÕ7Bë·”Þ( ·s­Ð9K5¹V‘vÛ¹hKÈO´¿.A$dÊ¢ìËǦ9ËC@ÇìþÂ/ßf)dÖmÓÖýjC¼)P\¹ë› $]U®×ODªšÍ„vz˜]¥¢h0É>Ö]ß½ 25ˆPÔÃû&ôõEÛ6íÿ€ <Ï@Ð6\pXdDʼ¶ð+ÌÑÖ5ÈõK¾ iÝKÏ’ß|0ܙƳt×Õ†zšA <¬ š¶}Æ»j¶³áÙ’“)GèÕ(slûÜ÷ùÿ ïz×)Úáä§:eØþ€€m-ͺ]UÙ®õ±Ty’‹“¨£iIŸýîcß žAã>’Áð*N¼2]WÓkHCËI­±>Úïá´0œ6|¥$µpŠ£ã‘dFl$‡àÚ²„4_œa x"<Ý]ˆÍ#Î?â©"ž¦H$Ò2ÒNy núQvò”ö|¥µõ]G‰Q÷_ˆTau„”ž’±¡“Ý.µãFY€´Öz_—ô×FSµ 7ê›ÿ`Œ endstream endobj 186 0 obj << /F3 15 0 R /F6 38 0 R /F15 129 0 R /F16 140 0 R /F17 143 0 R /F18 146 0 R >> endobj 184 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 186 0 R >> endobj 189 0 obj << /Filter[/FlateDecode] /Length 2396 >> stream xÚ½YIsÛF¾Ï¯àœ;è[R:8²=¥)“²eWR–ÙQ&ZV~ý¼¥‹Éž™J.bãõòö÷¾n-B†‹»ýücñóõ¯ã…”"‹×Û…ŒE¦+-Eš,®_~ ´HÄr•Ä2øõíRÅÁ/¯^¾ûâj¹Ò* .ß\¿zûz)Ã$x±TipñjùéúŸ?¼Öý‰:‰E¢!Ÿ&yÞ,d"”Äù•[€<“Èó\®¤„ó­+`$ƒµÝœê|ã$ Šr©Ã µõ6_[*…”n)ÄBœ%Á¥ hø÷ÔØíiÏãû-y´Î÷ûi š+ÇC]Ñúe’Y*WÅ-h7Æ„èQ^²­«„ÄÇȃ'@eîNù:TkÜûâ3:Âòôëe*ƒªnë¼¼Y2©ªyi¾sÃc¾Æ0ø¼ŒLàϒóH½8#åþ•·ûüö cWáÇÎò¶Xç7K0 QYð¦jQŒÂe—·8J°“ŽylK¡Bµõ&Þ"û×vkk[®­ã˜7ÓØjwè, ›¹ß vK1çÃOmÿ}*jâ@Û/kNküÚñLgYѧŸO9G"ä<%áô,cÍp@9PoÇé´i˜Rm§áñ ä£ÀŸD,bý\œ+a%Ï\¾ Ô>®|’\»œÊÀ’­¤²tZpYQúH´Ðfdy®ày ¡¡;•L({”Lƒ²rßãb‚¤-†$š#¸]Û*\HÌ7›¢-ª’„©sfu*ɨ°à&˜Ö å5sš¾ú áÿþx´õϸëŒUpK*к«êÞ­›X/KEhÜ™C×Þ,!"#e@EÐäfR0Sͦ¸`Â`¦`¦Ñ\€(M±6rîÕ´f@Êjf“J+ºfäWBÆÀ‘Š×\BŸ‘½¨:1$*¶ (*4£[ÌC© *ý²HÔ­x?±¶,-d(29èY*ŽQX”`Sn÷-¬Ý‡|²7`ÅöïL~YÎxÔÓÞ8 owįsÄßæˆ¿ŸuÕC‹È $q ®.&,/ËýzþæýÕÕÍò§‘‚ñTÁÌÉâ¢:O-µ\Qú †:Ôžê²á ˜þB5ôÇOCFÍw¡u¤ÀÁfFö²LzA0GcåâÆµ¡¡ ‘ˆ|†ø n7!<ýuº9Ê×*÷I$ƒ—Üž¬S©Äˆ"»‚ËT7‚ëf&âtè‚cmûÊÓ4PÄT´D‰Ôs߇©tP3¿€B䪲ŽCÜaË ÊÙôäòÂÈ7ÓsAή/Ï…)v:à_ŸÔÌlò6Ÿá)!1Uô´©a £§˜~¡þ¼n©©G©\PÝb¡Ù°„Mñ‡‰Ùs–„æúæ4#;Äzìf›5W$7^rãš—Ü8+²Ž\ßyÑ¥†:?òU8˜W"êBT=gxÆß£ÎÝ÷»‚0‚ƒHëŠÓ./ʆ)]â63œÂ¤÷¡sqºHD–t¹¤Ñ’8ýÙ×¥-O¦›J–Š,ƒ-‚@M Ómã¼k\8È+Æù÷ÍŒU&¤Éóá7ô¡8& Ç>dxCôye 3—\Fh?í£FΨ̹bú-Wþ((ó\IL°$¶v3—hFö^¸º˜ñw(tü”®ÐšŽ€¢ýÃ'‰<È2‹¦å×ÎÀF „ÔxØh›'¾¶© ù±:™îòŒ*ˆÚlKSmt(L:Ѐhtt^×9×aæ»åßy¿AQŒžñ[Ö×Dæ`ªáwäƒþƒYD&ye)ѹ $Š´1 .ÿìóúÎò«ŽÛžñ]tšÆH¾Hà Gþ> endobj 188 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 190 0 R >> endobj 193 0 obj << /Filter[/FlateDecode] /Length 2241 >> stream xÚ½YKoãF¾ï¯Ð‘XöƒÝ$‚=dì™Ä c&ðh“ Ö{ %Ê& ‘^’šŒóë·ª«)6EÒ’ÁžHUûQý}õÒ,da8{˜ÙÇϳ÷Ë>Êç,‰fËÍLsf¢ÙBr›Ùòêßóÿ,ÿñÃGÝép®Y2 íðå/?ýºüp;_H¡Éæ £ypõáËåíõ¯ËëÏŸpÀŸ?’Âò—$¸¹~ûÓí<æÁ8ýìÃÒn„Ã*!K¸·-™v©/é.›/„AZÓžxÔ©+8Oä6u“?]ÍoévŸ]–E}ÜÍÝÞü‰aR¹.`^¥‚MYÑ»²(›²pËmöŪÉa"ú™ø”AóèÆ«ìFÝ ¦[Ítì–øæÆCoLh7z' ™€³ˆ·gÊ6óMЀ±ã {Cê [×;YdXÔ.ˆ³.d"˜³—,R¯®EI7y‘Ü>dðu7›­´"ŠË =ëü¯l¸@ÔÚï†+ ÁâÖ>ë .$/hBky\±)ŸHRåsXƒ?y°*«"«H‡v!»Üuµ[Dø-¸áLH2IdWtÈWyƒÇzžÇŠŒyÀª>)˜Qðu¨˜NhÃåþ~ F":†ã-ìµ¹µ›¸05ïHë*ß]Ð['û4àNHK8ù· »7‘°û7ÛSúר—ô„ôþîærL•6=ØÓu±Î¾ýýÓ?onîæ?ž 3S îñY©hœÏŠ%bœÏ€ÖƒýƘÍ#Å¢¤£¶2’¨­”ö¨+{ÔÆŸHmT²XAÁµApÃNñ»s¿a>¢*¼Üƒƒƒ²iÊ ¶põÄX¡–Ä>Ô¤—Žô²%½Té½ÁÅõ™7’‰ø%Šß”«t{.±9<Žsö ¢ù!¼àF›Ç2H«¤‚\A•æÎ\4­ÉwçÅð:Dèå¡gçûò\„Ç’Éø,„ûÉÈwHæFÁýŠÀ0¶æ‚t‚.7ÃÀ0Æ…¨»åqÖòAD,ñø€Â…—ÄOËà—Ÿ–ÁO›–Áó­&+®D3¥¦+.,a_¬¸€ V¹o«N^1f¾á .Ù+¸”´ù˜:*¸”Kl Ž,¸Ô©„ÌŒ\ª pª-¸` *¸Œ ÊJt¹ µNEHͤðqì²19’©7\PëaxO_Uu½†¢êÿJQ€gäG+€Ð(C9¾L3ôd °Ÿ ²ÂØY¡ñ¹ŠƒÈU|Ò]Ãx•-€ÿ\ùx'1Ä¢C-ªäË5Çé'jªødMe¦ùkÐ3¼eâ„>ѰAfêÜ0-gÓTÃÙ3€Ôƒø.ˆ3PHQ˜UiÛ¨a F²/µ+¹ðêÜÌià½Ør`—Y ð`„«¨2×ÄNù I+—±—¨F¯»,µ^^›’žjI«Ûö-A| HÅ} À½G‘ –­ú×yþü7©RR}ç¦Ê3r kÚ×È÷z0!býœ5ð‚± ™Üv‰ÏK˜¸~ƒ¿> endobj 192 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 194 0 R >> endobj 197 0 obj << /Filter[/FlateDecode] /Length 2893 >> stream xÚ½YßÛ6~¿¿Âr³â‰Ryèm’"‡EZl·I‹n[Þ`[®$'Ùþõ7Ã!EÊ¢³‹»âžDQÔÌp8üæãp‘²4]Ü/Ìã‡Å¿n¿}“/8ge¶¸Ý.xÎJ¹XIÎ ½¸}õ{"™fË•ÎyòÓÍRäÉW¯_ýróýõr%E–¼}wûúæÍ’§:ù~)ŠäêõòÛûFz‰RçLËEJÒ$~_¼¾5z9(NYÉŹd¹0CZ T]µ¯‡º#©\ûñ™dEf¥`M–k;,+s£ÖÕ†•iòP¡èOhoM=ÛöÔQëÓ2Ë’jwª{6×ÉÓ‚Iõ,¥nÂ/a–IJÒ÷uuè©yh»}µÃ6O®›c¿F›šá/è*ʤ:»»¾¬ŒÇV¥—‹—,SFt³¯†¦=¼˜Û©Ëóg˜™1•{;•Ö ‡G¦œ*“ɾ=´C{¨éƒ7kÔ¾R…LšþüÐÐDèu]õ5µ>aìÔë¡,¥(+¬Wkìëhn^ŒƒƒˆÅWŒØþLÌñ2 I„!gø ÄnRß烢XÓð`±÷¨ûÔå+•¦ظ£0MÓh˜âæ)âaz +uc&XžPØ_äs¥’·[ÒD› Õz}êªõ#½µçŸ7ÕPY€Rš©"\¯¦'p€5†²AOþ|x?~BOB˜1F•ùû°:Ô÷€64‚z?›¶Yß‚v3Šu› ÚÞ• Û‚Ö§fSoŒÞ”\JÈ5si΂|úó¾m‡ÔÒü i3/G‡†™.¾â‚¥è(-pçãØOm³A³2«íªÝOC=ª»z†ßИWÍþµ|ß;Û³iOwµíü5ÖùÛY'Z)JÜ~Á¤og †Çc=ëÄ {ùî—ëë˜"мùgjóÁ|¹[þó F Ò”e%%r ®\)Lçø¬û“QMo&làIq ›\s›\ä[“ àw‚ìÙv힆Ú¦¤¦‰mhIØ Íáž:¯º¶ï)'OÂäý‚©Ú5—e&þ¥2à‰äCI¿oMd¶ØÕ_©Aq˜Õ8ùº¦é[‘ç¤~ çÅB)ÊnKx:µåa§-´ªÎŽëêáÔÆ2¢B{v»eeò ds#\˜.©~`†¥ÍÜA 4ü4ñílš4ààH‘HqrÁ2„ëŠ0Œ±" œI×Ô úDží}Î!‹Ë žþPÐÀX.ì{à…ºð@ª³Ü:TÙØ¢=û$,“ޏÀ'„E7±œñi¢€¬gBBhaÀKè8xåšélbÿ9šü|Ü5—f’ç,U~&J(˜IcÕÁ4Z³ºê8a²œsÏ›ÞEX+]ÎYmÛ݆f´öÛj%¥f|’ù-+·› s%x­¦°84ž™' Km“zŽI‡Ö•KñøBN{×ôôìê}ëÏê$LÀí@hØý -“œ±A[e ý|ËÇ <.Q8JÐsìêM³¦­lò?mvacûºÚh!¢ásüd­N9üfŽ6Q#Fÿ<Ç øsÜLit™hæÄS0N!¸ÝuÖî(¢íˆÞýö #˰u1:¸bÚ}&˜ÒS¿Hj»RȾLJ3iÃjfš"ùóÔ vC™ÌÏúËÑ mèBÆuЧÌ` àÈu½9u5¾âÉ÷fJ&5K`*Í@Ïψåó‰ÁijÉ—¤ÌᘣK3rößp¥ÍÿL–&^_y½–ñl?Ì»®fÖmobâ>„<*JÀf{ø{šrI]0qƸdêp$-B®)’&ò‘Ì7gÂ¥P)žØ)lš;‘iƒŠ ä@Â2£m`;°&Õ bHÈ€š~¨À៛áÁÛO»½4Ý kož×et:¥Žó¹ËŒi7÷ë«X~ Ogi“9àÛ4ûÈY²t Úr&´þ@‹VƒŠ'€I]Ú7ÕÔeÖIó@Ÿ?öàÄâ¬~«!JŸwªýºéûʼ6/î{1‚°%ZpÊ,ƒM—†âW?þGüÒYŒ™—2>–þ~ã±Ã¤™ ÏÏøÂ3ç¿4~îwBÉØŽðì0º´¼ôÕëºöу²<@àN“6k?›èyJ‘9BËï|WÖ•ð¡?!EvÛ ï¢ß"V ¬ÏD©q*&ø³!ÃZRIäåí˜uÔÞšìqš´ú:¶ú\¥^êm¬S¤èÅ0nmõ3Ò$Y…Õƒ0 JŸ×ÀˆÃArìÚäÕ:HhcS*Ǫûñˆ\Ö”€Ó28%|‡ÜEB(åiußÇ0&eÊyÜŽµ÷‘Õ)ü1& 9SY(£H®¢2ƈ—÷RÖ”›¨áF5 ¾DPSˆ AÚþ°«õnîðð„_÷¸Ù±\F0^˜K€` ?ŒcñÕÐ žŠ Ök½@Èä“nÔ-‚Z~–ª„GÜ)´¶Øb@^u0;©òrjnE}“:¼›‚<ã[‹Kéá'†îKC˜CI‘ŠôžUÔ˜…wmª/æ|ÀBGí*«¸.9„|ñ Vã«Û¡Ðèê] GBÅ»©k;Æl¦ð'_rÄ7-ùˆiyˆipÄ~e?å”ëg§°´ÖìÓYÙÐ0ßÎîbS¨4ÄuÊG]Ìg´vÓNþUç·KÒòqø2®6¾Ðý¬éÆ3b|¶à˜.¶C‘,å,—aäF6¯à, #W)s»SÊqš:š oxàãì†&_š*€ðÕ›œ<óØô•«€°2 J{!säH.¾ÆŠ“N„–YÖª! ¬“19¹3;lÑïTEPŽŠ„ô€Øt6¹;2·/8*¸;Òfo¬ - ùz­@S<Ik[)1õ&x7gxnÛÝΦíïæž0ø¯xN›™»Èù=â7¿öMÄýž¤þ×s™¹þƒ§³¨»þS®*íé°¶nÃK!û¹9¬»º²ÕQx'®­ÌÝÐÈ©+ªõ"#w€’Iþ,“WNWºO¾LFÅ䄚þ*`•_Fˆ¢f™öD‘ÏÅxB¸;RÓ…1r‹/}ßÔÎõ/bÕˆ”ñgÜ©þí³†Gan»§ÆŸXÏêLÍëixËrôÔ¤Bû:ÒKÒ>Xòð&rÙÑ©LÒÁÁ&¾±A—ƒO–€µÎ“_æ«Z†ì_óˆ8†<û†˜r./5ËùÓtkîA®˜x†Ï=C?ç,›bæÙ½äª\y_<é)ñ·z ð@%o!yo‡ÇÍ£Uj ”×V¶ì‚6 °úŒÀµTb«e!Ã1†ÀÀç 3XþõÓáso³ÒÐP_ü ‹dç·æ“«ýã?5G-2 endstream endobj 198 0 obj << /F6 38 0 R /F3 15 0 R /F16 140 0 R /F17 143 0 R /F15 129 0 R /F10 62 0 R >> endobj 196 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 198 0 R >> endobj 201 0 obj << /Filter[/FlateDecode] /Length 2484 >> stream xÚÅY[sã¶~ï¯Ð#•Ya‰ oÉôaãõ&î8›Œ­f²å– ‹Dº$µ^ï¯ï98/&VrÚ´}AÀ¹~çÍB†³û™y|7ûvùúœqβh¶ÜÎbÎ’h¶œ¥Élùö×@ªùoË¿½~÷k8Y6 Íç‹ïßü´¼¼™/¤ˆÉæ‹$æÁÛËÛ‹›«Ÿ–W?¾ÇIðã;Z°üþ’&®¯¾½ys3OyðŸ]. #¨„,ãNbÉbaHÝèöX—Í|!„Ú¦Áº:<[½¡·ëâ¡YÏÒ®h?ã‡eӿ卶4³ òm«k»?ßï‹òž„äQO_D NL8÷ªl/ˆ–!‚VÁjn7_Ø .Y¤Ìö©?=Å$¾¥”ÁC]Ák¬õæXë†Ô0`C –¨Ù"ãŒg欢1"yº9@Œ~þо¿-¯hÔϽ·3›êx·×vò—·y›û>|À«ù7gLÄÈ ²‘匤@6c$4Ľlóu[ÕfI”z­›&¯ŸìŽŠžeU`Ëg=:( 6ÀÐxå.GÝ~œ“f<ÐÚ›¼Þ®Ã¡6úc‘·EU’ ªÒÚ¢0*ÐùÏÙᛀ3#äu‘ƒBΙ‡ã“ìó±*6C}§ÛÎ8¤]úúÕ-8Õ¯ŠYú ’§È69_Òo‰$K¥uÚÛ©o q>m”*yÒ[í¬#ùÈ:ø uŽÏuÌôÎÈ:ÕuÒÀZg+D·1Qô›h¡” nwÕq¿¡Mwašv"еý@ø÷Bžò}€ç"bYl·õ”D1ùÜS.ªò£®[Ä!„7/†ð Pš¦L‘-ç© ê¼l("U 6 #²dÆÁ!oëâÓÔ½8Xª¬¨¿LU‘±4ë±Èâ0ø{£·Ç=ÿ¸ÓeOh¢þ,cI¯ý;0À”€ NÕ…åÚYÇÛº:Шibí‚üMÄ“ñÐáîëüðzŸ—÷ÇüÕ =î çeøÚ 4 )íÄ‚´¦ ˜„öǃI1EcV„˜eìWô]ÜünžŠ ª[Ðü+T|ü·ûüμÄn×l5gS½ŒbØ“2YÅAe Ž…s &EÂa‰¿b°àH‹Œ˜ -’ã„€3®PÛÔ¹@J.0aqÁ…À 6°¹‡Qø«´%DóZwΡlPÊ&˜ÈëÚ$˜§/D*°Æ”žYÜGí…J”õj8ø •Éz@m[ÕÓãSˆUéÉÓsÂ4.%©aJBö÷{«à¼%••Qº‰! ††W²ÀÔÕ±-\–\SN“˜IUÁ§í‚pÀ)gʱºˆxtv|ïs°ÌéÙ†¯SÌR&¤¯ýY×Åö釪¬Úª,ÖEûôR4ö3€åæ%EEÆB>tɾ׾YýМG·„² åÏÊ6h?8=Š-=É™a`c.ŒÝÚ5f 59P™Úç‹v÷l÷}A50ºƒC¯GŒüO4K±VÛ>)¡>iR(C¾Ø˜"0ÜcM½ÜåØ<¥Ê°$Ri3! ˆmüdØÆ)çð8yçš|Ê IŽÁq°dŸ7ÍÔ¥L º1OøˆYìü܇Å„óòë ßö·1C˜DeQŠC¦†ž’ï›jJb\ââ° é RWb|½^b™ˆŸŸ¢0cÔ%ÝŠ•H„ˆƒPï#¡zÅTÄK§ž„³’âàh‡‡½'ˆÆ}£ÿôœ\„x>#Q2–(<-‘„<)‘d2Àü–dÅQªMQë5U:øZmñ)\â©KýÏ#öÔžÓ¡êAJÀ¡ ÿ`ÿRé%cÆq¡5ÕëZç Ìø¾=–ëB2¤êÏÍá û%­í²¾åø S>faÐT»ڞȵ= M9g ÇÍÔà$I¹Ÿ6QlÉ—;ƒm‰µ)b¥E;ÌÔP¬Í% n¯hr;Æœî£a–£‰a·ÖLƒÎ]g…¬·‚½5ݨ¡¸/idì)œb”¹ë9Øú©Ô¦âm:–zðÊûÌåÉà²]y@±t<t»£Ì½!ÂùH*C"]€p#:%q‘2žŽŠÞF%KèTPÝ W kê˜ñÄ<Lrw¼o—§‰X$ì²Wt3%ÿØ!¿z3 Ý!ÿ˜nŽw{Cå$Á_ñ‘š$ˆ}¦ÎK+:e²0éÜÊÊß8=ôÞ…«ëÖcÒj™ø$;Nm È<Ý¡!†~8D—Gk*dRüÔ6‰¯<ÁÛÕm|z 4ü®FµE‡Ó7–]pÀªm¡”‹´nàà}%BÀÓÒcebZú©b¨÷ÓóJ‚Ô ñ|D ¢¸Æˆ°4ß$‰4 >kjO:اö‰=. ’ifò9…+Øt,¡ÛÅ&ž.SN ž.ІãˆÕ÷æC;&õÇAYè“‘– <Ì(SÚ¢Ç ª½†&jm¯ªòZ4sEMU½•_1¬iºþª!}AŠóá ÆÙ3™;úRæNÑE·bà\þ¦à …bJBQðÖœEü”j¡Å‹Ó· ërõ²ÖãZoÛ}Þò§4!Þ~Ã{oàmBˆ“¿=é4]«/ÓÀMq¿û/ª@ýUàíÐ"èRºúï_é.B@l늆/ŸÕè†Ø×·zo‰UÚ_.cH‚f¢gmÿÇ5l¦¢·l#F¯…åŒÊ#m¿›h[ÒT\”ÏbMm4éi±â[q94*çE×"‰„Ÿ†ë Äü@cª†Ì]•žÊ]±XöÊ0wýµ/±Pœä©Ï€Þ†éò$†W‰¯ß©þ_ÏÏ2j7ָ誜KhÁu½ÍMèN¨6–‰½IÇÁAæPýßaÕhóÇ ÌbéŠÏ[ãC¸ ½*·tDןòÜTu—ù†tt[—¸i2¯íWý)_·û'ziÝžÆ\š…ûT5Ú ±éwGcö-6擹Æ4ÛISm5E‹Ÿ—ÎkHÖÖ—!iÙ 6`;箚Ue~ ò/ËèFÛýï×Ýh à­»ƒä„åµ^‰(ùäùÏ 51F4ZbZ’E}ES”M«ó í‹Ôçã3½ÞÖ]Ø¿¢‹T×j^.ÿò/¿ì endstream endobj 202 0 obj << /F3 15 0 R /F6 38 0 R /F16 140 0 R /F15 129 0 R /F17 143 0 R /F10 62 0 R /F8 56 0 R /F4 24 0 R >> endobj 200 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 202 0 R >> endobj 205 0 obj << /Filter[/FlateDecode] /Length 1935 >> stream xÚÝXKsÛ6¾÷WèHu,>¦§Äq:é¤i&Qó˜ªZ‚#N)Òå#Žó뻋ø°¨Ø™æÐé‰$.öñíî,8ã|ñqa?/ž¬=‹B°T/ÖW ±4\¬BÁ’x±~úG²˜-Wq$‚W¯—2 ~;¿xúûëÇ/–«PêàùËõÅëgKÁãàñR&ÁùÅòÏõ/ž…ƒÄ0ŽX.8IÓ4/`KÎR Vnnk»Ì|Î×…qkõ°VIK'ëE~ý¼lŸ—Wo³¢3›`³<–  ·þ TÃÀ´[† k0~±’ñd±Šc¦ÉâõÞÔ†Öfþ¥EÓoРdPšš¹®aÆ·f×Õ¦ÁAÜìóíRÆÁž_Û¦¾ªêýÕ诪ÝçåGËKú¹Ý»M›œoó¬ ï]Þ´Y¹5ƒöSçxSÀh-­)Ÿª|·\iTï¬7‡ 6…Ïf»ÏÛ/o` lÝþHëvùáŒÞ†±—ndWu—…qƒïç?œYÝdʸuB¦•Õc²h=÷ç‹óÍò§‰a£(:P aå¢ÀóêpݵÖÝ=òO‚Oèt³m«ÚA! á’ÉÈaa} ¬Tnººº#Ø…k—o¤ŽÍŽ7.Œ1†Ñ”f´»¬Í¼BZÏÑ'd°­ÊÂhJT‹‹Wy»·¦ƒ…à2r%‚U@E:h†¶½8jÈ’0”8¤ì€tD;ã .L}ÏxA³ÔÏCÞ'J`>|m·]ÞæUI+òŸQЕ;S7­Ã8¹Î­(¥±¶X0B¾Nùö©`o¿¬Ì0ð¦âòÌ”3FF ½»c5‹7k«†ÝUGù_ÛSŽZ-L›åfÉNlïùt¬€ ™ŒÝÚ—[ó­gÂÊà Âhªòìx/­˜/­/g‚ ûˆÑ>2MÉÍøÒä_Ü¡S„_»È´gR— <È.›mÞ4Ùèç‰\~nËäFNX·û'TRqºÒÿh  OªFV×âøöØn™0å=ø~Öp¥Ç¹ X{…’¥êŽùH„Ù;x#U8WVXüÕ`SÑZädFm‹gêA¯›Æ-!wøs'Ì µ„f¨9ÁDÓ]dGÝ9ñ˜ÿ0££d¡œø+>á¯Uˆ$ãsx)öþ¾ˆ(¥¨ˆ`w;˜CUßRCƒ~èÚ«ŸýJÈE A¯ßÚÛÐ쫮ؑìK*œC·×}ÊwÖ]Л©ëŽTØfEÑ÷äºêÚ¼4ì¾–+9gQú =÷Ý£éξ»¿KÈ?‘Ø]Þ.äIyF]F%!ôõ^®kó)¯ºÆh µ 8ýkÔÌ'boìxþqt ÊÊ1ÚS`‰íïf¢´×f##»Ø£øÚ` mî*2™#>Ûn»:Û:Û„#SÖõ5ð`‚¤ç/ÏËe(‚(af[K ´™e¬xLY‚>—XL<64jwƒç›õ9 á(äÚ.©ŠŒHÞ¶Èšæn¥d$±L5Sª¨PòÓöhÝ|;Q 9`‘È4HBÅ•¯hðâhDìhD¨â iÁ‚‘ÄÁ¯]ÓÒú!á³Ó¦î0Udæ¤ •²LÆ{üI—;ÊHpúª?2©#ú?¯+ßšÁ.9Î1ÂðéòLø\¥KGԆ˶÷ò¬JCx:W[sIûynðö¡Ò»nï! –ÐG1 %†Ç¢ ÛzáI¦íª™Â^&TJè1•‚/*þ¸¬»lÌß‹»ÊlôaÖ@Ûƒ¾PPø8 ;[s/€úWøwVgÓb®…ÔòMJú§Ö‚Yf¦YâéÀ ù è}ߞ,q$K3m ê²è ÆJðÔnD~;Ú?Œ1*cÆÖÓ2Þ36qW NJXŒÊ$Æ‚3¨åpÇE’3_?Ï6pO !7m¡ÍòÒf²? Âˈ â§-MãyÖPEåaêÁ77ycæƒÄíùùíœjj¢Z<¨[OÈNTÞ= ÉùE— ®tƒ¼5»ûÒN"L<$»/>Û|ø~Ynû>üÉAêY¯ i¢+ePo³KwX³Lë*væT—]K+lÂÊfœ4l¼«=H"ÂgâÎÏøâÎä×Èp{tqjPßE‚ˆrмm 'HÄÀšf¦@º—¨©ˆãx,}"XçUÑÊ請í!¡‚|ÖI*{+5*Ku1T#*úÓ!{¦6ʳU ñ‡¬þ&¬OdxßZÙs‹Íe;Xä-}BÉþRëÒĪn물/4&~K>ýûPÝI$}L *ñ ÿ?Y¥îÏ*1ùGòY4w5;çtz<À«1dzþôÖOq×fð¨¯õøI|‡Ý¼:é&Zžµ´Šoið£;”47½É˜»ŽPL©Ó‰ ·xs%¥çK(œ¸j ÜeOŠ®ç`ogÑä6Èñâ»Ûžc}¸[qš7§Øç,!V‚qðžÞîF d$: Œ¡> ?üŸd¡ endstream endobj 206 0 obj << /F6 38 0 R /F3 15 0 R /F16 140 0 R /F15 129 0 R /F17 143 0 R /F10 62 0 R /F4 24 0 R >> endobj 204 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 206 0 R >> endobj 209 0 obj << /Filter[/FlateDecode] /Length 522 >> stream xÚ…’Mo£0†ïû+|4Òâb kOMšl²ê—R.U»BœÆDL³ûïk{œ U·ê<žñÌ3ï ŠH¡ä~?Ѥ¸˜3D))*¶ˆS’¥(d”ä*®ž0ãÁïâ×ÅœŸc(åD È¹§‹Ëûb¶ BsÌHfœâ«ÙÃtµ¼/–w·Ö‘á»9‹\\/'«ËUSühÓ£Yá@¨©AG$œ»Rå^š×I„׃6&ðpPÍ ÜÉ?]­*¥½õ¤ .ë¡Ôªm ø¨ô¼µÒºö¹º^v}„ª’›Ï4‘ðß Ÿlí¼>¾*ëZnà\nµìAšžÉ#RFÒ¨‹édPõæZuËÆ„wm]6zæiŸñsàŒZ§9'9÷ Ÿé6C/É;¹FEYN’ …""uï^[e0Ó8±ó^ʹoû¿¶â/4§QBâÔe™9ÃæñÁÎ-Ç{—ÎÝ•6LÞg1s\UC§œ@ÆX܇넃jì­•ÂõeõpV÷$Æ·-„Ù¦ãºòzjl\QË^ºf¼æ­m ³[kG$Áø7¸<þlpFvq’ýhG”%$a>Ô€§¹À‹Ö¶q €Ý~û列`f_ÍÀ¦šâí€J0yû3]À «þ9¤ffL|½qÿÙ²XS·ÊÊɘ‘»u±9mÛ·7º† endstream endobj 210 0 obj << /F3 15 0 R /F6 38 0 R /F16 140 0 R /F15 129 0 R >> endobj 208 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 210 0 R >> endobj 213 0 obj << /Filter[/FlateDecode] /Length 1112 >> stream xÚVM“£6½çWpÄUc}!Øc&›Ô¤æ¶®Êa+Œå1)(“üúô‡Àö0Iöb¤Vë©ÕýúÉI&²,yIèókòÓîÇ_L¢ŒpE²;&2¥N¶Òh¡“ÝÏ_ÓÇSÕ~Ølµ³©Ùü±û-É’­)EAËŸ¿U—þì¯wGþN¡zñè‹ØÒ %öåR8K›­”ʦ_7Ö|ez ÍÉç…§)EioÂS…RÎîäØld™Vó ø×ÊS?Tg6ø%Jœa”øO诲î¼Fa«ë™Jg"·=÷Ü쟛ž}nâ20Ñ¥ºréksðmÚwš0Í–.¹UN ›cÎ…áÜì§±éZ±ÙæÖâaS–¥û ¸¦>Œ<ý ¯XáIo³²HÇŽ¦àWw6™ùß;äEti° e¹`|}æô¤jy±iÃXµu´RVá;ÎñÂŽV‘leé„S|]C‡}hžÚqÙœ÷‡2‹ày}'[ 5CtÃ:-X1vᇾ;WÄRB»Ì®Z¨«†ì×ÕùÌ£f <¸ø Ök…$«ƒz¾Ïo›B¦âJíÄ(,9¸,¥‡jÑ1>âRò Š+#f­K!Øm©kqZgÆ ={‰¥U!†ª¤´ª¤ r?6ìÒ²Oíº³Eí )CÂþwÏjèY•Ôï'ÒÈÕ¦}á!ñFÚǼs…Õ÷ÿ1ù˜vˆÀDj0µÏ[Oi˱xÐÛ&­}Àà  qÜ…±¸o%¤Ð–·Dþs¢æ4ÌŒÀ;_7VCùšn ¼âdMZ'NÙ†Z¾õq  Íaêûs3›¹³`p¨ÆŠGÁÇ«èCªà‘–Ñû*.Œb]Ú“žt@!Øsio¢E1çûÛ*ÓùU!C ìf\¨M¨óÔŒ£ ÒÑ‘TðA`¡GAï=%Û³ˆ[s©FÒMX;Ý…GKÐñê–¯NuÈïÅmªiì¥Á"Ä–ƒ‡Ç¥Oø: TKÐUZ4ÄõnYæÕsG©ªñ9Á…w7Ô5"^Ž:±#P 5ØÞÂ\ ¡”{wy|D×§¸û<6‘Üïpߨ»K?Q2é”»¬‰ó‹#Œe çZ“œÁnR–¨Mû¾A‹LÈ™/|òsÎt ºÂ{IU^5üY4¹ÃWõF1l¾(ÆL ´ý›bhüSó]ò^äBÊáÈõ"p ‡Å×–¦Q7ÀÀº½4ë†#ݘ_ve…‘·Í¥”óÿmlÔv» ñ q÷Uhj6†Ñ÷álrŠ™9ë¯s`€åÂØmýìÇ~÷¼ZU}á$øÉÌÿ,6-. S=âÔ0"Úöfò;$ÿÝv’3ôcC ¨Y AÃûÉ+Õ=ÚÄÆŒûï‹#‹Bh€+ãh¹ôÃ?«SÚ‚ endstream endobj 214 0 obj << /F4 24 0 R /F3 15 0 R /F2 12 0 R /F5 31 0 R >> endobj 212 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 214 0 R >> endobj 217 0 obj << /Filter[/FlateDecode] /Length 766 >> stream xÚ­V[oÚ0~߯ˆº—„ãÜ‹(]K»NV­l*"LrC£\PœtY§þ÷9¶sÂÚ]^°}|Îw>çœ ¥¥Ä–+éݸwiHšú–4^H¶KR œ8Òøb*'Êlü¡wi×>šc¾#Avþþìv<ú¬¨†nË&PTÇÖäÑýÙÇÛ›Ñ]auäO—üöËÝ™B—«Q(Æ,·fI}­‘Ü6€­3ð^OQ-Ý’ý…›Àç‡xÁ׌ åŽéîo®£”¼ÂRAIÕ `™ ó-޼ ›‹È£ü@ƒ<°:jºZÌ—PsÍ¢š:„©tåW·~Dpñ#Šæ|CðÓ¿:¥H8ùé>Ç*q´IÉPƒJ'ݰϜc,…Gn„’¥×¬PÂwj}œÎ\å'CÒ 4ß:³®°)SAÎ㈤ś÷Di:vr‘§sA_T&ŇªDæVMQ’ Dè 1Ò8ñÛ¤j¥œ]Á¦ã*! ‚Øs‹bt áãEyé*®2Ø×˜1>„Pèþ '19óD]ÈF×2íé¾…/×Í”=TöY@ârü­þ¿ŽD¿µ€qÖ‹8¡ 3„|ZðàãcWáø¢?4`ZÍô,bM#Ö§T Áº( ºô#?A© ’Ð1ˆÃÝnÇ‚ûvÙ·p7•UWfŠ;4÷>æËz6̧ô‡C»²`–Šª{03.2:yá¸Å—Ä¡àJ¼´šßGd>ÿp¨pŒ¦ Ï•YoVð°8í„Yž}MÍò­ñ©S•Q ¼,¨ä®Æ…±oŸ—ïCÞàkáý[T¿›wëñ5¹nÝòPë{h}’â°"B㈷Âé“ Y` (mg$øœÇá&Ký*´AmØË|è4Q<ž`þÿD´]nûU«T=#8Zò-ýn à·É«t,`þ“˜ÿÜfŒÌëdãSeB`|ªŸ ~_ºðQe¶I‹-¯£ë ß$ô,þo¼ùÍ uœ endstream endobj 218 0 obj << /F3 15 0 R /F6 38 0 R /F15 129 0 R >> endobj 216 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 218 0 R >> endobj 221 0 obj << /Filter[/FlateDecode] /Length 914 >> stream xÚVYoÛF~ï¯ ’Q&×\’™­í)T´h„ †¨j%¯ArréÐ òß»o)µû"î13ßÌ7ÇÊp€ãC~Þ¿­/ßÍ Á"0Ö{ÎÀÂ3l‚«¹±¾ÝL|iÏgpòñ×?þZÝ™¶çÎ'7ÞÞ™Ûõï—ï¼V×›ÏÀÜ3©ç-Ľq·–00 °1óÀÌ•¢——¦¸ÁW(=&Xmè^}ËGWäø!cj'¨(ÔrOsµHiFÍ´ÉÎ4AŒÐL:å6ô@àKô·$‹“r§…߬Èn>oº¢%5莤¡¿4mßuœÆ}ö€›[œLnQ¶S‹‚|DÒª †´fcàìÈŠ:޳¬…Ü9pRè‰ ”"’E­Ê±¥Ùz@š£)?}Úl#ó»´ç^ucÝÑò‹Ê…?á„ÜЬ`"æ)]Ái¥q¦ŸoyDõæ^l”ªÝò{ÙGyŽžu&Õd0šãSTt¹ #íÍ42S”$4ŽD2¦‚xº¯/#32—cŽ¥Çç,ÞÿËŒrâþœ™—˜h²=U| ÖC™É3ñ›3~h|eço|àåø?èi««Ót² øºÎ(~0Ψ?‰QÝIAënƽþéN¨-ªöÈ{B«cWFå¾ÅTáòÞçl„Î’\ ¢—äâ"2•ߢñÈ5¯9 ËÇV¡®ÈÎpŽ˜ö8ç}LÓa»âƱ¼í?éªSZ2å8JúB}·aµá?Êt4ñ€c95ûöÈã{efîKÞÞ•ìù[ÐTûÊbÖ  '””¸PF1¡;®ýgZÝÆÙ†Pg£6ß7:œ±qÔòk®ÇΞä«=È SbT¦ nCû5h;üj4¿Es·<é}°2ËqÁr3¼Ø¥|ðä}»Å™0¼žáø¹‚ t{ŠJ€ 8ÑËç5O—O/¶¶*º\©rp]°è"ÕJ1Jâ2ij¿¾²”†ÓW…÷5Tý > Aˆœ.–hGKl­Êj__U³U?-mÕ§zó>EYG¢ËÄ„=ÞþêúZѩӗ%Ï/õw…÷Lé¾ÄsiÕ½3¯ëm¥ ÕaiÁ¶Ë4ø M%Ã+ÊçGEü@Ø·ü÷ä‹ÑE{aN¾gÌ½ŽŸ>|fÈ1ŽÔ`l*VÝŸ8«{\ÿhÈ÷ °è£¿ü †ƒ½ endstream endobj 222 0 obj << /F6 38 0 R /F3 15 0 R /F15 129 0 R >> endobj 220 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 222 0 R >> endobj 225 0 obj << /Filter[/FlateDecode] /Length 946 >> stream xÚµUÛnÛF}ïWé )‹ôR"Å( lGNZ8HPË… QÖäÊZƒ™‰‘ïÞ¸\‘4œí ¹—ÙÙ3gÎÌjÀ@{ÐØï£v¾:½œj¶mÍ]mµÕf¶å¹š9µ­·ž¶ú°Ö`lV¿Ÿ^ÎZÛs­¹§¶ñéìëjù‡aN'3ݱ Ó›Ùúòöìó׫å5]õô/—|÷æúÌ ¿KêQ[®ØÝ¶«ÙÀšÛÊ峩5›0ç§§†éN\Õ0ÙLjO²-ÿW|è,]_áýoiÉ'a ‹‚Ÿp¹k<•9äÃû¬J£‚ašiO-×a—þŠÓ0®"áú;'^Ck÷F5u™)nîŠpâ; Ãt&HÔåÉ]”8Kù¦ø{'€ö,Ì•}Œòât_¾ X0#×ò¦*@É£þ&ØyÇOî«û‡¼=ó_E„r|@‘Êi÷õŽm™8®Šá€ó²‚1GeÄ”ÄhèKšŒ›ýåç4ÁŸc1bF|R-ò±ØÚÃ&Ѱ0Q<÷OwùrÁ9z˜%ûª¶E– E2"‰iÝU˜L!áÔ¬eiQÂ&6†´¯¥sÄwUë@¯×`3®×ö&08j³ ;Ge•§Md?}ïJÜ$\eOÿuŽ2”q¿/<Èॷ§Áw%þJÊ2’üÉÞÏeÁ´=ËöTÀ?úô2ñ(Hƒ–)€ùC(èwPÄ1"«‡5!äy¸àZ–ÆÅO»SOªá¨Iëèöé=ÍäŽN”HÞö«…¢Ìá7ÑjËLd Ìr4ÔÔäÖGRûA#²ÀH`ga@õ7¢-2Û6›Ñ¨àˆ>†ø%´C¾æ†ƒ¸{ÉÍϸàHd“•ì“ñÀU|ú)ЪOVy¤xÜf9уø=…±À''¤À˜÷ÒÏN<’ïIü‹Çö@“¯”¢6µ’“÷(KºÏB^ƒñtóWÒ½J!~Gän}¿^“wèS Œì^=ÄwÜÍÆßV´â©áÞ¶š‰AXʇôã ÝbT«ÌlŸçr†=…-•³ºWîQu„0«XÒ-«¡ï–Gùä üIm˜ŽÇ4ûãzÜV§Ãy7%ÞòûT”8‘@ȹ"Üáò{§Í "x.x“•Gh=`¯ã© TtH]<úÿ iÊcBä1ñ,0çòÈ9yÛ˜pͱµ»µZ†8™Xó¾ú–«_þ¸1 endstream endobj 226 0 obj << /F3 15 0 R /F6 38 0 R /F15 129 0 R >> endobj 224 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 226 0 R >> endobj 229 0 obj << /Filter[/FlateDecode] /Length 929 >> stream xÚ•V]Ú8}﯈º/M ¢yØjWSµÒ UG„•Ü`ÀÓ$Žâ„ Sõ¿×±HÐt_;÷ž{}î9;C~}4þZ^ÝO „ÀÜ5–[MÁÜ1lë™±¼] &ÓžMÑàñÏO_îLÛÏ7ŸoïÌõòŸ«{§ÉufS0s ¨òPùܸ[Ê È5sÔ*1uÀt,C¯®LÛ»Rà( ‰Z°­úÎ9Þm=.oþŽ3’&,Äq¦ö‚s.+BÃFp'úa¾Ñïè·š`ÿ¾êÊPZAmhäM¦=½‹ª·lOê§$æ”Åj‰ãúÁéëY›M ΰ"Y·ÇºpœdÜCÂE4ž8—AFu¡ÓØo’pº ,ÍÁ§ê×PìVkßü!‘Ð  ëöY7,ÿ¦ˆž !7,æÙ¢KI;lXè*ï·â<Õâ©\¨T»Ufr2Xœ¦øÈ5+LS‘±”ôÕÛpáùº›¡oF8 Yà—£–´³mõÐ7}sÑeXv| ¡dý-ÕÄÓ%˜· š1v¥+ özÚÞ²T Úƒ ú¡¬° £‘oª=W&n»C™ñ,2ž?ˆ£-ž›„j;“gšðTÈ—Eç*¥ZÛ+h9ëÿ¢óR-NWt(ê¨è‘úz^{ÅJ|(hàhÁŠ »Óñ“‚Y{Û\¨º(Oúå,Ò½Š€ «}wÀaN”ám·¼uZ˜?Õöx æ}jäy’„Ç‹­MBѸáŠ$D,6ú±ª‚G’•‡“*³ÊZêhÊ?òàêÕkeIO#Ý!Ñ kìiöêzÚT–ùBb\EÚNæ½ ÔúÑy½M•Ø8̓L§­iÕÃ3viKó¦·)!¾b¥¿Ú{jí5Wq„uë1{ÑÃ#¢*;^ºMNؾÓ^,nh…àZ2äºFJ8Iˆ'8¨DÈô ‹õC‚yóÞ¡Š‡(a1ô_pu¯GE+}Æ99|ㇶw‹.«/•xþ-•ªDX Ž¿yX‹¼&OêûäZo(¬¯õPLU„HxÔ/„$%vyú¼ƒÈC|¯ÀSŠË)ôÚGÄ=h•$©nUú‚©#OrÖc!±/RÖžÊGÚ|ñ[$PEÓdö¿x:) |W$! hvVàäžÃÕ\sNã]õ‡HåiÝ“lÏ6M/,ó‰D,=öY^[„¿aÌî;ü§þ÷î-Ñ endstream endobj 230 0 obj << /F6 38 0 R /F3 15 0 R /F15 129 0 R >> endobj 228 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 230 0 R >> endobj 233 0 obj << /Filter[/FlateDecode] /Length 838 >> stream xÚ¥V]o›0}߯@TAˆ ¥yh³´ëÔiÕ’M­B&¹à$Ž#>ZÚªÿ}ã!i»î%ÆøúÜãsÏÅ€€°òáB8›vÎ5AU•¾!LBOULC5U96…é—™¨w¥ùô[ç¼Wƨ¦¡ôMä룯§×ÓñOIÖº=QW$Ùì©âøæôûõÕx’½5Åçlõ×äT¢ÃÅ8CÆÓ<·j*Púj%yOSzݼӑd£kˆÐg#J¡¸ˆM’ûKö„ÄFNB—ͱ£pm”g‚¬jŠ¡çŸ±o»‰S`\á»+(«Ù5ÐÏ#) r°7Ô’Ü;¦N)^¡Í*ò#L|NÕÙ€1dOŠ«„Œz?ˆ£¡ 4¹Ü\ÀzûV¹ †K»Íí ÙS‹¾½ŸÍ-é¹™n#iÂǨ J ~1 Ñ.ö -¿nT•tHrÇkA5?Š)ÆÞPL­š¶ ÖÅVZ0nÝ|¡è|r›MØnY5õ¸šìã´K$Æ$Z›–%yÐu‰meElEø ‘_´$K4í“3Þ‡Uð-FâvÌ[¥%$¤>‚>É6 ðÑ‘%1Ÿw,ß±¦;Ö'”í`]nàê.‘B†ÔËÄÛ61.Œ>mmþÇÛNe”2Íp‹æaÑGlXχéŒþ0hKÔÐüxræ–Á̇‹„š>Ík|#â\i€ošðº ŠhéD¦ÂËæuwŸAÚQ³òûÕÛ}¢œH“hUÔ´fö²´|—M¼ ‰·­M{-²W8~âA´ï ÿðêx0•}z»{€B\úñ¥¿± HK<¤‡kfŽj³ÓU{4¯GY®}MjC×N\Ø`ž—e7£‡á†Óï,ªF$m—$ô÷’Ød מ‹3Nl;ˆß*™NÅï’¸q¹Ð¾ä÷Ê–ô›í‘˜ë›Aü·ÈÆÇEÖk"ç çœþUæ¦G}òÐPl£BFÅ+âlÝŒ¦—8¶1WÕÁ™í=ΘLGWÅã—MÞe*Ðûe›%Aà>¾Þ&¯»&Cx|÷]B¹%Øu˜¬( ˆKSÔDe’ÖÄõšPÂòÍÜÛEn䥸{õé/ªæ·½ endstream endobj 234 0 obj << /F3 15 0 R /F6 38 0 R /F15 129 0 R >> endobj 232 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 234 0 R >> endobj 237 0 obj << /Filter[/FlateDecode] /Length 1243 >> stream xÚVÛrâF}ÏW¨6/†±®…åaãõ¦6åTRe*—åT 1À8’†h/ÞTþ=ÝÓÂ`¯“<ØsëËéîÓŸù¾³tÌòƒóýôüÃÐ –%ÎtáC–EÎ Ø(u¦ïoݘ̤ÃÀ½~÷Ó/W—Þ S÷âç÷—ÞÝôÇóQ§¥C–FŽOz½ÇN³(Æ÷@ëi²·zƒ ÷º–`Á‡(GPD½®xÍ/ºZyƒÄ\…Î ë îW.p]½ât1/tчmœ¹ë–«M]̪GzZŠÔÁ¨Qù,ôŠvJÖÜ`„„ÇG#…â`/G®ÚÌа{ÏK 7þÈÕÒ®è=öS·ånDËçt Aª#X ý…JÙÌ…² ÓÌý¨é¾.þ@A®èh ŽL8{ÍéâSBį@!²ÐF…»—ˆ¢š¨£,8Æ„‚`Y邌ôÉí %­ùýFi“q<hh˜ áÕƒ—DnQm¸Â¨¢Ð®8U7éªka‡*zN”e©á!‹3`ifÞƒSr ÷ïƒF¶5Òzh€+á‚J dU4KL¦y‘G9\ +R‹FÔâ 6ŠÂ…—J4¼hi¿nå²-j^²ŽëÈ[ ¢K˜xïL}· yX™ÔÙ®´8á-½Ë™.D£èÚêX®ÏE&)*سÁwßÙÃêY ‰™%Êé•ev˜°$ÒÎ ¹'*&t#Äõ¡ãø©ãf­ÕœŽw2aÊ|ŠãA 맆:äNÑ.Ë>mË2w=¸}¸½Ë½¿Œ¥ eÁè0Ô¹ÜÌ*.F*]`}1䓜 ö¶ÖOï·÷vjãáæð0ÅÙx¥8w©,Ú¶xT6GÒ&FË–?—¶gño'¹…Ö˽º¨*YæX˜A.v¹—{ãÓ|ø/YÀ¼f†@ܼdæß˜ $Óÿk¢#Æ5Ôï#‘ÁÔöÏ`]È83ñÇâ-š‹³³Ü#K‘€†âšÑ¸û·–ñ}§°+ã’7¼…v¤S ëc¾ Û%·~?ºû½>v•tõ¸=ðCÒg´ÜßM¶·ðLçnÄü¾¿KÂàÄÌ ™¹›,6Ð ÛÜ;#¼> z;ð“å÷á­»`ðÃá‘¶ ^ê}?˜Jr™˜O«.G?AÒÕ„ÊÀàk ¾}̨Æ1møÕï:½OmDýc˜ÐßõâËAîð‚an›}-•3QÁðçê»S’¡Jà'þ °Ðá 4¼´ç×QúÇ¿âíÓÈBÿÓ³MsìáBÖëæ]@¿¾îãëй.c‡£§«íË}ñ­uYTå¦ÚwÚ~>køÂÙŠºèØZèC“—ÓoþOëm: endstream endobj 238 0 obj << /F6 38 0 R /F3 15 0 R /F4 24 0 R /F2 12 0 R /F5 31 0 R /F7 53 0 R /F15 129 0 R >> endobj 236 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 238 0 R >> endobj 241 0 obj << /Filter[/FlateDecode] /Length 554 >> stream xÚm“Ms›0†ïý:ÂdÉcÆõÁuì4™tš)´ãNðAÅrŒ‡¯»é¯Ðʘ8½À ­ž}÷]&½ õºCŸÂÁj„(ž‹ÂSì¹ÈQ<ñPxûl8޹ «ñ%‡z.ö=DÔþâóü)\~3íÑpl8Ø´½15–ëù—§ÇeÐ~õŒ¯+ØýÌMùº[‘ºˆìÓiSw‚=_–õ[ðqö˜”÷¹À?XÚðÈØ&™•—¢¶NÖú– f™¶;tŒ°‹]CXy-"sÚ–TÓ ²‡&¾‚YV¼d‡ÅV Úb¯÷v¬e\ì‹-ÄMä/ÖIV¦Iœ°TÃ’Z°<æJ€®OGØuTýzºÏw ¾[‚`¹`@.ä¯Ê"e¹€|ù ޼ÉvÇÂAVb/×u¼OÄŸ@Jÿ¢\ª'xxíQÆÑ³=€‹6»7€®/¤ ×yŸ êȦêèÍÌlJ¿›QÝ”eú»›,ôËXŸÿ¯iºŒ¢VM,"C±‡c©òÌŽÏ›WãNz†_<Зg[4¿Rí-yé3%%Û%ºâ5¯^5¯.Y̯îÓESÞÝ-éå =+ËÊ"çÒ›÷JDdfdzø(OL77‘ r¤”ÃfV±|[d‘1ÂÄ"ªé–ØùYdZ äA|zïáqvq±÷ó¨FöldiܤLð+_ÛSú¤Øqû.þUß—á‡â­Cl endstream endobj 242 0 obj << /F3 15 0 R /F6 38 0 R /F15 129 0 R >> endobj 240 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 242 0 R >> endobj 245 0 obj << /Filter[/FlateDecode] /Length 962 >> stream xÚV[£6~ï¯@Û—€Ç!™(ËC;—j«YíJAÕŽB*y‰3ã)`„!“lµÿ½Æ`Ѷ}™`s.ßùÎùcA¡õdɟ߬_ëû¹…XúV¸·Ð,=Ëõ¸^Xáíf4ØîbŽFë_>~~¸³]oºÝ|º½³·áïW÷^ëë-æ`áYPùùõ{ë.”o!–¨“bîùTš^]Ù®?õGäˆÓêLã/·¢&sxìÂú â¸¼³7À‹ŸtGK¦¹)YA†˜¬àDÚ8²Sœ$,ŽêÞŒë>°½yÙ‘½êS.á_ŠP·áGaˆÇKaþM…$ü¿!ÚÑè+F6UÜ @^«7²}×P°íY!-€+ú¾F³¢“Id+7=WÌüntéñ"<^Þ &W/­ƒéü“PlKÝßBȇ¥ç*¡Z[èxÛ?ÓáT²…:y”õDý¼lƒãFüQ¡£‘  on'̬má†nƒ}%Tu¬ ßàå,ÕX…A\6º?à¤"\õëÅØö]]O§`94üfs]šõÖO…kZÖÒSœyüLËokšærdº=ŽÒ¤£+ÇH»)ÿ"¤*ϓӠÁ +Ÿ"5¶ZòÓ«H¦ ¬ª¬I)­ZØŠï/ØpP)mY“uººΖƒ%5Œé=©ýûêÐ9dÈ¢ŠËhd¢ ›—gtÑŽûR*‰T‘͈©»ÇίïB}gR¦ød¨~Õ½ ;]!µPo¿:Ü9¢ ‚[I—›ª ÂIq0Ïql¦žéO Öõ&óöC9A†”4g=¹°F—‚€2¤T±/Àî²8ö{÷èîýQKS Øõã$®’f5ÜIA¿ùlµ¶ùl%¢Å.é$'=ýyAܺúª‘'8þË/(®»p&A<€NM’B«¨ÒÍ&BNÉÙÀb÷Âe( ËD4@Òšf‹ÿÄÓrîÅü~$)+NZ:o4©§–ÿ@9ýÿ¾ë7ú;b÷ endstream endobj 246 0 obj << /F6 38 0 R /F3 15 0 R /F15 129 0 R >> endobj 244 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 246 0 R >> endobj 249 0 obj << /Filter[/FlateDecode] /Length 2207 >> stream xÚ•Xݓ۶ï_¡éK¨‰“ø ˆ¤ePÅ;‡@€c*Á7ˆ¶¢ó¾‡?zàU‰†~Á[o ¢öE̾üàkLu&Xœ8"±¶>”íˆ3ØR…'Ê•„8°ôÙõœâ$€M‚KÀvªÿ²xô°ÄŽ®<¢d8m‹ŸÏÐÝjìÔµŠž[{¢vÛ#‡€èù@s „î åhJÉvR'…£Aœw¦$sLþ€l9Íú-oéCí* ¼2ÁˆU Þ‰í¨=òxŸ½üá7õÁÇV endstream endobj 250 0 obj << /F3 15 0 R /F6 38 0 R /F4 24 0 R /F2 12 0 R /F9 59 0 R /F5 31 0 R /F10 62 0 R >> endobj 248 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 250 0 R >> endobj 253 0 obj << /Filter[/FlateDecode] /Length 2147 >> stream xÚ…XMÛ6¾¿¿ÂGÈ2"õ}h6mÚ}ÑA×MÝd™»¢C”“l~}狲,9èIÔˆgž™y¨M¨Âpó¼¡Ç/›w¯ß¦­U‘lvOª"ÚÜEZåÙf÷ÓßA¬bµ½ËRìîß?lÿÙýÿõÛè2?ÊR•E›çfü=ÞèLßïdj̯q{§µI‚]}r¸bóóŽìˆVv¡*4­º·w& ƒÚñ³äGÕ·mßáX§¡ß7¶åŸ¶ãÑx´<8;;ð̺«úa°Õؼð'gG·˜ýWmMëñ+ˆÒ6ëÜXv(Éîps§á81YøÔƒö¨È`{}´ô’§rëêÜ”ò±*‡¦qìp+”}Ú&QP6gËî37˜Ð¨Ô»,zƒ|§ÃU2£b™Vw¬udõy`¿”í©±ŽÅµc)š‹g€Ã&*Œø$!öÌuåÇ­ÉyëŸø)úDØsÀ™bó™P.ΆQ‹þ:;Œ_™›Ô2£ÇŸ;ž09ýCC‘¬+´âÈ“ö„ lwXÇ¡axèì08”c‰£,(a>‰&˜tdá>« 7±Ag€æBéœTs´Rˆ`S:·ŠT r‰ÀDê¾WAŠ3´“ç|®›õåAYUö4²î’E {dk x¹`^SŠÎ½U ¸’¡3¸¾âXCÖ¡ 3íϸu2l"LBŒª^Fî,¼;A$öèëEÃâ’vRîíÀÑê›r´I y?mÑ–hÝ +?Úæ$ûõütmÏ«Çã:Öl”½QZ¼G&Éš‘œ3z:$ˆ]ßZ¨©íà·3‹#`2籦z"PÁÌœº{–ub†ÛXˆR”|ôµÅ×ëÁy´v<²ôàXâŽý¹9ðxÏûó ¤Žˆ¡`‘P²e몡>5æ "øœf0piX^'§½¯Û™` ´„b– æ›™ U¢}&ìÞ@" þ7Ê{¨¯Ô2 Ð…}cÀ ¿aRdôÂŽÆ*ÁùKù`|Ñ3Ë|`ð§™ ¯À?e,DlF -›ç~¨Ç#Š8!5Žƒ§²nXLxƒÙûs1#‘×PsêÙ¡+^'H…InÎÕx¸Ê%á2"ñ~*Y‰Í‹ø¾oOçÑ.ÊݼJ@ƒ]x%½˜„êRÌJÜ xš¨L_nRã‹:Œ¨ §°×áSM°D!š‹Bö»­°~}”O^ÅÌB¤,\÷¼TyPüVºñçaè‡Çàq»nz¡Ê ™ÙBE‡“îé\le<»Š‚âÍDÅzîßòIJD Å®i0)—Ö¤±JRÙƒº/Æí¦5€®4‘™¦H¿÷ÝW;ô¼ƒÅsÈf’ñ–_ú0ª»C]1â±´H¹à7ßà%º 4¼²áh‘Aâµìåúeƒx\7!3jOåXïI¤ÏW(ËÆ7……Jر÷¼Ð7ÌÃ^ ÌËw½b[Å‚m‘„º¬:w;á Ä’Ë>ŒPùÉBqð(sžD%æºH:  ÷Ó@‘†¾e ÃDœÁ8:»[pÑIª’b )¥³á¹nÂFëóŒWÀqL¥{X+"¢¿¡÷áÔÔ·1©c¡ñÊéì±ÉTž^±¦ÛÅ*úÖvo>ÜÞËDúרH"¥—j‚4`ÕA¶h‡XY¹ðUÔ¹QÀ¡*1¯!g_Xh¿xVèêO š{–ûúm2»³DÀÃ|Nÿ¾½Kò8ø~u PFù<—’0NJdÙªPåtâ»)—Fx^JcÁ}ŸÖuK ~µz8wù€¤u+â^81ÓZ/=ú–‹sã¯X;dä=C·ß%r; tgŽ'£A´¦k, @HEÉ¥Fûsñ²Q6AV¿ªãòt™ =ÔÙ HJÝPLUL 5wÇký ÞCô–Rþ À4òtjŒáU ºïýtgò×#!¿E~¹G-+h‘-jJ¤–ÙD‡¹0ãY²çÀ·Í† ªÑ(y jeú?7\‘2Ϻñ ;¿ѧþúº ô•#éj߯’À@»šö˺™]zÒÁ»ÿÀ(Õ¾¯ÊÙs#¹NF*Ïç'=–[blÌd£ ZY9<Ó0 ž‡òP[ö ã¯t'ƒOBÖa$GöB”)÷7:œØ–äô¹ºlRGwÂÌ·/˜¤Kv 6”qûX‘¯CßBâP'‚?©ÚC¯…ÞÕY<ò9mÐW? "H<@r¡‘ `b÷øRwå yÞP ã•+|óœ]óu„è­B§…b¦þÖB/’e‡D¢H¦Æñ(2¨›@FEv¤¾­Â@ˆ+.ö³˜¥èNA"Þð^!T >:¯ –Ñ5F–í÷|r!ž{üæxý²§AÒÂ:ö?Ê'bN¿Âà‡Žå½Ü}HIϲÁ¶D<ø ²\ÛËÓ¤«Ã¨¢»× —HÑ¿ ¢ ¨g¿–å)K/MæÁŽ?Á7+Sµ.YW&µþ•¦#bä€G¼5ñ¯´D~¥½ßÝ´´»¶ì*I³9¼i0¹î?~»%€ pöÛÃ@Œ%QBŠ7&Bj"¨PMsr >u2ß/ô7—‹m(¥ŸI2mÝ9€ÅÆÓ_¯=dÖúÇc¡Rÿ¿¥©÷C9¼ˆâNS–㈢˸+`ùððÇâ()‚w¶ÄhgÅsç#Ð/ÎB ˆ®/QLÿnàA½•®ã# HC?|tÌYD-³jøüž6àŠUŸÛuš¸Ç+cÌ“. 6 ­Ì/¿~¥s¸$ цg¼û‘„xÿã‡wŠ%rÓ-|dñ«¿8ùrùPvÏV0ó¿H¹ÞÒ endstream endobj 254 0 obj << /F6 38 0 R /F3 15 0 R /F4 24 0 R /F2 12 0 R /F5 31 0 R >> endobj 252 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 254 0 R >> endobj 257 0 obj << /Filter[/FlateDecode] /Length 1970 >> stream xÚ­XKÛ6¾÷Wø(1#RÔ+E ¤éæQ$iѸh¤ÚæZlõpE)›ä×w†CZòÊ]äЋEÉápøÍ7C¯bÇ«ãÊ}^¬~Ø>~ž¬8geºÚÞ®2ÎòtµI8+òÕöÇ÷‘,Önzü<›æðõ´h¯­5íñœ/“Ñn„¥Iš“QØÀý’Ù~I ›ÆA Øvg±›EÊ’_ÒÉ/"™(¼§^¸­d"\Çh±X²4õ£oKyÌ2Ö®Áe)X² vß*;\=:.Y.æ.iôP‘G°,çÁyx²<žZYj0ûœy­Xë`¿Oœ:ŒàÉ@ ¢jOxtÂyÆ’s…ëÂ~Ü/3BZ°<Ì ®Ï¢ƒÑQãý›sú=§cܲĴ¢ .èArç²JΔ„U2¿ ¤ÁÝàÉ8jH²™÷ =÷^NÞéí ó<9Ãø ÞDý‹ˆ<KÀþ~Î·ë ‡mžà'£O>ß.£#c" 9Å2jNJ x€‰;àÅ=‰‡0îÂÇKkäŒ6Þ^ÉÀyÎ qIí=P1b×,=X@17\y•GŸN1Žp8ã7?PÓ1/L€à úLÓêî¨T»3È¿x¡¦­ª?ãJÞ…ˆeYéF_!”D  ¶šZJðUôqîê© ™ÞK­ül?JS7-”¦À4jÊ;_ Í~'ô~dz ò Wr-¾)K/n*¦ÝÕª+aq:ÑTj)YÊcq¯pr"ý ß‹È<Ô½ŸŠy‡ÛÀÿOØÐÎs·ÏÀBH˜‡'OÎÄpö\ ;•_¹½$)XÌÝèïÈè³4&/SÅ„ÝÚüÜ=çêæ6§ Hý‹¦.¹*bÀê”ÙqÈÂñ„®ã0‘†œ _J£Ä4>úÁמð—ö{e™ƒYm×ú–‹4´ò‚éiNý^×Fû6½ŠcGåð™Q9MUíñ¿Ô¢áèé<`ÞYÖCTS–PëZ;ºËØ; [ø¸ Ú0Í©>çPpR³‰|:Ü#,³ÈŽ{dŠŠ¦+K³>ˆ4oÍpýß„½¡ÇŸŒzdAU‰ÕzGÕ¸ëûñEÊÄµê ‹Ò,C uc–”†¨ÅE°”û+Ô{Ævè= &¦ªS­rOIáß—‰»:‰Š<}v±»:¼™ÍœH½¯ä`ä)ƒ,íTÜCüþy¿Ôƒ: ?Pꬔ³Rá"zOy<Ï„ø”/8…äW Ò ù²pÊòkΰ8¦Ï‡KÕlf¿÷ªƒ®ë7ì)!TÎ. vQ¯…¥v¸)óèÝ\BÆEØR€ßLïêLxëd÷¸ye†/$ro$Ïðz¹« MÂ"j™Í÷%™ßæð×èræzðHí`>wù™J¿ùgð`ì endstream endobj 258 0 obj << /F3 15 0 R /F6 38 0 R /F5 31 0 R /F2 12 0 R /F8 56 0 R /F10 62 0 R >> endobj 256 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 258 0 R >> endobj 261 0 obj << /Filter[/FlateDecode] /Length 2670 >> stream xÚµšKsã¸F÷ùZRU1†x —={&©îé©W6Qj[¶U¥‡#Ééé?\\ðZ‹T6m7 ’ç@æ¢m»x^Œ?~^üxÿÃ]H)†nqÿ´V zq£¥èÝâþoÿjŒèÄòÆYÙüvûån©lóù˧¿þt»¼Ñªk>ßùŸ®¹ÿe<`›þüåï÷¿|ú}ùïûüp§3[;+œ^´;øó‹Û{¸³ø¶0V˜~q3!ûÅÊv¢—ñÿ»Åïe1Ù:1((—«i\ÌÂm£Rá¿´”FX…ŠÅ¹ ·#AO+9êQ­è_E‹ÞŽòzÚ¼žŽËÕ7›óy{x.L­°_e:€¯²PJz oþ»ìºf½{[_¶ÇC U ÒJJh¯èÝnþxÝm¶Këw/H—@‘è¹Hà ŒË‘Lõ¦[é”0þñ¤ƒ:þFË«MEF‘ß„mK¿Ó1ÏH!GN× '1ç²ÝoVÍyµd’K¼2ÊÈ@}GyA𪠽@ºÜ†Ô Ú~êçét›O;Ñ™éìJ=Àm~™ Èv:-¡ÚàâY¹Ðc— ʸTÄúF3xãûèM,™–¥¦8IÑÐQ쀥̩0B™ÿÑ„|_ÅÿÑDê Ñé1uÑh%ê!¡b5jÅbEŸ˜¶b9ÒîÓ¸ÕáqK 7Öiããüt<œ/§·‡Ëªa~ºBÙâð°ÎÐÂX²Yñ&I+JãÕ(»ÞNƒÖŠÏ ‚I(³¨¢`8P4½, Ê9ûR€±Íy ƈ~ïZÍn‘˜cNÀEoE¯  w-3¾En %m'´,Xð®×Lĉ…2Ï,ÕI¡:Â’-“ndá¸3Køk(K+&ÐÈÂ9™¹œ,¼ãPL¡^Õ§¦REQ½ôï³Ùõ˜¤žs?HT}fAõžQQeÔH µu¸P‹µõ*ë±Xw0;ìC§yÇz•1Pë™%…ë UÄ@­gXïëUÆ@¬g’š±Ae µõ~ð/¬=I¡Ò‹)ï}':fâïx$Ÿa0rÍ=±Ê$¨ùÌj…RŒùÈ"QБ&³¤-#?²H•}³hiýP‘ÚOÅŠ0ˆýaœúëyû‰Dâ ö3 nœiö™UÆAígØïæí'‰ƒÚÏ,e…œ·ŸX$ŽÚ>¬LmŸíO+û±XÆtgp‰Á{•Êë›…}GD‘<ˆ~Lƒe£?±Ê<ˆ~Äý£?²HD?bÁ…ÓY$Z?LÉ”FúCÅJ,V¤AôûÖ6ô;c~B‘<¨~D“‚™ådV™ÕŸYPŸ™å$É#ê7%H¶FF~$‘4jùFðŠä‡Š•üX¬È‚È׃_üŽƒÅ;B‘4¨üLs –‘ŸXeT~fÁ²B3ò#‹¤QÈÏ ÕÂô…‘I$Z~ç`–Šä‡Š•üX¬È"ÊoýbÊÀÄ+ìÃHõÞÀY$Ž´1Œ{E]\1ú¬ÌƒêÏ0(ÆÌx‹äQèÏ #và‰$’Ǭþ®(Ôa¢¥Ð‚Í—sxÿɯєuBåõ>]¢%FÎ4#¦%ZFð+´ÄÁ‰fRê> “LÇÄ—P(ÏŒJñ!”cfM …ą̃ôâ@(Ý3ñENÅÍ¥Ò~ORªzO,VäPNš Ç×][ %É‚ªÏ0å÷‰U†AÝ£Š{mDI£\- ”¦ãiRI$ŒÚýÐ {D¨X¹ÅŠ(ˆûÁÀ|äÚ2-‘HÔ}† ®Ý'VuŸYRfyœX$ â>£;lE £r¯ý_=úPª¥Š Jóºu¢7×jD’ / Ä’°ÌR!±Ê$ˆx̳Rˆ(p0Êpkäˆ"IÔâUç¡û2ˆJ|,…s âÕøóÊ-Ê$¨øÌÒ°$eš|fIPñ™%A*#>¢Ê$¨øŒRN0C}B•IÔâ5̵P“ŸêUæc±"ˆr’ªµñ…¼¶@K(n ¢åÜ'V•îLôŽ‘Y$ j?³:v}œX$ŽZ?Ìp:´;1U¬ôÇbED¿éýtõÚ-¡H´ígš„Á²eü'XõŸa0áåd‘@ð,ßÌR¹¶I$ŽYû®(Ôíøs+†ÌRµU„)˜™›¦&HÎ43¦i*bðóÔ™Õbµìþ^f¡H‡j‹±”Ð\Š,éPmq÷e˜Uvbáh†¹hzÿgM¨Xõ X¬È‚È÷=)¬:^~‘4¨üÌrÕžPrXeT~fÁÍ3ûK‰EÒ ò3K‰–“Y$Zþ á½ˆä‡Š•üX¬È‚¼¸ý¢¼¶NH$µ`=·Äά2j?³@g?²Hå\¡4·Ã‘H$ŒÊ½ù—D;SEê>+¢(Ý›Vû½ó+ë„D"a÷f:nk/³Ê0ˆ{Är0fÌ»O,Fé¡zîµH$ŒÚ½ÿN­Ñ¦Š•ûX¬ˆ‚¸÷»‡× D² /íÌ’²åÞÙ™UfAÕ'ÖÀþ)-¡HdÌA·ÅΘŠdQ«‡ù—B[SÅJ},V$AÔëÖïš_Y+$ ƒºÏ0ížÙ›È°2 *?ÃdµE˜dG‰ƒÚÏ,Íþ9-±H³úMQ0¨ ÂTM¢/g%™2S˰xïæ¦L ’Cµôã Äà§L „SµÕbÁifg<³P¨¶ÚãÀ÷Õ f)±p¨¶úø±ê/R‘…£±sÑXXP¡dB½ªM¥Š$ˆúÎ «¯L˜"‡DA»BÁ³2³ÕÄ*£ æ3K[Á]Š$A^™¤è4Yž@$†Ú:œWh©êUÖc)¶œô_×^™)%P™ÕŽXfà–Ù™Uä@µg–qlƒ¨2¢=“:ng)Êfµ›¢\8? ÓÕWÔfp¢W¿_ö²YÝm–ð3ôßT·mó›ÿ zsz:žöëÃÃtòøävÍåe:°Þ=OÛËËþN<Žûð¹¢Ê×TÆodO_3~Ü~ý¸}­¾À6ãGÆ¡Èz‚­Ã5žÞãGÀãA| ^Ú¸Ï>RòȯX*×¼íý¿_—7ãc,aY=ŒuýÏÇõeíë›×ñëèãv¬r9‡ƒëÃãTn»ßÎpipÒµ²¹ÍŸ(ÃYÿ‰²ÎŸ(Ã1ל6O›Ó9œ¿#å´y¸ì¾·Û† 覆ñ›lèM¶¹ýXùƒÕÒÿß5ÛCøùpÜ¿¾]Æ+œÿ ‡œk¾½Ï›|v·ùînÿ{ =ŸŽ>ºoçðßÝö°YŸvßC…oUpßá¯ßŸ¶ùËå²É´¾o…³"8×=¼ýü(w¾O^çhf´þ½ºŒõCüÂø±º’ÍŸóªÁ††¦†¶™*ðǧ‡óph·>=oΗê‚RKÿÇ;öÙÆwN8»=Oô—ÍÓá—Ýöëi 3žñíÓ};oÃoðf¿|úqj”­ûY4¶=x„/>‰©·ÿåOk£q£ endstream endobj 262 0 obj << /F6 38 0 R /F3 15 0 R /F16 140 0 R /F17 143 0 R /F10 62 0 R /F11 65 0 R /F7 53 0 R /F15 129 0 R /F2 12 0 R /F5 31 0 R >> endobj 260 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 262 0 R >> endobj 265 0 obj << /Filter[/FlateDecode] /Length 122 >> stream xÚEŒ1Â0{^±¥]øâÃØ—”ì ""‡„„h“ÿÿ ª‘vF OÞcÆŠ{mj3u:!1I„ L­@/½}빩éß°Dê~õ‡S´Ü­ Ûdvd$6噯åŒË*æVö1fûE_–GÝ|"û— endstream endobj 266 0 obj << /F3 15 0 R /F6 38 0 R >> endobj 264 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 266 0 R >> endobj 269 0 obj << /Filter[/FlateDecode] /Length 706 >> stream xÚ}TÁrÛ ½÷+tÄ31‘@ëÖ¤m2íäÏäÐö€%l1‘%PÒü}ÅžqÛ°¼Ý}¼Ý%Ëižg‡,.÷Ùíöú®ÌXIå&Ûî³¢¢5ÏÖEÉ)϶Ÿ¿“Oš¼¶«5—‚ˆÕÏí·,ÏÖeM7ñú©ÓVã¥q=h›N÷Stø²ixV´giX))Ç@Û°B7îýŠUäuÅ$Q6Z+Ò›Uö-„»¾cgò’2”BŒ³{0bÎ’ñšŠ"AÔÐbãnšñ8ÁnCÆA!§wWpæõ’\’Ö8oÍnö::oÈ.|Cf÷ôV÷F=Óü_⛣„² +-˘ûæ<êœ|}¼ÂÍ«ñî†1YBe­B&+ õ¶Ú$:TDÿžzÓàцµ æVÝFŒ$ãoÚ6!Z—b©éMŠxæž“LH?hçð¸{ªò‰º •dRÖ›fîUì‡ ™f´ƒ¤NÓÕZ€ûI¹È]_Mß''‹vÓj¼êÍÑDií×Èz0Šqó”*d=zü“#H…PmÍ™…°U k•#ªU±„Oj-xR’ÍiP”×å{µR÷ºñvv?êÖ(xz•é„@åzî‚¶û CÅC›5V{3ÁOrrTK抡lÕ"Tûbš¸/qö „ÕèUÉí³ÓÖáÕ8$h—ÒAÀE+48A÷s–(‹ÿÍY™Ã§p6fèÆ1ãì}Ìd³ ÆŒž>‡¬d!øšó’æøñÜĶ g%ù5CAµÃª5º j&k¼PK š×IŠC¯w[­žÍ@u;S5_W9•Ë…ª0*$Ð5å2šE‘Ôúð¶Õ„z endstream endobj 270 0 obj << /F4 24 0 R /F3 15 0 R /F2 12 0 R >> endobj 268 0 obj << /ProcSet[/PDF/Text/ImageC] /Font 270 0 R >> endobj 8 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-58 -250 939 758] /FontName/CCFUFA+CMSS17 /ItalicAngle 0 /StemV 76 /FontFile 7 0 R /Flags 4 >> endobj 7 0 obj << /Filter[/FlateDecode] /Length1 1140 /Length2 3861 /Length3 533 /Length 4600 >> stream xÚí“i<”}ÛÇí2Ö,I…Ó¾3Ö±dûÑ¢hÆ †1ÃÙ÷½T–]ˆ¸"{v²Köìe !R$‘º§®ûºò\÷óæù<ïžÏsΛó{Çyü~ÿ㌟¹¥”& DëâqD)ˆ4D€›XZBˆ´ HHN@#ˆܽ•ÿü²}z£˜½à¹n#ųìzíõ6ˆ¬!ÿ&V#8ëŠô›H5A8ˆ+; ®ê⟆µZ¸úœs®ÁU±`ÏðÌèØ‰Nœ¢²ì;˜á?z”Ã)P§>Ü|Q¿&¾R«p¥™‚¨¹æáápœÉƒ0'¶;Yô$Λ(¿½(£1I.Ôb"vebòî'«ø^&Ö/áåV°œs÷eÈCÃxÄžM÷Ô?3œîO:ˆÝöcYÒµ/‹zæÃœ€Gÿ€ê<›¶uÂ0þ`ô˜`|)uﻥßíʸàCÜ›)¢qÉññf’ÒÖ]XøM9¨2\¬[×¥ö­\x6/ç>šZJ©µÄzAJFZ©Ž{Öš·Š[³;j›ïc´IY·µ^|°mן@ÅÜùÁ!*=C`I79#5Ô_e¨óÒËbó6+2ºÂSoš ‡(+à:vôT}™÷÷ö‘äyfÛL¬©wÖªÛ^˜÷AÏ›SÿxËFKQ Q Ÿ;øLVk`™žúB¡7-ŸÜ±§TÆÀÄ$ûYá!÷µ2ìš6ØŸ¬<ý1Žûñ¦uSö;þgÆÓŽø{ÛíUÅj{U{…ê>é¥5t‚Wl;]ˆ{ÜjÖÏ+É»är£-j&âý8ô‰ÖÑž—‹Æ?݉\ NàÜCTÛÁò¹™ÔÄ$óØÄ1 ·¸«¡fôÐifj|ÇJÄ>-xÝîœ+ûg¡²7ÚÁq¼PƒŒ!yÒ¤äpG-+O[竜ëù¼OT§‚ê.câ=+ЂtÆ È¥3(½ùq£î߃hé¦úZ; ¦‹”=YpEÉjfQV§ÃÇmôe'ü(#ÏŠÃft:„è&3©ë6COÍÓ¥–&ó/w)ú}J _â#ØÈ¯÷ô€Ž†ÞϘ ÊmzWy¸õàL¢¼n³ŽèÄ¥^Õ¢}p˜ffíôôD¡FWâý×‰Ìøâ´³]º‹B›º[{³^:q¢µÝÿa4#¼Þºf6›í¦˜ÂgûpÄ®ã7¨sb”t}Ž\Ö·º#GÍ$æÎ goôÈ}[9'ÁCYœŒI¹EáhNÚ3PÓs¶ÁÜiÚï2e¦÷š>-uii>g±±U¬úÐO8rûRDý+^ðZf—ä~¦ê¬#ÁK˜2F¿ï0ÿOpú!Öz›Tç%¶–0!×\ßœ=“*.§þ-¾7‚fâ Ùöa‰üa½*†WwýMS`äg»/éy“6‰#q'îù,Bæ"ZÊ~Gv…S)²±îæßüÌ,ÀñÎ÷ãçûÅÉuûØÍ°æwœm>m-Ž<=ýÑc®ÃºÄ…RŽž,?zQb–2ôj©[ý4åûÂm|y ‘¢îˆRéß—ºJxD®.&V“þ°žúZüþµa¢¿YAY<˜lZ!]ÙvþR‹WJ‰·âWN—¦h`ÒÌ xpB[äC@_kº~µg3ZS¿Ñ3IØ%–;Xu÷¹Ú3‘2† ²vaÛ„V«ù«^‡sE;ÉÝC´µ=…ÒVp×Ù&ŒèßÖKlâ©> 6¿—œiIXœwdáÖN؈Ùw{¦§•ûz7x'4³Ç*¿ÚŠ–Ëð̧–¥³Ï^|%p±áqàš¼äœÿ³×Ôlâ“'hVƒYƒY×ïâ7 »°ÆÅ6Û§^꤈®“LK½ÆÎt/EÞÄø² –_ÕuMXa‹÷@¦·Â_X=ô3¼Ç;ÚHåR—Lß)4mëÈݬ„Ծæ{ŒQ„ôi^‰QôÊLr¯±S›Ü1þƒ‚}‹-)ËÐ÷·¡ ®.ôÊwt®¯4ÕnÖ§À…té¾HxÈ‘-2“·¸ñ/‘Ñ8fCVï2$NVÉËC@ÉÈÜÛ¡­xc"µb/Í[ašÝî//Ž@*++o¢T( ,os-~Ñ…l(ž)u̵¹ê’¶ÒQú㔆v¶˜áò©ÎÄ;ý­P Ô—õ õ!¬ýû"ë{ƒD±ÃÕå˜&ÐÕ%—ÞÜ*Ô¹s Èb«c.ä>U;æÈ½dÛhHg5_×RÄ­*ko™ñU*g»~+Âû®Èå53îÏ«ÌñiŒæï­|¯¿*–Í,´ÐׯùåÍv6½ûÊg£/®&ð¢ôÞb‘Å*Y¬œƒ™Ê2½X·ºRòNák‡Ñξ ÆQ{ýy»Žñ½·+{õâDÃmN-þ§ëUWJ) Ü‰i¹µ¥¥Gô‚:¦²ú3S¬Ia4Û 5ßâøæwõý¸æ·œ#ÒÛ#YfÂ:¦[D¢i sX_k›ïø +×èuä-\³ ¯&½}¹Óü­¶ß»<£˜M§^úV¥Ä¸k¥ïŸÒú§=? m ðã¤;s¦áÄ…º|•ÅpúÁÜK‰ÑMèšm!`¤ïéœjwáí!ï¹÷‹s奅љð/yÙ­‹·Q¼^È;%ÅÙS=sÇQWØ-ö柔·Ž8÷2j±mŸÒ£îT™VŠå›z‰ ÞЄqõí}§¦î¸[wÒÙŸ¼ñmÁ•wAùú[nÖ×Ù1¼Hk­­Ó½ †1õg¬d©ôõÚt 6êûcQÃÏzÖ2ÜÓbé°\A ³{HõõY¨|ùýžÂéÝOºJlyKvÂcÎÛˆ¤ª£ü–ü± ¬J¨–oQÛü["™«Ré»úºúÌ{!ô›Km )„åÃ̪oÑñeÏ[ëš{ù±äÏà(?h¹spÙ~y¨,Í¥‘¯Ü‰ü¾³ªõã82}.µéÍÊ!¸_q‰=ù¢ßw¡S®ðaà==帱,Ë+·Œ««Ñ2 ˜£³šÖ^ˆÙkÎá;§ÝûÄ›à)W.êaøùâRó¸.Vm¯Fh‡¹œ\6}=·›i•Á… ÒŽ>8¾*?C¶ÇÎÇ3HI¥&Wè38û1\¤{‰É8±«•ÃFS¥¨Š¦}Iþxn´Y`}{Eh€nC´w½¶+s«J£¸… ͧöv&XåCrƒGRÉŸìDPæãsÃáÀåé¥L裯MM¦%õÑO»í†fÕ½i•,ŠúÃÄù_žÕ ÕkdÏWøÍãÞÖ<¼­É¸pêæÑ:Ûô“ªÂi# ܶ{ŽÕv<¨1¾×/Éó˜r}.£ª³Ÿù»S·ì°5Dù^ŠÎ‘Ûk£‘i±¾ã/rµóRpJ›\û ¢Ùgøãê›ôÇr¯Ò· ËThÑ•ðß—Pn@œXn…o1×JPúP2 »½¸<,sã›û“øEM Ñ *à«’ŠjøWzž‹›Ox0zÜnCÂ7^ ž)ÍkØøjVÛ|?©pðf×ÈfÎîÙ}ÕSï¥R \ÇpQ™ðCkÎÚ´ÆäËTGŠÄMŽ„æê£ä[ê…kVw5ëæÊYê”—eïSNž7ƒt;Ä!Ü@’ ½oTG!çkôMQ¼›ÇЙÙ®Îm4Ô𴜪Ñl€“ëT¶?zùé5Fó¦pÕ3„r¥öhx{ÀÚñ†wá?’½[Ƕ@¹Õ_|«`¢7ŒGVÔ¤{uvëÍžfº™™ÝÕyBÅÞ~ ÿNîAxƒœ]]ÃAPÍÍÅf{׿ ”Bl*Qö"؉˖ïÄý5[Í ³«Æ‚oO®Ì5¸ENSÖˆ/0¾+Â½Š ½TûG>#¼ ÙçÁÍôˆ[LÛ‹:ÇyH.ž1ãCRØÔ»ñ’ƒ)m”9¾Zí|»]t †»¿´ðñ{ÖÀ”O:|Ìÿ©çXšsmÃ'¬þNÈFKÍÍNUXV%W•äª·Š¢%Èñ™—M|* I þúc«.`|T5ØQ{í£ðöÅÓ|Ï‹òóq"Ÿ¼n/|”ëzý:§gsVÕ†œ¸³¸*ÜOG§i8 ø¶|”Sç4Ùšmo$¶l. Ï.83‡Ìº2š…‰¬(µ0Üg’¼t ʰ½òÎñ^®íto$fÆÍÚ7#r ÷ïåKËÈÆº&â)Žô\–T¶»®#¾ÔGc Âç rƒ»1}¯_õä6±¾É6(e”|06»0kª£s9¦¢9pø"’O¯~PÂZ|B®4ùœˆ›í5d $óvø†kÄãíƒ?:ÀVé^æ‰Ïí¸'ÙÐcºï_½«2<§Â˜ðfÕ¢÷¬,„Næù€þ¿Áÿ‰öX4‚@Ä»". пyH2 endstream endobj 11 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-1 -234 524 695] /FontName/UFZDJH+CMTT12 /ItalicAngle 0 /StemV 65 /FontFile 10 0 R /Flags 4 >> endobj 10 0 obj << /Filter[/FlateDecode] /Length1 1613 /Length2 8940 /Length3 533 /Length 9894 >> stream xÚí–UX\Û¶ ‘àN‚îV8×ܭ¡pwwwnÁ5¸kpw'@pË­½Ï¹;ésû¥¿~믫^ês®1þ©«¨É•T™EA#°ÄÆ‘™… .¯¦Æ°³°¡RS‹Ûƒ Í!6†Ž`~;;@ÔÉd°sósrñsr£¢RÄ!¶nöæ¦fŽ:qú¿zñD­ÁöæÆ†6yCG3°54‰±¡@blvtcD­¬*=âP;€íÁ TTvvÈÜØ`65·AeýKê Àó¯0ÈÉö¿›œÁöP/Ô“µAl¬Ü ° *«Z uù?ÖúßXýgr)'++Cë¿Òÿ=Qÿ£ÝÐÚÜÊíß= Ö¶NŽ`{€<¶·ùÏ®šàÉɃAæNÖÿÙúÎÑÐÊÜXÔÆÔ `ûWÈÜAÊÜ R2w468Ú;ÿƒm@ÿé·¿ XÕ¥´%deÿ½¦ÿjU24·qTs³ý'í_Ýÿföß {sW€ ;´#ôûß¿>þG5IcÈܺ+¸¸†öö†n¨Ðí%.€;ÀÜv€]¡Æ¬,6Gè#è¤xL ö¨-('€ÕÎ âYýÕò¯ €ÕÆÉÚè¯U6µù'ÌÉ`µ5´ÛXMGÙÿý×bÿ怆­œ~ •Œ!ÖÖ†¿#Ð2fn¶fà?JpCŸ‚nèwˆÀê`eè`ö; `uÛC~ø¬ð?ÌÅûW)+Èï¼ÜPI°“áï1r¬¦/èù'U4ü=n¨ŒØo‚zˆÿ&h ‰ßü‡x Å¤t"Þý&è˜ßÿ&h¹ßÍ¢øñBg[é7AuU~4§êo‚j«ý&hõß­ ñ› cÐü‡ '’õ÷jðAGdô› .Æÿ;Tôþ5 TÎä„Ú™þP=³?êgþB-þ@¨“啲ú¡VÖ¿‘jeóB­  ÔÊö„jØÿP ‡?ªáøB5œþ@h]—ß½€Y]ÿ@h]·?Z×ýoüŸ÷‚˜ÄÕƒ™À „<. 'tçpyý¯ÝÔmÌíœÀï$\lll¼Gì¡'Ìñï{zãü7›˜C¯'0ØlŒš–Žg«ÏDÂxepÙ9C¡Ù<:«„ÚVp’Ìu?>p†f…À2gd©t9q¤™tKG&Zí-/Ûy­×íæFT¶ŒÏ`2ܪ³yÅ_µÇ<ù²N޵ãÙ¤¯S˘Í塇€µrÊv´m?ï%'¬˜é÷n_•i3¶Î×n‡ï´ÀðÏHº¼cÌп®B´i¿$p«¾ô²öçzVÿ)¬î3ýUÆr/gòªÞôt^¿| µæX˜UqOi<Õ\ ¤…D²fdØ [Ýï“Ï@öÅkñàÖB. þ:«ÙîÓ«Û å¨rðÁuÚk{ÐQpÌ!áUWßÏ®U¢“åûè¯ëÙ¨ÖUŽ®¬›ÂÏαï¶zƒ†5køåSåRç!~³BÇF]’¯¤&(¡ÆþËGÅ$17c+ •Üsý-çlPähòr™©b}¿ÿÍp´ì"€E­yHg˜®4â'뀾é nv©–ßÁ 1~E!ßöÅHÑ2˜=UuÒõ*ñg Fðî›fa¸ùýTkh(¾Ö†Â™a+:»äEžw{§°òªç"çh’÷i[pV’Vm~â%Iª#mæÏ> sï;É;%£ÞŸî¤ÊãÞ•’µÆï™½`èc~ê˜à²Ö¯ûJÏädã ¿e½5ÍŠ‡<úηÍ}kÒ®D¤{ÏïevqŠó99oáò‘Ò蚤ü6KÑñãVu:Ä@"娔JVHÀÕ>ùXÃàôZùª©.‘÷^mi;:éèÚ[(ºxS®å-ïp×^ž0;àFL'#Hý–É´Ãm•RÔ:ÔJ¯XÒ‚,4^®?a¦9rδìxDZTñÆjx]5âTf/êÅeHZü40ˆÛ͘{šAÈá|ûJ0r^µ'¨§G¦¢P‘ý6„V#1–æ6Ó ²ºHåaû]ÿ8Í)@>rP?™äeu¡¬Ý·Q$CÅY'.­Z Ò~¿d÷Ê´;‹£3Oò gç•íž]?¬ò´'.aª7·‰»08Ĭ•¹{c­·ñ®¢1>u¢´þ¯³\cx¶ðêÔ<&  *‰µát\(XœRÎWÆg _øëI`Ul\p¸[Q~ ¢¢«#p…uµì¥;BZ—Îb•B@Ô:Ì+á+zλy[ Ä%c%P›³¤Bù Yø‘#HE7#ŽSw¦ÈÛêR¥H6ð¾…3ÄØº‹ºEpðÔ–‚ãnÅÉ-³Óð™ÐÒrGàø1k`¦/ ýÍÁ›ùÖúöò tcÅE?é±­a^‰}÷– ŸÂU;œŠƒsa;«»Þ­,¥¯m JGÜåqíI}U{,Þœà”gÁ?ô‰ƒÏzwØ.A~¬œšpåÍS³Þ´–µÍM› k…"ÃØ,«¤Ü{}Œ('»Ùо!K£òŸyî*H;÷|rTxܦ™¥cWÄ‘m—ħEîµì!ÿ–¢uCHüƵŒq•¯„ÁBvsù£Ðøõ{ÉGrS‹ÉÁŸGuÝÊVŒÆ4©WlaêÔªHÕm¶9Œ6—ƒ«¶–Mž¶¿¢r7=È:°\Wc%Éû½g¼b`$÷ññ“™Ë uZ,a\µ~ãÊpN.#Ðü<ǬK0[v2–ÔJlå’%ClâýÂè±qÍ%62x]·q¥,¯å²„Ðç|d숻8ƒæëüb­oüw8$XŠu´Öƒ  ÝL«È ËìÊ=©º\“É®T¹Å¡@±ÚðÊtza”7”j°ÉÑÞÝò"È¡!†úSÇ—¸5(®RhÄv–„1˜µy“‰÷TÉiÆC.‡ÐÏKðã­‚Ñ G’—”,‚ ìÆèx6#óxóA#𥤣*¾Œè¾ks%AÝ0X=‹`ªèuÑz´UÿA—ÿIRR !æ9¸ÏTÿS¦p™fñ…¿)WžxqIˆE{µ.뽯›ð‡÷Õ•akåNš-®ÌË þ‡…±­ý‹Š/2·‰¹>¦²úêùq®?¾Ðº û挦rDÐì6 ŸvíþSEbÿB[[ã™öK¥ˆ‰¬¯I¯é–ˆ“ω3‡ƒ s¦š›¢ å×_Ûâ?UáwûžêŠ1Æ÷8Šn”Ì62|zXd´ÈeÜöóÈ̉OÞÞÔtà9AZº7õѤÆ<6È¢ê%['ÅÂ%nE~`‘¡ý[ShL¹22ÑëO#Ÿho¾ï¶:ÐSö‚TÈß¿e'VÝHö¶„HoNÍUýÀ{sãæ«o[* ¢mëLï¬eõY“ ¨%IO*‘wŒ ¯z« Žçåá}!?í~Á+´A±õML°I–¬Ç¸c÷Ao'ûÉAd‘k·Ûõ£úøÒë¬ñ‰ÀªW~Ú ã£Û;ÑxûFe•ÃÓÀb}‘ X¹/¶ 0ís¯\×ø;›ö.‰…¥];–ôÐ=pß  «˜®Ú×aÉGÛÄSlïùå*ôuLú³*°ÉàÅÌ-7h™rRo] y#IÄG–vådì2yM½z }»6î9E¼h`ú–ýf†O݉ræá¤YŸ¦¶?]”×/°Î·µž||Mv™ã ¿nª=Þ»õ«ÒÄñràÇcKÎZG¥ ˜Ž$Ñ9´Cš–`±­nÜ™°á˜#]ËØ†‹¡N^º¢ûÀ¨’(é'“=Ô!p1i>Öûô(`7Öo0Ó‡sá½ãX0‘z=Ñјšs^yV X±a’ñDÛÿÊb#Úžh3bG™7¨Ï)×½´vÐÕŽ+è»åÌäyû†J.M‘}uÁé‡1¬6¿:!ÏòánÂðšÂçëy°3—Ôq½ú¡´dä®{qÖ‰ÏXÌVGÁ K—Ð>æÆ ¨_À›FvÏF×Ïa‡ m뤗}¼ò‹E½š9Õô•¬”SÍÏwGЀC DÉÏlƒ˜•ðX’¨àoÀš­tqõ<ÁÓ2"×€næ3¡@ö6@Å;sÒöÔ£a%ø£n I*õS³Stߌ@ÎÆ‚†i‰…È™m[ü@öªÊ¤e›gøçþñnµ^Táó‡Ÿv¿¨©¾@h³=ÐpÔëÖ\EnçsZ%ªûsåO¾î«0R¹i:¯]³IX[ؘªébüJ8¶ß‹+m©Xa>üv~“öõû3òõ‡Ò¡;Jwåô—%,eÓ™¡a£Œ‡»a†"4ÕAå}zˆ$ãßÁì³ kÏŽMiiÊSfz‚¦# ßìæ‘4Sô9ôgÅ32òñ L í©i1ѽ÷kÝwÆ®EçYVóˆnY—æDÜ“@Ïï ÛžðÅ ½¹žžO6”Œÿt¬<ïâLU\̳ºz`â S‰³LÔúòæ¹ë}TÀ9BÃÁN¶èÌ^e–âdb ¤ÂDò&"ò”ÐÚ—¶­ÎkúGKéíäÐwØÊœ/ŧ3ç}–œX[ˆ~ØÝQ=Í'#ÔvãnÃÚ‹f£¨L¶¿°ýn‰dÍ–Ÿ máå7ÅÍ4ªÛÀ6ÅÐßøç«UТĕ¢õZÝOžIlj°)b¾¾3G¼øqa êªïÙÅí=¹’bfU5b!nœ\…"ÏNÅ—Þ/duX5¹.”¿U’„ljb'Öøã¿ç‘C¶üÎG`Rpð™f“Ìï†™å¾ *2ínÈb£Sm÷D&ùúuäôû†öí©¼Å}7ÞüPD ô/~> lM…ÇéÞ,pÕüÙÅI=­Ïц8.1ÿR®òšÑ ãê^éšzT0ÍrèýJCöq>J.®È¥Ÿö}?°?xe5p;w$„•ÿ¡œQ¸º™©2°Á©_tRiœÿ¾Â‚üҨ̱©õ‚Ë‘~-°Êâ ^Hª¹í¸, Çÿ˜FúR7ªš ¿âR+³m¸<%{/Ë”¾ŽÂi,}0úezbûÆ\BýKþ ­lFÏ™A¦à÷ç&ÝöïDÍ®l 'î >¸r5mpõäæde¦˜ŒXªþLþAýö݉® ¤90!VS«tNnIÕ‰õ¾AE‘L²ù’Í7,0'ÚçLÉ—­QÜ«]yhlï—#:Etí© ˆ<*]dÔ*Ž[Š\&{ÇÑC7˜5x罂ÎÝÓà‹õ’qV¹4o;XHÖΖ˜:OÕ2õ®Ò5ú”ßá*Ýë'ï»á”ó½åµ¯×ß½õLãpပ/Ï,“BÑg¿à|K%ÝÍ΢t ¼Rž4­sÁxEÎÅŠÚ£Ó=n·‰áI )9÷,‚Õ@þ´¤§Íuù,ÓóN-ÛyG©°»¨¸‘]]|<ïÓgX~ÉpWWšÐi}¿§¤Ë®<µ²åØé¬õñ‚ÒòXv’Ø`9¹x Ï€@â³¾r¦itŽáÿ‘2x23ê‚BÝXØ+0 RIBu> ÍqêC#nñÕ€~?in¾ÏCÍJüÚ(ÒËå¹qbœí\jœ`±¤sMoJ‡ûé|ÿóšIvô‰ƒ,†å§"؉õ{VF´9šº°îøWc‘ÐÚø.”@"ߣ-9ßGµÒ¾“}æ˜Ó_é»á,)iÂ*ÏŠQ¥û Ù¹36S$¡¢ãúl*Ù‰:lH¦ÁôBµþ‚YE&o>€«x(3ðzsîÑßX@`ŒS&¾„- µHÊ3€³¿È?˜03_;9{â|ŽcÌSDU+òÂi©  wÏßÏÎ1½÷ó•dœ½ û¢ˆ«vtå¼\`͉Û˱i—Lm›_±œç…/hYOŸÀFÛŒóÊÌîÈâÖÓx|}ŽX:+Z“›t¤ùÒnH€‚¨¯ùÆ7´6¶œµ·ÇñÿÔÏXoå¨?×yž¨LTfÅYÍšj­Nèõõk Çk… uÜIĸ„ýôlÎÂ4%NÖNøuEeØ-xŸ§pöýt#©Wè–ô$릷ñ5CX:”DkG@ë–¶«?Ãö6Ñ•…mUšfH[${eL°"‰¨)ªvt·&zì0×>¾ÿÊ? 'xö¶ÑÈ`þ!K¬H^Š˜ç-Ɍҋ6…Ì ÅÉ„Ôk|F©tA¢îþu4“nîL½žÞ„—‘v…¦@?~†aÇ g¸¸¥†¬­j>ס¥„«(§âÁCvÅØkLÍ7ôÔVò «Ož†„×ê®Õ7¬oeæréù#ú8Å3ß1"1.G6À^~P Ã³mä5qEb¬ÖýäByзq’ WKX*#n®*àÄÐÇ7áL6,†_•®¶}Ã"–ZÃ:÷RÁoIwÕ9‹M¨‰Þ¾¢½¨O<qaž‘–Ž%=&n`&-F Ö ,ìÂ5ªU³ÌQG´+ôOY6‘ߚƿºøj¥º7ßñ»ÞÇÛ¤+ßX[éÕY˜%:õ+iŠìâ)iâ ³µ4jEø×.ÑRhŠŒ¶¾'ÆÇ™h›h66üîƒxï4\ïîO]ÒîY3†ÒB=S9¥ÞÙ•ÁdÿPZEº{!­¸1m13žæÂÃø 2M!%`çe{å˜l!#/þ²çºá;“€Åý÷·ð7Äx”·© ƒÁm²ÅŸÔ¸¹*^–“¡ŠE0µl°c§ì ò:ƒûî›ÅqK5ž•WB©„êc¤Xê·ÏÇ­Õ÷î9’Û»Ý8Ždò|Z4=}Á:CbÎ\˜œ°žÛmŸ}¯{âÝüD5Ê÷†DÉ6‹¾¦ÏvvuºC²½,Öø©(áêCûII+æ¤Æ&{ˆôó45Úʆ€'TK¬±‘7[—ˆÏ}Á,Kß/`ö‡ÈcœóQØ…e"û‡‹Ã9g@"5¹6 BûÒõäW©lë ¹ðÉü)Å’}mðX5©­g5K•ý*ZTuz°6ëðž‹“˜‹­æßS@3ƒåHkÁ¢|£<»Ž|ŒyÆ œXv·Ãî|é»dSmæ›ÄéÐ)P™ØÌ\ô 6öù÷d½ˆBƒ0Ä×õú+ÖiáÅË 2®Y ‚€yO¬–ÚuUø â×7ãlBW¹N$îS¥ ÛC+.^SlöI7Æ}7lWõë^ócÞ´ÂäôèwÕë„GGgJ}_ñ‘nGÉM™bpã|ȼ)­60hÇ .Ì_¶7ŽŽÓÆ×1¹ä¯Ø˜> UAâß¾­þ(Co Þþq,ŒÈ†w"E¸³Ï¤l³66\]?íLš:–2¬‡ÝrÄ€°.ÞL‰r<3ü°ÓGm×þqZ Õ¨ÞÍD5'ë©ê­ ß9I%guÔÝTÛIJò#¹eÑR¿5ÊwbœEž"-y7®#spó"+¾óªaÉY-‰ÔXÔ~´~LZ}Û< ϵÛL}ùLø¸`k9½÷‡bxz›íX G“®1´î°w8DÂÏJ^µma» B=Y2»ñl¬%,Qxø^e eT¬_m:a{ÞïзP_H>¹Ç•z=EXÜíTê¼ ÌÐÕ< ,1Kä}¥|§õ¦µ²ÂŽÖf{l5¶ïsŽ¥N˜íE׈ 40m{xx&ãºxN«±:«¶Ïæ;ËéâcqQŸòn²(ârü¹Æe€ÿ@{J·†XÒhö§ù}:‚}kUušL¸¤³XÜðvå¢ÒäQ)’iE¦™ã#¥¡Â×¥Ól`·4I冄að 1ªbWÓæ{9Ò+v³Œ÷^¿íîW>yÁ/5˜-ÛV<ƒv “{̱­÷¾ÚÃÙÄ Ÿ2°ùN§»ÛÆ>N®!Y4„å¼öR‹ŠxØ·[Œ3甆$9kžØ\ˆ ™b͸{tJˆ»IˆL² T¨Ð¿ '-Ò‘³}F9¾eŽ] gÅdx#N(¹rgóˆÊÉÕ¾#\h«“dba…É< qkŽ1eî±-$ñ^ªŠ8fºon¶ëÈårÇÿ°µxÙžyŠkÎ1ë°Š`JG*ì¡¡|6Ec­¢3ÖºÞµ‰Ã´0TU¡š7b¶~Ѝ8¤Þh4ꙛžž:a’Qn$¾Ž­7P%ö¸q3¶¢³Í\p>›r®ýt¦áÇs‰Žýð–'”±;èæùÊ~§«P6[œ“¢ y¯Âû‚Ù‹b&4Ó}ùãôÒ›´Èã’‹7c2Þ<#KüÑë«B:iôI’²'Ó ýϽÑw.ÀéÄ×ðÇð—X_íµú‡è•§ejÓÍð:?ÇWùSiÒKºÅšî¤èÐZéµ0›Ý@¤£@Ä5)‹8?ÍÕq*[8C!öµÕÁÉqXn“ûCQ]¢@Ì7T‘˜å7uýûõºUú_C¯ê=׿.…xìz>Z‰µp„²¤:‚ܼdšFd`žîÁµë³ßG_‰‘ J¬éøÞ:>4ŠæS£ +e1¨¿er¯c Õ-q$p¸\ w Íʺ}mµŒ~’r»‹ `Š<)¹áÛ@Ĥ¨ºÁμgôøx‡ód§ð6µò†+Ê£2 ðÀ”-Åb̰hT»Ý‰ò0y¹.N‹ u‚‰Hso0˜,IÛzž};ìÞv¶Ý íR¬ŸYíºWj…ÜùˆXQƒv ¸²+¨8FUòœ“ 2ù ˆîyÅÕú™çøtØyäÉê¹ †Ê^›X˜ÞFØà½_K©¹(¿žgiÍT¸4 4ô8,P•qZb3,ƒõÍ¥š‹r®Ç°ý<(tí5 ú‰ ±0ój Œç†ñÔ)[Ûɰ´ ?nJ"#£ÏH]2!ßÜ={ìeâqè,?Ð¥ Fà °RðÊaçlly”áÔw È,Ó2SiÓûk#½•ÍP¹ö“óÔþ‡4 ßô†ŒÊ}°ïnûáeaµÞ¬LŒ’~Sÿ¯•½ $y.EÊØK‘¯UaæOüɦ‰m±H{«¬œ99U_ÖWeçÿø¸áö|ß‘zß³…0:ô)&™Ä6-8Q·ÓòûÜ@û…8öϧçÔw71AMg,9K]z+Ø’d‡óu”%ËÕ#ŸízI0V´y­ù«42!ØcohHTO+?rìù(`txѲGz¹¨rÍ^-¿‡m¶!çÚQŽ+Ž Í‘þ¥óÕrÆkwŒ½w¤`K®Ë é6Bd¬5âåºVù þkŒµXñ8/¤ÈÁ£àD$me-9ûK" ‡æ˜÷ Ÿ8Ó¢Ýú¨ðXoìðÙÔIgVzà’Š†²üø¿Ó<|š-"Â8ˆGæù|©HÈ(+ã¯2zµ_ýCU)qà›ªÖe©cßçÚî¤FñÏÅÊ*XÎ@œjw¾>÷Ä›÷ v–xd:^UmQv|?nÐÜ0‡ÉÏ(ô5‰ÐRÔ©éQÎtÌ–j˜RU¿ RZ8ßp(F}]¬­$ª¯ØB÷9ßÁ{=¨ÅXýØ?d½z§€°&?ÚDEðË‚ø×^8K´|éWD?Õ êaM{wŽ[>œ}Õ^î…–©É*â^Xdu„:ólAT…DÈ Ú»½]/Š&:­ÏUrg:Ðñj„i—>Z9ê°ÚV;S´ ÎëžR/”žÇ/ïRV¤½Û¾C§Öâ2Â2¹ƒG5Š% Ë ÒÆ”ïåÜ{,w`òÜ fÝ„ô|oÖUûbsÞåy sõY4Ãx8b/C¥¥`úµÃñ¨Or™TÞO4r@Þ¯Rܰa @MËšÖñ$™µ"'©Ã¤h¾y¢ZVZ󛸎 ^ˆusç úà¨sþt!Ÿ-ffݹ×å}’>!% H³9ËŽÝóäôÇ-ççü>\?XB$% ¯Æv¿g¤Õnz A;ÿ 2eŠ$§:õî©øKÄ%ÒÉ"ûÐ;Î4%¶âìG×­¥‹ýY±\J;nüàg›à—JV æ”p„ÞGE¥”cjM.xåJ#*l?‚!0ò…ÃuiYÐX‘G¿E’ݹë'B‰ñ/EÈ¿\àðï»\x™œ»$AΆE­í—§£´§kk›s7…;xùtÜN-ÎØÉæmž§/º›5Iò“D2Ã9`ïô·ˆ¹êH‚ûâ=Y½] ŽDOßÁ±K2Òâ: Ã;»–jLOÚ¥&æ·Uˆ_³N2`¢Ö…a\¡¼‰W‘¿›íQL­[áqŸúQë§([J-ó*²i ^OÝVHtœë䧬ò®÷`zð¶Åt\o3~EÈÛy…NG4DжÛóÏC -A䬈Ò/KMιzØ™)Uú¬ovx·›ÄÅnÍ𲂿ˆá1^FO˜æ•ì*c©-ÃÕŸ"¤û¦HŠXÊ-oF úÉø\gêÅËR +&#Ý7ˆü´NÀ˜ P|ø±Sþân{ú|ËêãÀ"µ¤ÊÑê}F wEY©ËZ½“©ç鮸œÈ^¿\Áèf ¯‰ÄÛ5,lýË£çÙW¦;ÊÌã<îEBt¦üd:Yc¼2S‘@j¦ìÈ•æ÷r5ä샠5£Yþ‰‘.ÚLñ¬¾øÙ>ZXj2ûq4”*޳ÕJm.¸<ñè}¹…ï>ÛØHà ȴ©vò‹Ü]›ýdÏaã3YîIC²È‰1J.Ô”?Èò]œÜ\Æ•2­!£S«¢”WØ»’lÛÝCZ_нˆ;$›÷¿D®EÙM=ñ£‘­;¡k 9ª_w"z{ys.z;Ya}žIT)n«&ì«Í¾Ž@O™µ^ঠÔ miÑ(yf$´·™Ý`î¹!$­˜Ê§Ý l‹2~êŸÇkøs+Ys@‘"RreÍkŒoŽÇY4ˆvT‚ŽÅ ¹.>cÌ"u®‚ƒ•vÆ;âì/P$õà”`ã²Ï!£ª?ãetZç)Ìz?%ÛTRxËä <Ö—ZËÑ}ðœ;‰ÇÊ O»L@3R”˜ÚDÏÆXÙ´6jò¸cÿݸè;›¨³œ&Ũ1sšõ„=-‹ÝpÓö"¡]:)ìå¶< Ý¡h lÙ³ùÓÀþ»/è3¬ƒQžl!{<¦!3=ÜSüVNt†ø¬Ð¹ñû'ûÑ­U’D¯~RdÞ‚ŽÊOኯ0„¬qÅ‚ csæ½ìÿj´«ä·°ìî…0éûÏÕCªÁR¨Q/3ýg³1'‹Zg8;'ôº|èkN«Øþ/?¨ÿ?Áÿ Œ­À†öŽkC{KTÔÿ6ƒáˆ endstream endobj 14 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-34 -251 988 750] /FontName/VOMOKU+CMR12 /ItalicAngle 0 /StemV 65 /FontFile 13 0 R /Flags 4 >> endobj 13 0 obj << /Filter[/FlateDecode] /Length1 2009 /Length2 13094 /Length3 533 /Length 14214 >> stream xÚí·UT]ݶ¶ Á‚ûÂÝ‚»»»,ÜÝ]ƒ»»»»»{€à–Á ÔúÎ>g'gÿuS­îªÜðôÑgß>FŸc6(H”T„ÍL€ö® ,Œ,¼QyV #3<…¨3ÐØÕÊÁ^ÌØÈ `ááa»YX™,œ¼lܼÌððQG/g+ KWµ(Í?Y\a; ³•©±=@ÞØÕh*bjl Pu0µºz1¶¶•q¨]€Îî@3Fxx€™•©+ÀhaeÏô'i{s׿ÂfnŽÿ³ätvùPƒ|Ò@.Íìm½f@sx&äåÿ±­ÿWÿY\ÂÍÖVÁØîŸòÿìÓÿ±llgeëõß vŽn®@g€¼ƒÐÙþ?S5ÿò&4³r³ûÏUiWc[+Sa{ [ €ù_!+ +O ™’•«©%ÀÜØÖø_q ½ÙšíÛY`ÒP”W”U§ûבþkQÉØÊÞUÍËñßeÿÉþ/fùàíq¶òè2323³€A¿ÿó—þˆ‰Û›:˜YÙƒ†‚ƒ`ììlìšq|XVöf@OÐ䘉ÑÞÁô´)~sgøΓ…‹Àdþ_Áÿf[ýÅœ ¶ý‹¹þÉÿ+ô€±©3hþ'ƪéäæà 43±ý×ü{…ç¿Wþw˜Àähì ´·šÿeùïè$³Â¶n. 9S;;ã?'K/GKàOì >A²fB V\l],ÿD¸LÞ@g‡?_{à¿™dÔÕãÏ:È¢«¥3ð¯ VÐþ8¸9ÿ °ý³¡îe€ìº€N÷ß 2ëtÿË+è$™€ÿ«gU{«¿pÿÓ³í_›Î ²tr3þsVœ ÂÂTTä Šþ!P5±?jZüßÄjYâT$ÿ¨Y©?êTúÔeÿH]îÔåÿH]áÔÿMÜ u¥?ÒSùC =Õ?ÚVµ?RWÿC u?R×üC =íè†e2q66µºþ¯YäaûwüO#Ï?Ãgålêfgn üs¨ ËŽéÏ<ò€:4ùC EÓ?/3¨E³¿ðŸsü ÿ™§¿äÃâ/©[þ… ®ÿz5™Am[ÿ… O6!ÈÔ_/63È•Ýd¹²ÿ A®þB+Ç¿äÊé/¹rþ ÿð¿äÊõ/¹rû A®ÜÿB+?úò1yþ… W^!È•÷_ø•­Ù¿vóÿ¼£ED<}@—+è=æáæÍ,³ßÿÎS··rrJ‹Þ|ff.Ðaÿ5usÝJ®ÿõQ]ÿÿÃæV è 4…ÏÎÁ´7¤'¤{0ºX!Õìš]U‚ï-½Èàx,ÀšŸ¸F°…b\³Ž³QºÿŠôr¦“þ“šX0²Ñ_ž/aàÑ`ØË ¯f ‹Ö|ºG÷à·6ö˜a½UçSÿ%0¦ÓP·™®€ÃÇ eûÖ¬ÀÕ±ïf”·íueÜ¿oݬF‡®oòkó·Ïß»ÁxMWÄ=d“èr  íçDÍtÐq¼XÑýì‚ÙÂÞÔï„Ô–[¤,µšJZ fñïJ Ž¥¤>ñÍëó¥„çMó­q,/ÖlÅÄ%„$kÖó¥‰Hޱ¹¨ås®5JŒ¶×`‹û#)ôdT …~ûÊC”J9”ð#§ÃD¸Õ7f/°Xµ¨ù|ݽñ´&¼>\«Ù— ‰ ½)Ó5C†Ö*5éâô•Ý»F3:Ò áî°êú¹L£k߬‰!ª6׬/ZžóRŹYoÛbxg·Í…à'ƒÇÂJj¡ïÖ/m¹øÊ³md©£]U’?¦÷õ –6G¯:•=›/_hå..‰\´w;íÑ€'½ø5ã¾:ãà1†ÍüjPVç g}Bü+ì—Ÿ{þXa8…NÕòö$Ž—5pyíWgéAÜò…/ÃÍè|í8=°Œuڮʑ·æÍ„ˆþ^„¦‚X){êØÅ$¦Çr½i[ú æ·¥,üvp°ÓBè{×Z0¼×`ß{_^ûs VhÙ%ogÌ‚ˆØ)õ(—YjÃz§ÇG‰ž/vérprTT‹¯^«®-†ÔaŸbôY,á埢çtßu£k£—k‰6gYUÑáù¤ª¾“.nñízÏb×nh„ Ž 7òCô É.#Ôç æ¸ujõcBL#¾Ñ×APU}iƒ –Qö¥Üqë{¬ªÜé“9‡’5³óô«ÙÓmÕG"óy¯Ö*àɎÓ„»<'gS‹(KÏ©þí6uZxV™mÇËèoÅåÉêU“¥\cÅö•›úírè”ú3ÐÅëèó°8žMãDFŽ2Cùê–¦ÔíŸçÄÁÏ[¤> ëó7gÞ—›^çèð;â«¶’éžbŸ!¾Y:ÓñÊxšÖ61åàg嬦`¢±èž,Q4:ö1U‡ÊÛ=YºGÈ4^ú×Û=§×˜Y-Çnvi>¿œäÛdïV¿ÄÒ=¿]lù$GÙÌÚ :$GÅ:Ë+VÒ‚å4 %w5^KüTö¸½Kº6oÇI0†¦î'¨f£ÖЏWX³Š( ‰Ôù$\°NÔ óº[î|´x`nÇ„·+¨õ´u»“fA+Sä4Ê E œò;ì à ÓWÊÎÏîKÜqmEš0HÏë¶‚Ê“‡ ®SÀbÐøâÄ¿» (nc÷ãmÎ;åYÔ;£vq5„ž°@:LðàÌŽà@¼1öÊ“—4"]½·zdŸ5á;àhî#ð€± ~™ÁŽ!1žAڌվÁk«ºjÕ¡Ë=è”ÕY¯­é¢… aýÆ3¹…3«N‰„—®+QÀ•Ò?ÇNý§ *ÌH“eÜ/ë¢ïïÌ|ç¯!Š¡ø{É)jÚÔÆÅqÜ„…ûLDµå³èûÂÖ¯b&ôcçµ7:!½l¼ÁJ(‚a\L‚÷©öèºES[`ŠÈw§AÕ)srVŠ ~_ÿ‘î“èI¿n Sà§[™LŒ!.Ã~wU8”ãH \VQÿ6qÙWµø>…“bå[ ê2|hÙÙš÷n^`È\tî=øËdjÄdþæ Tº©]%ÍH©^íká›\V¿™ÓE{nnª ìE~ƒAŠpß@ÉHP<°lØØË2C.à\ÙC"ZEß6.Q`ªBæ“IS²`x]ÒWÁÝôÓO+"¶ÝÍ&Ô“Yï3I¥—(ß¶w$çÓòž3¿­Û•K°rÒsl{ çx¹»‡Ú78ŠBFGÕ¾BªxgkÍ ?+L¯Æ…·}n^¶‘Ð÷ZÏÂÞ¼Ó¬F?”ÉøMýª‡¤ç4iâ¨üêÝð˶aÙ·)^Åñ+ÒÏ'½x¾è­|Ž·ÛßE{šÚTåä)?‚aŒL9rª‡vÄ'S.˜•³‘)×d,Ûšl_Ofâaãº\Ú¨¾äщ~ ÍmºíÖÍbú­CŒÆD Ãüls$Ê/˜ÄGÛ‹Vãû˜Ó=/¸©F ýú»Ô¼)% P½î9ù¾JªœŒ Ew´:ÈHrFµKmÓçú¾¢¾½’™â‹4Ϧ—f-0ñU«@5n§öœ•&a§…„ìªÌü¯©ëqV–iË XxÊNƒjQžKsxaäêÁ‡€Bm8±B7¼Î ©©dDäûÎiã[uó}¹ÙÐWjèñÂkg¤ñÜ–¸">n“šçG9ªÚ ŽsŠb·¾.bö»Æ>ÝüÆsÛ£"G¹ž4Usí¢˜ƒïGëÍ™L£vÅà­·2f:ó »WÂÈög?0r­ç6 e1¬â?¨ja‡ô0•mZ }B‹T¹0–ЇY] *¬@ðçBÄá-?øÞÁ6.ή]î©B Ö¤(U6™ëŸÙÂw‹–1XWªyîq÷p?¯’ž±N4×Þ´…xÀ¯þÀ< ”€ýFÞ½ì¥ìi2{N¼úyŠ7Ù5änw~—•c末FˆÎVÄ0©Y²9΂ØŒo¯–jðÁ—èêiñW½TÿxeqÂìHÞ¹ÎÑ…ɰÛˆ”öcÞÕržDŠFåßêdÎæÃûPßÄ­_Œ Þ?#µÆs2UR+X/kç òˆ)uAUø¡b~VGòsïhûZ´ÐÅLŒõQ¸¯Æ@††ûÒŸù- Ò>í¼æ¥´ž‡":“A4)cPý ×òмd×oѲJýÂ-MÁÙŽ´,c~é½¢p$lΕFòB ÿ0øðȃ> K` aWè"úZ_º„G¯ÝÑÉT8œœ™= Õ‹õI(¥~‹ÔäáÅx¥¬±±—r*4C+í½V ¼©(P xK_QqoÞíDοô`2¹,ZpÍYufÄà}@ˆ`Ø ÞT^JB0(µKu¡žûýlF_öËú"î½òïP½zŒz_0QÀO¾¬«§,„^³~Z…ȇÿ(eŽŠ}_G»}Ÿæ‹éò‰ˆ5 ºæb&x»~ýt3›'MJ‚,Šz×cû¦×ËÎX[ª4ýãÙtn¿EÙíœhH*KQ5:ªz?¦„ïÀ§ëQ¨²Ý‡|xpýC•½5l?̆ðD€m»0JúñùË.ïDŸG‚ÂÆÙpZÒ8pÌ^Ñ{öÝcý‰æ+b´“#lGi½åÌçò#0mÓŰæ{4„³ŒQç=}M›x ÷ƒZL­lÉõãУ 5 ‡é¨·€^Ó%yªB¯Ö!‘O®‡ÚBiž´+—5È@»|Z¤®xYª4×oÉÔŽÓF³j CÞ8vfkåeÌNRWR &,Q:%‰žÎ Y‘‰g5S;¯*‘RztecXR%¤õ•S/>Â_!vóÛì´kÌñ5ô$> C,As"¼1D9)ŸI_ºÉ—Q…†‹§Ã6‚ãÉl̤öà¢5Œ¦QE* èsRâv¿‡š5§Ò-…¦ZjnRÕ»™ÝÚ«ÎÑ:é2–ß £Æ·~Ò¶VÀ>@õæ*f.…Ì‹ól1Úg¹HøUM>©&4©8Çy™’§¬^XMRö‹=^Þ¬XE²ÿZÒƒ¸ôc4è6¹9¼I(²¬Õ·Ž·1(ûä) -k2 Ÿ``X©í-™ou S zûS…½ó6&dF×¶˜K8Êú#æ“$­tÚ0ð;|}B²/åçÀB7~‚ T—á‡iÙèþÙCáÃúðeœ¨F´#Ðvèx¤% RÁøÜ]ÓÁ4T8Ùôu‘l•]”-E>D "z»¥Ip3ºBêøbk­:l4kgô#‹jØbXýu÷k8"Œ4WÓ=xÿ§jû†[öÓ÷‘­Î[sMée·d½Jfñ;ÖÖ"ÈïñI‘+ŸŒ>óñ+@êW9ÅavœLÄSㄨFÁOÀ>}3TãÕ2毸…^$úƘ“Í¢›6û¥NõÁˆX¥CÑï¥0žD6o2ÇÃcÔÈ;¯n°…;ihÖòe¤n:ŠDV¥^=õV'‰åå†wùËG§cç85“«ã¥ÖA¶3˜ÝH>Í0„\mQ§f¶ŒºßS‰ZcÌ[hh)»öËåðש‹7ïïošãäfX(ÎS’ì’ü‡{õ)†[°ä ÜNˆÔjIÀަ(Û4 ¸õ‚ èçcoÙˆèê[^{yì W{L—e¸ÑtÍ¡80ÕÈZáÝ Ÿ>2ÌÜ„t°L”Êàæ¯*‡¡Ö¤•Âo¢¶uP9"þŒÙaòl-ŒV{«Í•›û™£€N?9ÕŽ qTírÞ³šÿÅ2f\h¢gâc1çtO.9¡/#»ÃÍ{¯´­jı÷0±»Záç-ö_˜Xñ«;A¤EðM«mà¶Ÿ‰~•<Êqluò¡ý ù.£ó÷`0¦¿Pw¢×âäNeòe䘽øÂœŠ'`ŠÆ6ºÑýM"ØÐ…X{¢{ÓÒš™·Ú† ¼4ÊFq@ècU'Ue<É–¬©`\íÖJÝ&<׿ö>†¸„–ñWgt)úûÓêù.^ÞŠ™]¥ØoM×û€µ/T¨rû¥øY“ÔeÅ-œfF7ZÕïJj°,˵Cô@Ç  ªhvɢ׊d‚ä}š)l î†K,S Ö˜{>=ö,Ù*ÌšàÔçC*^¹i7 %°¼tØ;~£3»ï®Ü¹½jè1k¤OÝ¢ïD+ë¾Þ·Ë ì°À‡½õJÛ¬¹³¾™Ý%¦Rɬ@1ÄçµñÙšîù³uý'^Éɇò÷û0·äŸ>è&Eé[ç³¼p Gµ2ٻȥG< ,x–’nºÂq>Ií øcVŽÚ<ôg‡Þî¡ ¿6ƒ!p^®¼(!ä¯ z1œÁ Š{.¤sñŸÑ÷èn$‹Á#u»áݸùõÑݵ#\Ö…a'û'įqÿø5ºó•Öç*=/¿—f65·ïãaÏT5á/ÍÏ«£‰„ÅÒÏÕ-þÉ/ê|kÚ#Nû¢')«Œ5Oór¿á. ?£Ò qÈÒmˆâ;D¤L"]bœ. sóéÅ>"’‰²ú—éz˜d2Ž˜ö¤#`ƒ¶N¾Gê‰ -O31ôñoÐ+ºó·¥A]•;ûM ïyõ3}¾êT (nÐ()”ÂlÚeØ‹äÐÞ¤‚ý?† ñM[tòMÚÀ“wÃaá2` *`"+: ÷°/ÁŽOsç×Tñư\[¡-ò!r“²‡t4p˜m8ßN‘à­¿6!ÏÄfÚ«Ä‚R¾EÁ÷ûTÎI ýÑí—úÆ„ú÷QLM .´Ù¡áF?­ŒSä…½|˜g÷ŸþéâšÃáÞÕŸúäýÙ¤uRé=ÛŃ(Úb#ñùÉGÃñ-}›7áŒ×W ²QÒ1–ª¥•‹ÙWx”¨8 Yòš5õé­;“‡ùRáõ¦ Ú5a2@ªÍïõÌñãxðu©Þbê¢U?fÝ£^µ¹'¶Î1vºi &m|:ÙݶÌañ¸Ï¢<½‚sœá 5]÷´'̃;\~ÚµSöÄÚÝàMuL¥Åæ“pjÉgQÓ½?I’KÞ/2Ó“­“æâà|R%·Wnmä¨g26 ð‰¿¡ù¸ý¥lë<€æ áÙ¹/á"úg‹usû¸¥4ßGé¤í²sJæˆÓ4Ä2AþbÂÞ~æîïÔÁ~Ýæ†L‡_ØÏ|’¬B –{·ÖKŽbu~çjf#²’~£~XºSÕ·².ü-^‚'pJähË´ú)yFÒèšD¨n´·œ›v;Ú”wCR…åˆçËîu"­5}ÎR}[q႘µŒ©º´ÃÉ{+åzšÒçiR‰æ«eH¬¹CßöX-ÊsV•ðôhãb¾ª/ŽìëcA?"½Ä³[Å«‰}“ŒHÀÚ©eã¬I˜f¢Yg ¿Vl’Ó,Ë”×R•’ïÊèPKˆ:\€“;³Ìáð›# Þ&\¼E¯"sßKæwõ¸æÊx—bd9qµŸk?JËìløÞÆ Ájîn  „ŽÅ¾Ùy†•B£×©âkk“;~(éRÄxŠ=X?KÃïžÛÐÓt¢Q=Ò± À À@\QWO_Ö«0%ÁÃhé÷vEþÚ dé{šcc @#ûÕ:;,ï´ýL·›â/WÿÎ0Ž8SéIz„½8ϱ®}Ë«ÛZ3SÍb[S¼SeÛƒâu*:pËÐj=àhB Ø8cÁXoEÑ…Òú¹ $iCSÀl'Ì««wþÎ|ÛQ‘®I’q‚ó†ôú‘m8R¾à›(½ÉúÕ1efðovàKÉAK T,å–’u†‹{p¢À#´kßÃ40wV›øø—¡° öþ{ù:|„¶µàÌQþ ZÙŽ»Ôgú¦P"9È®®ÖÕ;ÇÜtÝ•mX)“9}¥±%h†üÒœ7‚4K|´{³úìŒ ò5¿)Ö6«õ@ÿÆÄ@°êöA÷ÎûÍ¥&-!‹Ïb;ô˜ÀX'úЫ_Ž«‡¢½<Ï™òêw¥’⪚7^EBP£¡„_B-d¼|‘4‡w(6ÕæÔì$Í&Åë+äg_í"nò¹ƒ¤›4‰ÝJ°zÙ|› üvåõŠ~ÒM,Ìè"Åá°³mÄ'ÝêÕa©)ñr…å÷fË„=ä‡ËJ:r$š”íS.9¢[ÂÊb'dÒB²D¶ÐÀVsëË0˜ð™fC÷t]E¤­Ùn®²ù‰-F¨È´¾ ÓܸMv¬üч%L¾ìJ<ëíÕPÎTLÚö¥£K;x®Ÿxž†AQ±ºg¸ìJú±µÐíëÑw´>¨i‹Jq)W4 õz¾=Y¨‡×È‚Pmö¶µÆl¯Ç<ûyˆUwZ†­ÖÜ㑼ì'\ýÃíøõ\»h•¨·)CBǃOìí#¤eLÑR Ë~¿d"kÍ }hÏ¥3Ó_ÊãëVïÅs>¾<'¸M‰ÝuLzŸ`ã6}Ø„jTù¤––|7Øÿˆ÷O"ÔA’IpÀÄi³;ó¤[¡Ž©n} ñøÊÿ¬*±‰NîHÂæÁG{ð‡ÂHÓ6söcÐ[kEûÌëH5Û‘ž@ƒxm iWê]¸Vý€½‡EQx9~FAª®a~ŸB°X¾¥$m ÔÜ9­ú¼_õ´œ]¨³Üƒ©¢X`Ë„[•4lì‹Ü^RF“@eKZœ¯ÃÝϯPGÅÍñ[wŠîW“ãÝù²®£¦¡3?¬örfcñj-“; 7ªâ‘”Gºþ3A$(íÁp~F F(>´@å­£KÙˆn FùHÌå)†(W¥¶„àÞè ¯.8'^ø’ Ì,$‘ÃáJŠÀÚÔÕJ²·l]‘¹"CØ ïTSÌ8…%Zâ ïÝó “ò!$î<Öjmõ`#¿DY`A€ù} ¶¤ê˜š;°çúÝçfÖ®~=öBKÀÞ»›U™=x5Ÿñ[&mEx.Ù&©µ êy›§^S¹˜ là&|£+iðGæÛMŒ2¿ TÁ3Ä-T(XVlâòÞo´èõt+£kÁú aþƒ%s>ÞÖ3Ðt>L–¨ƒfÍ“³(`6tz´i€‘ë®KaSbvÍC³ÝFÚ¨Yÿ„€„/”îw5SL. €ÃJSµR  Òá¸5Q‰BR3‡sõ÷Þâi$‘ɶ+9s‹ôD3Dv=²Y^E/¾ËðˆÙªvë£!.//¼¿ ­ ˜*[é2Þˆ_‚ksŒ•ü@:ÜG}­0cá$¼Ó Ã؉«%ÙrØ]‹i_l1CgŠéB|Çï2÷wRú"çÓ¥Ÿ–0BüG ?¢FÌÏ—)ÛÖÏ4}hIþê—ÞØê:jîÛã¸'$£LñvNúdšS<ÎVa*íK€äxSŽÓB¥÷Œ7y‰a%'ç ͈÷ñ#â× ß\±%µ‘&#{7¿¬)—.û×OÇ»9è¸ül®%ÐG7¡[šÇˆ2§õó€—þ‹ésßföªíåO'ñ¹?/¿-0½Äpó9ÅÅ4Ñ~>0ì ý¼§s»ùÍýκÊú#ˆÇ‡ÀQNdåBnž+Öc•4Xnô{…ß÷ᄄ1¯%èê4R. ÓË‹ÈCF«À4±]ðûeºÀ%ÒË!j{%¬k)˜¹úžcûgÊÄUm‡oħK¤€ã’Ï.¦Æíž¥ßGo#Œ Å´eí¯ªÈ†ì7•p‰•k Ù½‹{Ñu#j]‡¡Oå©XÜ]uj lùà¥%ÎjÙИm¼>¤ÚºÉœ&™¾ïCÝ¢N¾`–øÊX? ºA" Ž|h¥û–¶SÄÁo#Ç®7ù •¤pO-ÏT'$Ç‚=u‚ù©ºà†ÝSÙéØ˃®žî{9¤bwUæI)ILY{«÷ïX‚ÚX%@í—2À&ø¸ðÍêá•ѧr•¤ãa‚±<Í8ú¸ßêC‘Ù1!N]–N‹¾l¥E|@q›b”F>¾£VX–)ÌÁeOò2›Ô2(Û#Ï,~· ªŽø%‘'úÊ*÷ÓaÅ_ôfœ!£×è6Ay‹Çüy¶Ý˜VP›!€Œæ¢˜ð3;µC¼' c@a!>NñRó‚¤@ …ÏqTC¦qw)ôs¦dï€ÃmÃgaHsŸcÖ7­ÜÓ­oÝ)´pŒT†™Ä†4V¾=n¢¿}ò4zΊBHìõ0´{Þ§MŒÐœY^s!ßpË }ÈQfrb”’UË?6pxúæká™`{Ɉ‡T6 jŠ4_åÏžúOiÞÊcî²¢ãîYh»æ¡¨çDëöz¸Ç,—¡rž¨°÷G¹O¢ ›Yƒ×~ε¤µÆ´øMk äøÐtévÉË¿6Y"¹Ø÷{ÓSÌ¿&ÑZ|¾×ul³ÜWKhQÒÑ‘ÅM. &»ß\*ºPj4Êxï×»…GºSoÊ-z˜a^ ÑUa˜ÕÍÀ€.L=|Çôò\vUгy)vŠ—z pí » 9ˆ\Ò+"Ìí"ˆË§›#lNçøòœ½¨6DoÕñã`B6-ÐÓA’å"Tï×ÔµÒe=k­»&g s„cæ l·ÆwwAðUÉŠ€÷ÁË È˜% ÝEf0zRÝÉ)o·ýÓ‘m”{+$øþ…°%üþ/׌»ì˜I­#?ǰíïìÏØžÎ?ÞÐFáÂ=‘Ò<ÀÕ2%¢&38Ւâ­ŽåLÁBaë–´¼¾ÙÐy^IOÒЊ /C¯ðåS~‚üˆ£Ø®Ç‡º`}JW*ÎUt!*Ö_ê9ÎǽÔ|]ÊŠÒð†4{Å´¹øÆýÍÐÈêv¼Ì4ÐÛá܃ç1;2-úîÇ^ Šq>=êëSŠ¿¾Æ·!TBÛÖ‘þW¬œöÏ<æeÂþèâU6@” °À QŠávÃ~U³ÌÆWš{iL2|½‡±8HöüVzXKÚüÚšacSjÒ³m×>Ò7âA8>'ŸÇB*‹éËer`ávyG~™Zd ʵá{ÛGð†£ŽMu%3«Púuä-3+¤Î¦¬H š!÷ŠLÃMÔíxr¸Ué,Œ3ç½Ø,[‡£/Ýš³±0G.[žû=Û`ô{S—9ꂇ½MYhõ£Uûm¦²ã粟”|”Š4„.Í%±ö•Ù®8‹¤VZ·;:vyÏ/s3ôÎæø–½¦0x$ÀîÂÖóñs*‰zü„]¸S±ïcÓiii&Ò¿ùN†øî­{ê±ÁiÈè„ %h„HÂüCýbŸ•µ ja‰|Ù€‚#I‡1&ûýK•î«“ù§ÍÓgÀpž6`ø ®Y à »Í§+*ÒÅ»¦låÌtÑDžê޹Ùå‹Íw®KÚ'- ó¿ V$…Š1êd~2æ‘ ºÍ[ŠØƘÎsþˆR™Rdä˜Ù½EEp¿<ÏåÜÆxÈy@à\êôZÊÁN¼ez{Ö,çüF©u„…ˆ )$§ii#"q"¯?î7¥ <³«áºî%Õ„yÑd°Âh5Ç„}·.«§éÞ™ûÍgà*3è‹b¶Q4)Þ­Ó¶£!J@­ôÛ4qbF·ˆÞ:n¥7i¯Á~·½„ÖR°lüèd|„YÇ-ƒ¡ê0aÕ¾éÆ<|Ml>î7f™ôT,,h„ù-,Ñ ÆËxú¤D,ɪT…˜Q,”½“;{çe,n0á“` ,ôdci(áLç¨Ø4]DŒp¶é¢“ü(„×¥pæ.ÃbëÂKƒÖ•\=ê1}Ó$¡`p,LuçëuS¹¢æ/úÙ/Ág†Ätµëµt$Ç,ò¼:ÕcŇ^Q'j^´¶4… ¦3¡éÖYwæè¼–'k×ä…mÛy>t<…šÛ~)õSáX1DOå7ÏÆœlÛ18†98oÆ`Ñû"øŒ#â#Xbè2²¡òâvº:ã²Ùœö¨c6“œgíCSè9.‹D/ˆ>¯{‚¶’V÷”ã˜I$­5³ÅD‰XëøºU}=úì4}°Ñæ‹a›ÄÉÜj“Î?z‰.‘ ‚÷º•O2Âiüåùn£óO¦=0¯¥>1—b‹ã¹D=(äT*…Ê££­COÁâýB2D6|[¼9ª~i5ܰ¥MruçÞýŒ³©áøþû\ßÔä„qHvüX%&”|Dª†ÓZLíYŽwf¤YL]43ƒ½ì#k¨.´Þxjf‡03VÒ‡óJí7ž2ãölj8uó/ÕËч3zu>sÆvMŽÈû»|N|¦€ÐN¼%%f÷·;Å´Ö†/k†aˆnfIéHß1Çl3±Rû. õ›ƒ1¥šF¹—eèú XœÑ¢G˜Q~S}zÁd3XEáì+íÇUÄMéììãXlãÅœÍ …®ÂІ×fõBw–ú¦±}N:¸ÁóR§äl-üMžZS¡iN)0,!0 öŒàGî‰ËLx¿öt5;œ&¶$Iºšø$w±Åã-E³ÜÅZGÂØ×u6v0à;v²‡ìáv-1L—žýq8Ý×IƒdTʨÕOqª[Þ._—rî* Ú-mð øsã„ÖO6pÏÈïaøÃ-è9©NÍõ.úa·ÑôN'OàO;ª5Ê'&aý,ä8†~ ‹9 Ô¹<÷˜lÈU%B!)n %Èæ6hÛ¹õ+,¤ÎR…«)¥dp›î‚=hÒ‚…ª‹ÝÁšžfÔøiØwFÃÒÖ |%" ×OXŸÄâBÐÊÐ~QìÆö|¨³dåЗӼ‡.Ê]Î]öO¬)Þ¾Øw«u!Ô¨E ñT’D=.’ÒÝ9üág{üWЄ¬Ói m3½à”öwwµü“‰£0µWÒ^--×UQ·è¼<5“¹¨jmŒŒkAĤÇÚ¯E„xùB<õD£ÙÞ%-ˆ“7Þêk¬É:+‘鬱JÕ ¨îŽÆ¨ì‹_™¨éì ½Wá–¦ dT`ÊMë%Æ4®«å ²ä({Š–äzÙ(ÂÈâÄ=E4[ºw¬a^†µFh 4ºãËÙ€¯×;kÛt>˜â¦²z†ånœYv&†ïÑ6ÉsDUÍyž¥ã-èAm„í/|§–ä™ÊG7qîÜ ÖO­#åoTz5)?eQ,Ãé#W…jœu~»~!جB9Q< jû>=©HCýêÃ=S2Nv”ÙÄ$ߡʖDœjùX™WNFéL)ßK\AØ*¼Å½Üå\gcMûKq"‰l%dPæ6½ ÝQ¼‚A«Üf‹º %Sc2Õ2D2ÝîØP2•Ä,¾‹…ÝvKî=¢M¿×a(¬çïE˜i+´ÖǸ}g¬ãR) ñY§§$¦wQ#§’/µ*—£”3Ĉ¶ÆrGIÛËr~4ç<ä+÷ÂNPÜÛ…+®xlèœÊ®~¯gœµ–³¹T"Õ£Ï{& Á¥.ö^‹1¸þé]_ö¨;ÖB]Z·'h·òmeµl§ÙÁ]a1£}A`¦Èèdò®%,¿mJ/S#‰mér® ³ê—¬¶ï"ë¢g{•4lw*—!7ÐKzò¸òÝ¢'ì)uŸ-ù'E¹èðu–xU~ä³»“€ò¬aüâÒÔAcûÙ#¾–¡§Q†ýˆ4Ìwœ'f¤;_îðÞ »+‚ð—Óþj}´#‡Hþg3d²0y_߉”H‹þsv€ ³çõôe«Op% 2M‡ìiÆ#}\*¬‘MJŒ¼ÎDJw°„nÎg!À®Ö/tFÎŒŽA}"¥©SfBú˜1À‘¢ŸN ”ëOôø¸×îe[x¤­”Œ“6#·o×$öUµ‡È1Œ{M-ôÎëܸ,ÖY=¥?†ÄKÙ6 ׇ£Eôöaÿ#VÊ$ÑÂY|l¦ÁÝé=à”0vœÁ°ˆAcd$ûTEœ¥dãàÞOäAãûYQ~ŽùÍ·J¯Ú” ’ð‡´Úਪñ/>\n²å0°xâ$ÃZT,¿¥©dÉÏq35u¸£”½® óÌ!2¿[cƒÞÆèÑ£—õAK_ÛkÌò`mýÁO¹[þÕ}jܲcDùÕŽëÉvßedÚÝD/7žŸE¦Þ𷍄YV'L]T´§'•:eXùvu©¨Ôä™å×E "í7l58˜õØÚ_v¼&Ÿ iÑ ÂcÜØ¨çÔèU î†F†~¦dÒ©ö%VZê)Åêp1UEݤ¬\)'}¶zE6«œ]/È÷,`NjG"lT÷2%èø9#-ûZì–îvdoœ—æ½N÷Ii½¿Ä¨(ÃʯïÏEì#ðeO| ÐåË"Ír°òà–*L훹¼*fÄÕ³˜<’;ÿR©5ýÕgQ$íçA8,·ë.ì™íiì—ø¡Õ™¢Rj<¾aœ ÃÛ¸+w{œeZgÄÍvÍMˆô †Uº",ô°Ç:d‹Ÿ˜…ÊoD(+3Oqp‰[4%6}õñ­Çú}"Œ"çøfwÒ·èÕ ^ÂÂ’ÖÈ*,Žs£²cýR|-ƒ^QVù#Ë\¸ðÞfQp¤W‘_¯÷ç°²©tCq±Ù‰œ·±ÅW 89³‚¶‰C ¸²r0äôáÂÄs,𡳗mcm?#çÝ Ùž&dÙ×›Рtê®õÄDˆ%Tg麬ؼu`úÏÊ#æoø7lD¨\õBæ¢H•?NW9®†:m²ÌÅ/ý"PžÌvx¢ßÉ=*DÑ–Ûç:çZìè3, h³— 4ÀB…‰bkíª#Æçwíãú&@äÿ F2âgr“”äu›‚™îƒéë¡«ñl80€ù%aÉEß-"p6×ß³A-ì@UƒÞç'”…rð÷…nrJéο^^Ř-„¼5Hm¿S(R!Ä"(oÆ–FbÖÁïŠà¢{ص½áɦ¤j½Äè›Ñ>›õ~3ó׺ög¥êdÛó×Dѻɋ=7›@çÞ´ž±^ 2É&k-ÝZQÈ[BfIÌ`žØ±`ðÆ„Ó43¶ëâˆÀ–©ÀÅ66˜°Ø™,ö]ã¹Ò'zÄ‹á8¶O¸Z™w>;ircÕ·i­ÎåëÞu”?SRT¹Âø-¾ú»£î#J½w›¹!ÁØ)¬¥—¸ ü•ëBÐ͹h»†R–Jgì<ç/ú$imt-z}ã‰(¾8T‘oäçGŠpÎŒ”bÂüBËÓòhÉGñ¨LÈ%rÿO #°ŸVØ}nɽ©Š¸œsc²nK;~N¶Ht|Ûi†Ç°[¡ !Å`_)†ëbngs¦2aMÄÖYòˆ\@Hšó¹”X €”òwÔ>qRÊ×iÁ·>QØ ›Oè÷è0c~õ0®—w*¿zƒ8ôùjˆlšænwAÀ»,“OÐÌá(ÏK:9û±øó½R`î<Î¥êÉ2qñ± ½ÅæÄ¸Å;½eFƒ@ÿì‰®Ž˜-™Og¢TC'ÃØ—œcN6‚ÏYìšëäêö+AM×ñRÜQ¥…M¡ "ªkÙ)=Xb:¥nõ*D±³W{¼ËÒ’¼äA“[ o_;œà–EÚªœÍ?I/ÙÊrÍ}0pYxZ)0æ•ÒS. ±@ú,ŒˆýÊO’¿Sí ‘Ý¬ûÛ'·©¥ÓÝùQá‘Èà2ñ8@Bó¸&e}:¹þ켨§éÖît[@ÆMÿg‡sbƒ‰ÄN{ŒkaúNc­7ÊÕ4à•?Ú&““÷ÓZ÷A€ª}—¸OSˆDt\K¯@ßtH O°þ¿OÀävúyé0â)–Ý<ðPæRÚsÛqRÓͧU—†+ÖdŽr¥½ ÛÖû&iJö+~MdÈÛŠ )‚¸qGl/Ã.¢Õ‰‡íú䯧‰¬…èå=&-|íð•¾ÙvõlÇ•ÆÏʧ٠¢aòøTŽ/o hæ÷´ƒ\L˜ÅcQ̶˜2[DqÎ3Ù?vT²7]çf drÎ9Ê=Fà­›ŒÁaŠ67eC_Ø`–áû`¥&w§KKÈ‚}<^T¼©Š&{ñxýéTˆÕG·iq'hHŒ!Òn]èЋ%ÎéKÒÒð¢7‰ju#ÔÁ˜h¸$Ûjßÿ#®Â„ѹèw{ùÿåüÿ_àÿLmÆÎ®vÆÎ6ððÿι0Ò endstream endobj 23 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-53 -251 1139 750] /FontName/JASQUB+CMBX12 /ItalicAngle 0 /StemV 109 /FontFile 22 0 R /Flags 4 >> endobj 22 0 obj << /Filter[/FlateDecode] /Length1 1460 /Length2 7856 /Length3 533 /Length 8730 >> stream xÚí”e\Tm×èi¥»†în¤»E¤{€Áa†¡[¤¤APºDZº;¤AJºSºÞ¹ïç}n=Ï{¾œßùv~gö—ù¯½®µþ{]×ÞÌô:zÜr¶Pk 2çæçá—(hÉò øyø°˜™`@+8 Q´‚%üââü97{€€_DBPHBX ‹ uö‚ìà6ö¿²DrN@ÈÆ в‚;El¬À=¨ ÷âäÀ`€î_K\º@W Ìh˃…ÅϰÙÀÖ@{‹÷/)5ˆ ú¯°­›ó¿o¹a®/“€°´…BÀ^[ ¯6Ñ ˆpù?ÖúßXýgqe70XÛÊé¯òêÜ·r½þ;êäìÂZP[ òŸ©/ÿ’“‡‚ÿG5¸d#±|ÿ \•Až@[ÜÆ`gvþBlÿS1¶¿xÕåôžëËsþ÷–þ뮎áåüOÝ¿Òÿfþߌ ä 0áãáããG$"®ÿ3ûnJ¨-‚8Â"+ÌÊ q:$ ðဠ¶@OСÌËÂKˆ™øì 0¬¿öSHÀëàåì„üÿWHÀëŒØ'¨íï8€ þÃÂ|^¸ô7ó#Øü#CÀkuƒý" ÷?2„¼®ˆ‡ü‡&®@÷?D„E¼ÐmE)r¿ á)ÿ›É ¿I À«ø›úJÿ(B^ù7!¼Ô~¢¦æoBÔÔú‡Äët~bÞoB<̋߄ðÔÿMˆ*/ÿ!Ä[Àkõ›žÖ¿ áióñó!Úþˆ!ÿÀ¿&ü"|ìÿ@„È0ý‰W Âü"4œ~#?Bò"4  BÃùDô…ýmêˆ/üDh¸ý ÷߈øÊñzþˆ¾^ ¢¯÷ßø?ß>yy¨§7âÄq N&?¿ 8@T˜ÏïMÔ‡€\Ü€jŠˆÃÌÇ'Š8"EmÜ`0 þ÷çñfÿ›í@ˆïè ´ÁúN B¶àzÂyfù«u’áå·¡)¬¦Üý÷ÂçYd#½GØ`tžiǰ7¯t~Íà^ïêD¥\²Ñɼ­ð×zÛznÞáåEU2OÆa7Ðh²r&Q½Éý¸Ú…·åUoaRÉ™%ìcŽŽ¿pb›wn>¬¹™ìñožµ-1æl\‹Xo@’°™TòЈç̰8ÿ‚V°5&¦ðú"@ìçôZðͽþ©,·~Àx•ê«ÍXÂïg-e¦t*#óбþ]–TÊD]”J¢Ûá‰Ðɘ&TìiÒ™‡¹'CJäÚÞT)Õ77LÙ+žÿ¸•™˜‡¡;¹w°tÍ pÒ%|ôê]®E’¹°¸seüˆ–àÁT³¥˜Þ¼ûH|¾1–·Á~ã½Ãe’ÿmÇG37iÉ€#Ìž²'½n»Äð±á…ëÙÖ`Å ²ÞvþJjÁNÎÐ÷†Š£‘[Cv"U·äG³„:ω0ç?Ÿî*ž—Å_w¹¦¦GÑYZ‘Z¢‰[·‚Ì©ëü0ñðçŠÀ—€;ìí²Ãˆu —ºFwq-/vû5ê”§€(©Ô°ÉuM½Î7&‰¶®Uª‚MžaR—k=ÌE ÑŸIbàèLS¯ƒ˜|øtÍìN/seª”w }fšù˜Ýu‡—…­#ö—fØžQG’–2ͼOÁêÍ^•~!¹¶Ú“¹Aß5,±Íw‹Lmóخﭥ¥Ãì6còîuå€ú­æ„3Uj¶V|Ã=kœ°Ò¦à`ÁvŠqý¦T§àÓ¸hl"ç.U×ϱ ÜhTvË”,DÍN\o“"bœÛPcI ë˜OŽÅ)öæï@È }"3‘vúæ€-\^QƒøHÀ"üCL¶9 á¥+À…T‡ÔiyA‘"›‚Ö‹Z-—Í®'CžØü@­(GØøù–óæuÍ.výaeÑ0á$©½ŒªàÄsó1 Y‰­6ëÃÚ]Èb<7Ønúü!ùs¼àWq§tÊ:bÞ3`¸Äxö“o×@·Oö&iMdJïh¥uâTÅ×'Çjd‚·ò“ÄWÔ8øøŸ ¬4¥¹Åp4¸S\†‹£ ³¯f±äbäÃ\zuj›iüí{o“[0Âvõña!ƒø³˜!þ÷'aôl¬ x­ÏžUPÄíÏQéÒÆ\ébx‹?Џt¼’¼õoÜÏóR(Ð^ÚY­cõé{«èÝ.Äá°øN‡€79iJFû!½ŸiÿF*ð&nøÐ€F°FÎX•½ÇC˜¼ø+,¨÷f‘å§ ‘Td¯‹ˆ"òb/_ýí‰~ã—ž±±FÅ‹×Eý"#Wö×4Q¡YƒsüB£ÉÂ[S%Œó» %ŽE$'oäó$)2zÉ 0ì匢ù à4××&>„Ñi͘™7˜—õ5¯¶9 Ú³W’—È”"ç-õh”˜ì=gAø]>ù½Å—ÇÏ+CÈc¬â½OÍZ ÖâFAÕ:aß6zçë¾Ød=í~_¤›©<6F¦²¼ZYÁ~0¿S¨ÚqÞcéw—ÅBŽ !‹™Úø¿|á°ð¡~t–*7ÚL½~zÔmgh"V4qGÄ/]Ž—fg­Ñuû.ß‹]œWor'êãs›šrê:ϸ˛¡]”ªYcS§F#‰Ûï ì鸆<OÖ?"möo*ŒÞ£ 4®â¡=äÕ,–+?©!é´VP{÷ÈìÜYÝ.C×O«÷Ê¥Y¹ìN×Ïå\äœ/±Gð^Kâj–}¶/‚sÈÚІ‚¼5üIüÒYÐò³Vd‚ÝC2á1¿¢j2{õø þ†Ú4·¤´:[·Ødõ¸¯y_'yçGõ·;ŽîØ)-jåa* ÑDõ„¥lÅUylòH£ËÝý8òD§•,kî&ÎÛéØ$vq£"$Ò²Õöß±ê)³–< ÔMúšÅ£Ê! pŠ©;uï§šŽâÖïò>úz¯ÂMv¥gFXµé9Bd8‚òu¸Ú˜0¥ž͵¾`qèš.ýÀníã¸í6»aߨÙÅÈ×…®õËŠg}KÇ5ño¦£å=pKšÀ½Ö<ŠFît†¡*rñ­Ü1«éªÿGÒ5œ¢BŽºc+ñòãõÙóNÓ®jTyžW¬Ÿ²å¾‹ª~ܪ]º­úÀ¨„Ò/ÖĦ-A[ãUÏ-¯O€1ŽÃ(z†ܦò)<+Ï2<Ë´µaócÖx…­Oò,3JD&Â&–^J<1Ø'ìÕŒIίEüEïS6=Ç}1½¡êðr²íîË$om -· 5·x¼ r¢¡¶ˆ (’cúW¬Á®ŽÆ¶ ‘ڑﻌ—À‡£3½„1ÌÉŠaqˆiwÌ‹åáæŸ´ãÛá—¤êòüŽ!u¸õ,¸ß©#ÉfÞ%%µAbÙOCN¾½~ªÉË ~¯Rê4‰æ3ñÚ,ßrr f¤z•±æ¨ˆ-2ú­sÆÑy{Œè%%ÑFfàŒÖ´Á'Q85aÙÒGµnT½¹i·´™«­û‡X†ý1W†+|<1*Âz?P< LY„+cÒ;oF¦C$k“ýf(µ”F{8c1ŸÚÅŠ9Þµºá¾€W¾‹Š©*ŠhÌ3„¯´ZškÁ*^¶?ûÔ'—-£–¡Á#–°Ôê›ÇÉ|oÔ¾¨b9Þ5þ2Ç)×µù43Û2?ƒ¬¼ÜÓn» ÃÖÂ%)~°¡~™íŸ±¼ÈmE´×û+ÉðIÄòi‹½ M´·y¯wmòeiØ>‹Æ²öÒa•¸§öºð³gäF>ŽlÒsÒ®÷ºLfÛ"¼·OE8`Ø^Íkãhô•”…%©oMŠÂvȰà cá¦*ß!Crmì]þLnXø#´ƒ4¥™ï#»Õûì žÞï• ïû/¢Ô«ÕÂéøÓm“g=8ÛÛ ¼ú_ŽÆ¶¶ý”|¨4žvÿ1hÂmaÞô(…Vô‚Œü›Û¦l³Žzêuø˜v ©­dšçüO$à³-nfºf]AÕÖU$Ùë°ÛŸ-ëŒÎµ'ó0Ã)ƒðºH¼S‹éâRÁ[ë|zvØr`ÿ5kò§’×ú×FlàÍ ¿©í2+þó’ (Ri•osòÌPÙúÁœ›Øuª²e tYk¦£ëS¢ùµÞ+ô²[³†ò%Œ”µ„ÌŒÏÙ#íÐ &­1‰æ#l ÛZ ¬ áH3Ûg°ÿÓº7(Ÿ¼²Œ õøšÕ*Æ:dòÀ9­YWüP¾}¯Kbÿžz¿—ûe-y½Î,œDx"”±,7.õÓú'¾”SéÍ¥“áaôo·V“¢]æÝ’œZŠæÝïVcèý5÷äz¹µšxòA2¼qµ÷b&˜²rü}Í/XXó²4e„Œ"Pz×]¡ËŒ•z&%Æ'¯z…É+·°æd%µ/«›/ªÑÜq±Ž–bÒFuk ~ŒØ±è/¿=yÇ“<íããÏøœ ÷k‡E½«GPŸ†ŽDT¾zBFüSÒ41'üiâ !銩ð)qp²·*V”œ«>îÁ6Ák§ßÇæðÈžôKcM[ŸjrÙ„Çî9ñžš8»dè¢Ïëqd7Ó¦·†sãê‹E{­à÷&x5Òs¶±´b‘Y%=dœ%(?7íísÐ^DoanP´ÿ æNï›>»É-}oãŠ=8ºmpÒÜ[Ðõo©Ïë!bW×v'¤àçâˆÌÒØÀu³õ8 Ú²Ò‘-ª ‹IÖ¼™ æoõ©`œoê|ëT:Ó‹ÂÊóÅù(O­-Ìe÷<“x[ÿZž ¾Ã\ô³ü•bR¿"W‹e ñà7,~“:èõ"ä§ã'¬OñWE Ïl¬‹›Ò"œøå”¥ÝáWGœÔèýûžV 6áƒ×ÞžÔ5 í›–åù].ÅöŒ ×Iþ6(ö„WµÔÁïQ?æáZ‡äô[Y™ Q‰2Ly©€3…2d8RË—âQt É!uǨ#y|÷H®ãÇØþ\ ÍjœÇpÔܸ˜MÉ­ÎÑqH¼ø$ÒY—0pºàÖ(Qr°fjõb¾½ãÀ69nL¨–êunê|ör›\Z°D›üÓûÖøó[säú9®¸××í±ÎE´ZüøÀy†áx•h¶öòoošhï³¶2X y Ä®2ÎwØVrÞÌ#½ï:%ìhv\+ø&+1¦.yZí\±h¶¬ÖØå€Óíaóò`/§Š1õ>|¯;Õw³A·&’WêθØÈfåuÄ ”œÖ¨ÇåA™Ü40 íDᔟh|¬éÈíõ“5#;â01j}ÎWN³[ÃHd7n4oÑ0¬âî0Zíä©Ü¼QgØËº¾}.¨–+£-Òç@š[ùyŽ‚Z‚6¶­<›ðRr×ö»Wr¯Ó‚=V*qàÁË|™î£ä=Ê#Jk/¶K3¢DœúºŸï:‚kÝ4úRLæ2¾N^¥±œ÷ú»ÆÅ8&Þ=¢ZÌØP3Â{g™™Jƒ¤½øËóƒQ?«~À0:7µ¯œFþ¤¦¢­‰Oò‚½I`u¸eyø%ÖKšï®ìmôkz6HÔgÂy{([1|9<"¯gÎbÒ‹˜£É‹;ë½mÒ¬Ú.ŸTªDˆªÌa™yû£Ö©†©Z07-WEÜaÍÏ÷'q®ºÍHÇÚÒ®öywû¢$ÍõÓY³6<½¾‘)ô§øŠ—h»_Þ„Îé>„g'~ A3z§bu`›­~TjÉJEfYù4÷ÍTíØLiuæo< ÊïmÜüŽ"Bø„’•‘Ú¥ô`~9ïÄ1 ·yH,±±Þ¦Æ}î_ÒÏÓ_ÜÑáN‡OhÀy)œ¿¾Ó)ZV¤n4´6ÅZ¾Ã{w­Roðž$/óq.=£Ï›†ž¼«žsW%ú«g°ÅCšœÕqL‹EÙ0ŒÉ¸a`Ú>¯Q¦Þµ@&‚;Íœ=£wL|ñÚèô)ÖœÌW,·µ;é7›j,-¦åCv¿i75)-:°Näû'Ì(ä¬SsºQgl;ž¸Ï¨Ë¸†£å%ôÓ =ª ¾Ùæ ÓxFM¨·wãÉm×Ö6å‰É~+9&½xÊ!1#-<˜€’óëK]H9ÆC%Üß /ð&«¡)‹.LÃ网Ú5²Ë¨ØèÖW±·ìçÏFR/ƒyQ'Tt+ÝæSJjõ‚÷Æž7¸Üu'hÛ-ýÝÔkòL×`;'ø<õJÆ œ¨xi0+ÈÛŽƒä+š2í}“ðÖ´aêÖÞAÙúø¬­c(Ÿ•×Ãpé§oŠp7X„ÏêÛÃoeheŸ›zyÈ#Ô"*º¶Ou¹™|Ìø¿¶7å~?‹gùqöh~þS¦ÖÁ=ÑhJêÝ ª´Dñ¿EȬ­tqµ/ ¥k-¢Ñ$[Œy 5m(͘Ò×ÚIÈ‚ûtñ´d“¦À×äÅÏHU:æ¬> ×°ˆ,Í9ÿôoÔUPÌ>((…ãyÎ…xÏ}õyxLÛȺÁ…*ö Q Å^f•Õi”‡ýªì²ùƒ¾Z$;±ýLnC3”ì¤ù­I•„“å²²ÃÀA+­ø%±y‚RNÔÅÿ]ƒ›l3‹jTÙNÈ 7IXËÐPóµ…SÁÉ1Ðè½a¾#…c¨šjpÃPVËn=`ê§™{¯e(®ï…;¶Û}ÌýâC€š»/Ÿ=$2>À-z ™¸¯äkÊ›ê*u`궉Ï ÿŽô¶·²›ä°X$ Ñ€ßH’hºDè×÷;ÃxÁ9µÒËŠFœÇµë½]²ñ±ùe§ÒÖYÅv‘_ZÕU… Ýí#¼Gñ¾:cÍOµžOÏD#9(Á~ ?k¦u…rš¾†%xÀW+—“iéµçŒeœj[T!ÓYì:PÃÁåO¦ÐRðN“ñÇ¿¯á°M‚iI³Æžõ*q0ØOÚõè&e_k{ÓÑ ^­šôàW•)ðù‘hÀ†%¸ ŸrdÂŒ¡„l'#çÏ€>FŸæ»©TðÌ̸¤6ñ]ˆ‡·õÐy©S2ãåŸs)gÏ{±Í"H<$ûÈ‹ éÌM¸âs¶á+•)†HtRw³‘mRž³ñÚtX¼:ê—ì¨H)î稾) CoŽëˆ„r‡üØöt0­~V!Æ’$!ë -••'¶ÍQÐek¾pQ|½©©u\L<_…ÄkÇel_@l½Ð{/ѹ¤äûéùÉh·Y@K±Ì{‘*xcLôÎÞ€ÐÕ•Q ÄV¼ÖÙ ¯äˆfvÚ±€ ‘ÑÖÝc7(Õ–ëžÃ*ãF=¾f~ƒÃ<<Â|²^Šú«S³¶ÃÛ.éšø|ORSÑѬéÝ9¸­:õÏŸócÜ|Pàl®#µS¸×iõ}&s·Þ0äf‹^ »—ú”ãvå°¿¨êu¹ý?ßÇ3$VžÊ3ÍG´jÊüc ¼(÷f7tëuàörcé…P9Ò÷ªÓÌÅMI~~)]êôÆÎMÿ{{ܺâÍ/œìÑTºàåâÌŽ‡Ú®äDwÿjì°Øu’ÿà#<š;t¤WQ¯ÆNæô?¸ ˜oßù |>`PíQ®!íþnìÇÎ8JÏ/ï—K²ï’˜Üø,7ò¸J£„TANƒƒ/þÈ"IÍ`àÇNR«GÕí×f'Óïæ7ƒú^Êþ ¶ mx_-X´e—ÔÝPç“΂~±âÕ+æ­I†mÈø­ÖpCOÿ…çìyqUÈJòÚæ0ÁK5 â¤@ê 7[5-4Ô"ï‚T¸`—4æÔ:1sÄYe*Äšå ð0Šº¯6dñ¼ÙÝ",;MJ6’ÌB_(…–Re'(kwGbÍîÈÚ<Ð…̬4LRÕ›ûò©Û[_GÐ ÔmS6ÈܦÒo×ìùckS…ä]ð=‡&ÄÒ éÆw£¶M)†¾¼••ñFÉ벬 #r¢hó ÷ÖJ’I2î{Ax_y ìXƒ[8‰Õ¹Žõ&nf4î—i —æŽfÐâk° åù±˜wÿ3Ú ¯ˆ´/ÒÁW) ŒÒ„¤ :wþy5m³Œûe| 2ºû·è•o.üE1 ô;1e1mjíð­žóƒ°¯p&üÜÛyæ?O¥˜­žU~ o?PVá‰ø¶m ÿ±¥tbz/'X¨óÝCu˜³\}Éß&ÿx-£:Š~á~¾âûöªð vFM§Ž9æ@^6ûêŠTÑ:Þ……p9†3tÊÀ$Š£Üò>»¼¯øfI¥©›hP-ŤÑ$Z°óñ=•¡Ïýâ\§iZ¬ŠjT‰µ¹»Ò¥7nÛ•Ü쀹[Ð'ζŒÀkm *©äoAŒE‰Õƒ¯ùNü#>ðÕ µÍp¡-¼ù%!‡´·+OÎ9¾L´AëHHšìÝçW¶—02ö-®³Tû %º¨ôÍÖ6¯–#ã«§Øüf½¾}è¯YMžÊ‘ieÌ“w¤¬£9úàN»{¾" Ndzš®F«Þ}¯‘ª¼M'é $W]¢,Â7ueœbÙŒñ=åÊ \KABí­mÚwtR$ôQÝ€dhlKpe|GNZ'—:dQý8$™(³¨Gu%,çA®Mæ~æˆX]Ntåfü^7ÊŽsÓgäQƇ'ªÕ]Ef*ëå \ûéu ‰ã.«€õš¨Mg$g6’†$&}ÇϤû'm¬f@ƒ0ªöŸÎåÔ±±Ëv|êT~ÔÒÙžXÔh™u[¹ƒ“ÈPæ*ððŽEÒÏUX¥@æÄ†&XøùK‘JúwÌTµ4Ù2Vî¥îwaF¦+JV â %1ìÞÌ Ô³GIn™?ÂŽû‹DëµÓ§²S…²Bó¦È˜ÕcŠ?_uìé„ÔcNÚäa~æû¿üaýÿÿO°­`p¨“ìÖ¿.I5 endstream endobj 30 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-30 -250 1026 750] /FontName/JGBXFW+CMMI12 /ItalicAngle -14.04 /StemV 65 /FontFile 29 0 R /Flags 68 >> endobj 29 0 obj << /Filter[/FlateDecode] /Length1 1391 /Length2 10365 /Length3 533 /Length 11226 >> stream xÚí–UXœQ¶¦q× ’Â-î®ÁÝ N…S8Ipw·àîîÁÝ-Xpw †î>§“é™›yænž©ºùßµ—|kí½ÿ**2%UFS;c¤­# … &//Í x}ffF¡¢ƒ€ŒœÀv¶âFN ^ '@ÆÙÀÊ`ææåàâåà@A¡ˆÙÙ»CÀæNZ1ºxqDl@°‰‘-@ÞÈÉdóšÄÄÈ jg9¹kk€Ê?B* GÄd DAaa˜‚MœÆ s°- Ó?dIÛšÙ¸þe6u¶ÿï%ÄñU€öŸJé¯:Míl­Ý¦ 3&»×z W5ÿÇÂþ7ºþ3¹¤³µµ‚‘Í?ÒÿsXÿ˺‘ ØÚý¿<ìlì@€¼)bûŸ®š ‰“™‚mþsUÚÉÈl"bkn 0²°™Ùÿe;J‚Ý@¦J`' €™‘µ#èŸv­é*yß?u0É|Õ’Ôdø¯Ýýת’ØÖIÍÝ`þãþOfùïS‚€ÝºÌ@ff–WÇ×ï?éýG5 [;S°­9€•ƒ`¹£0¿¦båàx²À¶¦ 7ÈíU2ÐÖÎé5ð:/€™åËÂÅ`2²¶·0ú‡ý¿Lœ&s#›¿M\&SµÓ_&f“#Øü//n“ýë>Û™þ1ñ˜LìþNÅùf rtüc`}­öÿº_ÿ¶q˜DþЫÑ?ô*EìßÄõ-õ‡^›‘ùC¯qrè5Nþ½jUøC¯2ÿMܯ9UþЫõ?ô§õoz=ÙLZãy]3þ3 æ×NMÿÂ׬f!ÛkÛá«r‹¿ðµ(ø/|íÄò/|-kõ¾Öµþ _›±ùƒ,¯2lÿB“Ý_øªÊþ/|•ù _ë:ý…¯…\þÂ×B®õµÛ_øZÈý/|-äñOü_o‹¨¨›'#3€‘•ƒù“âpq0{ýÏŽê¶`g´8€ƒ™›‹›óŸVgdëôÏ÷ÔëMüo6¿^^È d‚âËîþµ”Gt‘y\ˆŽ.ÅBÑ÷C'vy̾‘²MNOvê®§9Õ$w³§¹·Ÿõ§þÀ‰¶¶ºÆ©©Ê«ÙŠwË,ÕÙúÔÈ ‚ó‡Vyä*_”|œ† ^àÎÖµzúàrG‘%ŸíY´g׊Ûn­ÐÌáRp+ÜÜÄ}yY»œF‹ª Íñ¨Öu•¯F/{cÛÅÄ—ÄUű¬£i_Xz£*ûÍ­\À 'BÆìûiƒ û)€ùin 6’×Ò¦f层ORuo†™E¦^†”Άá,Ô]„$–ji¡nwþ~!¸!-;®'Á×Ûs¹A!æý„æTºßFêjOKö“Ä6XbôÔ!—…d¿IÚù¶Ø¿c¡ÿ˜a§–£ÐdòK?P`žësŒHŽ; ¢â á/°>-ÄUÎÅž|¹Þu =›¶Ý!÷.p²[£³Øâ ÁÕ² 5ŸÛ;ûˆ‚½ëú2&Bö›OïV… kSxô`(E …\ÎoJx™&Bž>8´}£—>©ÌfÃ)PçAªUÆMJ›îZ$Ú&TÍW:ˆPVϸŒ6W–½%LFd鯆t–¾}´Áп?óìãÍçïnÓ‡šÓü#;pGqŒH'- Ÿ§CJlèÝû¡½pÙ±”ù Œäòè”yödVÝ,§Z2ä|.¿¼EC+ÑÝ£à=BI]âå÷¦®\­Õ _Þ]w]ŠJ¢x`3ïü­í¹.7|'·Ðµ¦¨Ht¿n®­‚Sðp\Ø[÷Ó>Ÿy(4egÙŽU†\3‘ÔWåRB(êh†¥!³Ä•ÚÚ…‰·˜2&*/ûSp0õáãÎUþÁˆ (ȇ«¦~ ¾„ó”z hMbvlÄLøîmÊ2Ç€mfÆz_F¬ÛÑðÅ_GVû)òŠ­G5c²¿ÔµCßÝŒ©óeôge×Ñ<ùLò+¢Ønô-Žûg8Êj£ðòL8«¡nLï„¿RZ]HUæÇ„)ï¡>ºïYÊöMw©T«£Y7¨úb×’è'e1·&LàØ˜²k¨ñpGíãÞjZ9,¤üZ"þ‘ëX@®¼,ãX#õ²­Ô¥ð¡×*?dQé(Öq´½¥ÅÍž^½Ÿ c~· uÆÜU.%_Ë3boǪìpu;·¿!‚1#ÈËÿMì‘—o¬B}=!_·fµ1% ãAœ¿LB‰•½sFT;gv5h3î }SÒ~'îvûVêÊȾô8¡l„>"¡ßÐá¯èoÜ™‰Je,[h°€;{Abç_¤ÊG9v÷…C~†Æýü‘˜Ð¥îØš°í§wnCнñsK¦‡Û‚–…N¨áþöËÁœpßÞ¥ž$Ÿ'Ù{Áo¦´9¤ýL*ìò^a5̽¶RåL¦§ˆxÛ„[mnRLÑð…ü.®IqQ˜Í\¦hÉòã/TÕhHùµê×øDXû£n!žÁ?”qל§ÍÞ÷ûq–$¤o÷wÓãîÖDàU¦Bxæ&XnîÒ“~*:»@2± ¦EÖ{Û =ƒ!åF'.O°›¾g"TA±äp°Ô¹ú3dFÙFÆaóòFO_Û÷ͽeG(·Ý 8î ìGâ辘 qáN´ŸàJ¶ø$I%Ÿó¹YYŽ ±Z´ÒÊþ.=X»Oÿ‘ȇ '…rìÓ¤"ÎáÓ6óU¾ø† #t ¿#ýÊv¢É(3cO€¦çÅ ò í®"!¦ «ÔQÁ„qtŽ[)òí.'4RÚlêp-‹õTŒr+&Ê]iºM’MÚ•à5¶ß]@ó‹&a3fNJ"p†ù(WÓÉà¿þÂÝøHpfÃ/HR:!þØ<@óÎï ÛŒ.jš£íÔúÀ1]°;ƒÏn¥ßýñ3#ºn’!8;…“¼>šÒ¡3²z|+eó–FNÅ×™eìÕ^×ñßq½%f¢Å¶ì7.gφ×ïœú\v´`m›C€Ð6B’KøwþuéàÉÓôäí÷ƒÌ¨9Œ=‚˜[Uq0hßE}%» ËÇ Gå`¶˜ô|wS¿æyat.ìâ|ŒiÌÞ\º± Šì>º³†nbɰeIÒ'õAÅ»’KÞƒðÒN6ØV2´J÷E#Yæ¸:F>BZà ò¾ ?«RMŸ°©âÆŒ¶ˆÜ^7ù5ºd$ji… ƒÜ„…Ò¬Š{±YAÖ«ùe+Éž ˜O'æa¼ùŒu3‡0ÁÑx Þ‹d{U'$¸}JuÁ4Ù"r憵Ûú'® Xÿ-L²F—ñ|~*ïKÞïä­yãt)þBb^¨üÒù^°yÈ]ª†ÚQª¾þ£®Ë³ÆêaˆÎ¸æ9ÎØø‰‹ûŴž¥­ˆtŒNäKïdBlsR(¹ >³„ÝÆÅÈQ1̧PóÌ͹×Ò$?Œë„¯t5( LòÒAÆðÇpB“–ãå®´`ít`ªöª¼g®edŒÑö{8¬oož¿Ô6ž% Vî#ÜEJmu¦£Uþ0õE'‚-±˜^?àðÅý!qH°ÞïSÃå—J¨Ö1T¯„¦PiX«KóÆ8ÕŸb-äVìêRuØyý €…}Y…*€4 nJë¥ý*ï©çbåଠçªÏ¦L×WÖ°/áv}BUêí8Å:”¨y¹q\3P7åo2I´ÈÝš{c¬0§œØ]í«;¶ŸØm@‘ dÆF¶Íqlò¤©"«ˆTçÈ´ìsIv\ïjuËô¼‹`,(A9H»Eø–¶z Ã’~ £ž!G&>Œíºœ£M^&ÞêI¡t]ï2ùu4ÔÛˆ1צòõ-Êú݅çGu鯸&ÖžŽœ9÷‚†² AÀ˜¡!ºà ÛpvcêC,^èᆰí6îÀ*‹€Jÿý¤ ¦¡‹ ÚhØ‚íô1³îE­^Ä uòµôÒ7µÏc¸ óº.4ÐÏnX šCr¸o?y!îÕ+¹¿Ó†0º!ëÇ4U>À>wÏú6SªJFÇ]`çÔì /\õL`7è×¹"ÕÚ†i‹OÄ k½] Í«|¾;{qqÒ7yI£Z<ãea1׿IGD8W#n6KýzÐ"[¹h°ß®;žºÛÙ€šËö«BÜ@ØhÁ•0„:OR^Zy,à¥\˜fÍL@=ŒÙ^Ž+Õ”²'½%ý…™çLO‚n;4ä£R)Ô"IÇtD0?ÑÆg_'hŠÁʵʒ†×¤±…w+%t_3àíh®®¬²$ï{¿ëðq‘ºõ†˜.÷Iu 7GiT5m¤àª«Ú™ùMxªZ„!‚ÖÆH…0×0]଴ъð"ݶr‘aSš†ž§1Å;°ñã(Ü•á'KYé÷m=y&±8:«åüƒð:ˆõJºj|‹}K©9sÝ)ùCˆ@^9;Wì¤CÇq÷ï—…_;ØgYQ!¯3´œ …”£¶\pö'`¾u|õ÷)rNÏWš+¨ÇT³í~·Ôã‹ï =ŶÊ@A¸¸g÷ý™?Ó>4êodªûçvïΡc˜VëwEÙVå<Û9ü\Û09á}b©0cCÇeâs VY0ïœÕªEŒÆG_ûs­Çj½]Ý·Óx´rS¨Œ§ç6ÖßyOº—оgwSáci½<Æë ùyœC$é…Œ̶ŽÔO ¯€.„ዲS×xK«l¨ñíã™.q¤òâ-Å…æçúû‹ût!Ær¸7a#LAÞ2* LÈW1IòvþÀòíoCdn[þö+8KÛ%;<~”dék‚¹ë…e\ÈHŠ÷ïCd¿…|A2hyx#âfׂ« û9„}h}1³ØrMì¼_³r¿èØ‚~À$èRÙd'q’–HÒÆ›~#š`úB3ÑÇá¤è`hàjk5r¶ï³|‹r¬*ŒŽSQFYÉ-&+m|¯Xnx¦Æ œðý1 œ•LÌMèz¥ÃÙßÕ ÔYu°žyÄK 8óž©åï½~[<É®´ñ+Ѷ4¡zþa2V3Ž1ÃBÒåcFÁeæ3ÍN 8 j@~ÚÓ¨ìÆo ÎC"þc¼nC‰~bìznz›ñxÔ.·Em«µ‰ÒÝŒ_ð}Žd @s7˜Ö¼@9õ&ˆñhif‚¬7 ¥fŒ1›®Æ?AïZОY¯‚{(<ÔŒFÎ30ƒÏµÅjoZ¾V}Ãð!÷$oreÙ{“s°r4ÚýæZ…57T§CçÑ^)v>HJ‚çQ· Ýt›Ù@Ó;5Ø]ˆ0O4yJ ÞsùæèÓÕQqþ˜W!*šq´ýûo¥RdÅf§Õ¾ó°¯C®ÜÁ£?ÙˆÜM¦XTIÖÉþwáN—NƒŸ‹ž¬+Ã2Ô„>Y 9¹‹2ÒññÄsÒ¯"é!­ˆÁ qKh„ß Ëx…ØìI$ÆïÎô±gâø›ñ—ä(¦XñŽû™ëÇI1aZ^’/ÎßÓÇŠƒ 1š¢Œ´Û³mÚ~Â×ñu!åU_wÕÀˆº,èç¼c˜¦œÑ6Œ'v/#š÷Ú514ŽéÉ•|㬜Ò#‡I²ÿçéÏΰ¥n0Ô~+º¹z‹`–‰=8ìRÝ:P|<‘…”ýüÈF¢z‚Ðîìƒ]3ÀÞòîi?ͤúrk´BÞáèO¹ñ¥Ä<Ì]†}âžDyyUdÚ+,¹ª¬ùª„¤‘*ìùVh‹4À²=ñ+QøþÍkõÀT–e äÌúa©š¢>ß1Í_¿(’刯ƒ†RkÉÁ@oY÷@“ sÊ‚žOhÌÊwZ‰¾ëíÇ^ó˜ddh—ÛË"§¢…>Ñ_¹[ ƒÑ‡rˆ¼Ù™Ca­o5´ŸJÀ~¨!ä™HFk[ÁðòùxœjN{~õÙ÷>¬Œ/Ç_ï#<+Æ¡N1[+ñ.ÀXJ^T*`ßT6—#eÏÕÆqf4 Ña­ÍÏ›#0K7ÏÞh‘=_±ãiëaR³×FµV‰ ¡ðS9™ó_ö´­â‡ØÊ­­þ C9ý°¢øçøff —b "È!yÀEe<ÇÁ¤r;OiÓøÜ]e[Ôøˆ·~ÙFèTzDÈ}l±ù•Â2Ž)³X¤š¿E «Ì‰—«O6‡›Üþ›; ³: JŠÇ)Å”Óÿx5hb Vè>Ë@vݺÍ5Ù®ök;ï™ù»üDþÐÞ±D@eŽm5  »cÀY’íB*ö†ï8çŽK±¤ö¨ÂÝVXS žýpÁMVÂjF éh-oTËš³RŠ¿Î$žŠ€–èen1ÉÇ÷»që¶ en@ùîPW™pŒÂÙÙÛÉ tRÇ–ÒXnR£ÙcÇ÷å 3ÉçBáXwÖñ)gP<¡\¦»á“3—Žã©:"*ÃB?câ{ú‚¯•¼Ú;›‹{FÍâ¦ÏÄ Z¥eqëùn” úŒ}Õ“ÃÆCÚÓ2´jÍØ™=&ùìˆóä÷ŠèFô…¾z¯lÄ åež6H£ §6ãtýh<{G™?*Ù‘PÐx iµ§Ï›X$.>8˜kÀœÛó<×­¤é»ô¼ŽžU6°#cDGp¼õyúžµ©DpÛÄþͤñ˜H¤ôã;KâUçwDZár+bÒ†6¢–-àÅj’¡y€0"zƒƒÅY˜ˆp^tUÂäEªËá><ìm|wÝ\¤t21„xC%·i?Áøäwèmê¯@Àÿ(/žâ2ÚHÕâŠ"%Zû ЏmMI¤Œ,TVð™¨Ply0«ÙÁ]"ú)8ë³GKØøc®ns Þ©Êûð¾Óžòè/Òi‡½dŒR:a_™žJÍå×úÂìËøš ¥yŽ­^ž&¨Xö¢ðˆê6âåw|lûN×ßh)ÿÎOã`„UYö£ú|±É“§û“&¯Ø¸J h¾Pš9‡S¿ùMÙvÿ6þ'rÒÆY˜‚Qw|Œj!S¾lbéfPøìrZßÑu: âð¹<îÙ]©sh,½‰ÒÈÏ´Ù¦á(µ¸Ý<]^Íþ@eÆñVÊv‘^hr/â£VB½³VG®ºsªŠ+”&Ô:¢£ý-lâ£Å‹Dˆó—U}-ãª^ìãŸN±˜ŸôÉ/>”oM%z¸ÁøqJ˜” M}±.é’Xy‘6\ÿóÝþwV50¬‹àØö¤b‚µSl »<#\×…š» R¥©¼]4 ,Ù»t7èÅ.…þ‹eת§‰†zÍ|¸[mù;.”"ß»YË鿢_7f–x°Îóa»Á>vúǺŸ…Kp¼Ô<ÔàGS%ê­Þïæ8­„+Ì;×[u¦ö¨cµ@2øTT¢ñ­HÔxž¿l‰{.¿M{3`Žo‚%èPiŒÓûu·ûô"-W“À‚e$)ŒH³ÿˉ.„ }Æm~ Seö,:÷ç@´ä:õègÛCýv‰µüÉ|VÚÞË<µ/‹R!ƒÑ)í‘-Èxræ|±[ГeŽqþ?²üÈ^›^tùh¡sö²Î)«³dcäžƸŸÐ&¸J{3øÛR™ƒR~ïí'W½?VNyý³Ô`/f`*»_}0e0pÅ'Ûaxkøæ¸Dœ`$Ý—:ú‰CÒ¢kÖO´ 4q˶uͬ6ä­ÀO¬8ñ¥2Ëýý$%v;[§ÅrðÒx¡‹Ô^o}-ö›_v&ý~©z„HÄrR¸ñ¸²ø*™±‘LdòÉHÇïzmÕK„ÜŒ(Ö±³s‡g:•nžNH•“A0Ôb˜*½nÇ9-Y3Âè:;o±õ¥àÈo– úµÔ±O&ªÏlL£ZbïZ¼”6Ít¡²S×Q8%eò·(üWƒ…éý~Tf¿£põŠ[F ”ȶ§'l^aÏaô®+|°vâvÏÛùænW·÷$ÂÛÇçÖÍvÏÒ5ô4LGêLïxÿ¨Ä P³“nögæìŠb:i(;¿‘Ú(4œíNÚ•ZŠg”‡†šW6£í¡*¨ËHÖ¥«AÝnÐ1EÌÌ6óšnr&’Ï™Á˜Œ! ™®Þ_m”‡9ÑDOj¾cF†ö·gÔîxxßüù"¦òÕZÅ´íÔDªé­g((ÉH‘úö¤úíyÛOT¯p+4‘5/ÅuÐA­,¤à˜â‹pðjòÞÖe ?Í <Ÿ‘8KÀIHàÂT#Â9 WG 3ùÔÒlà°ßuYbÕúJêöQ™v×Ó»rn•;¥!¨­ìa_²+ÝÛž{ÀËØYÆ{ç÷piÍOP‘NdEâEj߸( IÙ˜lC!¢ÊÇ$_œ5ÙP8~íU&„¿˜ÏŒ¾‘§ÈC‰CßýÀÀã%4ú)Þp,o+7õ]¹‰í~:Òq‰²¶(‘j© ppÕyˆuÂbG³?oᥠ›ç€ææØUì“®À®ÐqH„!†™‡‘x·ý8´Z•ÅjßNêëUé˘cÎ:q†Î{ Ç¡¿sfÆ_à´é»ë,ۤƄbZØÃ„ÿÔT ÑÖ””9Z¾œM„޼¨}n·ýÜ{|¹îè0ðA$)±ìÈJ1PaŽ„ÔQˆ¸W±œ¬ff¬Ôy8m(3žÕ$Ïl²‘ˆ¾•h÷,n—œŠÌO®æwt53Ý oÝ }Öþàõ’€¯Ù$1™ê¼\žD¡Bãn'‘jÌ5ž±ôó9.Ü­¾P&Ì¿OÁt6¶ /kãgDÒQòº åÞÇùñ6t_>uÿÖ¤Hñ±¸”‘[ŸÊV—1ˆï\XÄð£¿á“T ׈<&¦vˆ(ŸHr¨¡/®iOa¥ QæiÚçã€oW›ì˜O£ +òv¨ÏûSAÞ¦ +h6Fx†Ÿ@èîr“°Ûy_ä„B•šC›8£iW†¿f. CžãFvcYžµ¶ý÷”ˆ~i0Γî$[ž¡¡iÒ4:Œ²&º‰G¥‚jذ;(æÌ‰‡øIÆžžæ¯än&½¿ rv ›ET®õféS¿ƒû?~_´j@·VЕRý¹p¿…3ÁFoà¼$&@œ|ll—ò¬ëÜZÜ"Ö盾ÊÚ Ÿ¡¯'JV¦WÝñqî…ä»@¡˜,#Mñ(¢ÆÃÃEê‚…6V ϰ1JªÅi Š!Îy¾gÊqØÓèÍÊàžR«cŸo^,ÊÁ_Ña‹,ÀZ?D ^Y/=”ÛVµzЋտ×ó°4¬2á4nåu™è{MZõëf cµv¡ç«1TüŒ`úð†)½ßXŠâ€8Ú¶«Œúç°…î7®ºz~ÒÛç¤Ag*2‹ë“;!*#¶#Ñv¾“™2êªÏµÞ°ƒ'É?yƒLü:ÕGjëLFèè¦ ‰‚ß,¥¸P%c¤ùß?aÃ~´üˆ³ÿXÝï@ž[i_à+&™æóævâ2°D Bé@ _bËJ 7ø\¦n«-¸6ñ¦ƒqÄc[µÄ€žDç<úcÚ Ùôè¦êó”‹c“’@fy=J¾˜diëç¿Õe©`âœÍŒ}Ó„s¡¨ü ¼†aàö;­~ \€_a¤LæirC‡ÝY›ã3-ëõÍ×~±ù³ÙÛ”Þ† <êlrq]LQ!/<ÒÈ0fÉèDÕ»˜ò_†¾AŸ`¹rR›WyÅZƒíG*Pí·MX#+"¦ù¯ÄýÜEÝàûº?òœJ'¬ðùêRiæçÿJÈS½DuÌÃv³ß¿ÿHhè¥Ô,/<ÕÞ§N¬€~[Àf’ÿ´$P)öY¨­õnuØ©¡y³Mt—i?]³þ;šÊìõFœ„U²¿ƒ¤ŸºÀ¼–‹QOžŠPß°ë Ƨ0D;ñÎrW:‹ñP‡›–6;#$™ã9¶[ŸETLE8‹!¿/äeçqj©ÕZÑ46î-I¨ÉŽ‘&•8ð²O^õ£I?>h>1ó¢\d Ôÿµ¤Ô 8åí—t”$þм‰`IˆÇ6ϳ¬sŽîh`ÖcÛXÄýmŒÁãT‹4hׂëÑ/ Á 0qü‡Ð¸¨Á °ûý‡jió|+T½cl%œå¨I¥ÀÑFƒÞÈ~ˆ!\íü馦”,·•#…˜ˆ­¯øû\„¾c1Š…KÿßOšòï"¶6ÕŽãï\mÕ[(°.µQ.chµ×P¿¸Òé¯éÃædW†)¡!rÞ…²Âݺ¾Kä>-iK¡õVpâdä<™Ì#ä“gë©I¡vê(X•FáMI VfŽÇÅ#ØOlp>!z£Ù!æ6eJ¥Þâ Ã¤\ vš'Ú†s£us¹¶áorcž¾ ø >‘‘g`5]‰“#ù›*Œ ýôäѤÕð‚h'K÷^¥¤Ms½ò©*hžJiUXð¢‹u½‚^RÃiøúÃc¾L@—¢õ@ýS³” G…ù&lQZ…Ts ·8€©Wà‡¯ÓÈÉhFt”Ã&Þüyè:÷Cä¶ïý[§$sHðkRLB#y˜½Ÿ‰•híT&ŸÎê;1IéA›o#Öèß´{ b™%íQ%´ÎŸ8C5²û c üñÖ"ßÊÍ.´¸9½…?w*ž+û£Æo«áärÏME>*|Kß;±ª¨=¯$o®ú©·­:)R¹gŽèO¡­VüÃwöÔq‰ïª‰Ø¦Œ{…p§{±á«M04Ófj·h³£N‡c—¢i•4a÷ƒŽa–°FÏ´7KUâ=üœ4ƒ¹Ñb;;¬EegŽIhÅî›È0ð€>¯ö‹4žÙ“êtþK·ó†6.Ï&ˆrö…k>“HXb†>E·‘uœÊ™z|b¦êG܇ÞNs§‘÷!21üçýf¤6ž¥¿Â©;¬æ‹Í1Ÿ½nŒr=+£f3*(µ•·Œöû›Ã»Ë8f6•ي̘‡ :Må-‘å¾Ì AÆE•g/kâ70¡×­¨­_"rU»¡%ƒK?x§–}ï,ænJé²ï­¼$ÏžHµ ÝøÍÏtÊe>=M‰‰o=°*÷–©òûÑãj‚˸Ä:EÚ~A,ª-ÅÉ(„u=ŸA4Î –à ͗8¨ÅëOÈ=§¨í’é²Õ‹á¼HÜP¤Ö•Ëè…‹$/9v/ý{y}=‹”º/?Ç$—½ò¹ZŬ1й ³ôRŸÄŠ'=Ÿêm?ùf|î,QŽdhë–J¤Õ`¤¢K±žˆ±ï.ó‹­±ð¦E·é¦ èS¶“±Aæëö "ò·½ÏGijBâ?[zt0íøà_(º?|¿ VªW>”è¥.–†ñóBÍоM"Do[õVkÛ”êï|Ë)éD„Áð3wB³ÙoÖnÚðª1s·8ìLºÛ.»í´ß} ]_ }šTFÿº\¼‚h Õ÷¶´x·ÐÈ yœ:‡k•ÞÂ3FAPkõb•7 {“ذš*ÖMv{žì›€/P5"ønðK·øó*$}TÄí„%æIõ³=o$‹R<¸*xÓóžóéZ*å !÷Î)õçðMÌØ `²á€±Ìk$èSžr}¸37ž*Jiç&±ÿLùaZUÙpE}e\M8ÅíÕ%~æ À¶휰_FÜÐÂ0ã\‘%yLÑ ¤ËX‰AÿÐ~A!è)>Õ)ß­1``¬Û!—½×Waåú$£¨š,›·J6BœÚ¤fðP§†ÛùUºŒhü¤mÅÄæÆ8/½ÖÁ¤—r‡“ŠZÛK]ü†eIôÜHTŒžË7}=ÙPÖÁ ùŒïT¦Ìv†·Kìó&8ãK¬Ö ýâ'TQÓ 9Šõ%àÆ‰"Æ(æ2Ôü¼$„ˆ) ÷‚—ùˆâö“8íý oÔ­Ç*?#ްv>éP+÷f¸ˆË©Û±ãÙý™Ý;ûoœzy€Ÿ½­môZº×SýIÐùJ¨Ø9jæË½Þ¡§ú3òB‰æ8ÏÙãÍmŸ»ìêAÙ>V-Æ·Mê ÕSÐmˆÏ™èKXªá˜åžŒ#é1üœ#9ú&BÂf²{La“ß½à•ê­:…Œå({ÿè”nXIãQyÌø©­Ñz_ÓLýzë ­Æè7Àç±1~>èqÃ3y S‹˜øºÄµn§ í/W™"ã¥æ(ì8¤Z5’lÿ´~€\aOQÝAõ9\ŸuGâDJ`Â$‘“èhkXÛã)Þ6­TÙ»Á¡ÜèAxR–ô¥]í”§>»¶9ßÃÝd‰$ó"¶2}óÑ'P<É‹©’ôCUšo€Ÿ˜ZS¹#?0Áfwaº*— k`Ô¶Ì3¾è oü´QâÂp8ÂÒá½Æöåa+0HÈüùAùÿ þŸH`b 2‚8ÙÙA¬PPþiÿ'¸ endstream endobj 37 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-56 -251 1102 750] /FontName/YGOLWB+CMSL12 /ItalicAngle -9.46 /StemV 72 /FontFile 36 0 R /Flags 68 >> endobj 36 0 obj << /Filter[/FlateDecode] /Length1 1172 /Length2 6063 /Length3 533 /Length 6829 >> stream xÚí•uXÔû—Ç¥A‘‡®f A¤;¤%f€!f`ZBº¤C@@º¤»»[ i¥%¤vî½û»ìÞÝöÙÿöÙ™æu>ç{ÞïÏ9çû 3½º&—a•EÀQ\`n°@JESÌ sƒð™™¥PS —6EAE`aa0@ÂÉÀ €ŸŠðƒDøÁøøÌ)„½fi…°I±ÿ‘%°ƒ"aæ¦p€Š)Ê j‡.bnj ÐD˜Ã (7n@ÂÖ ñÇ#Ž ¨#é …pããƒÁÌ0ƒZÂàø<˜R€[ ‚…!Nöÿ:r†"ѾlhŸì´Knë€@-ðyTh5(ÚËÿØÖãêŸÅelmUMíþ(ÿg£þ˹©ÌÖíß3vöN(( ‚€@‘ð¦êBÿ2§…Àœìþyª€2µ…™KÀ-m¡.anþ§…a޲0W(D†2·X˜Ú:BÿŒCáA7ïO<¯äÔ”u%9ÿ}°ª›Âà(-7{(t›þ'ƒoÝ$$Ì`âÀèDô÷_¿Œþ¡&7G@`pôj<˜"‘¦nøèA“À €Á!PWÔm™‡Ž@¡ ;ã °@ ñÿ˜*úv<öèÑ Äÿ xpèß,ð \· F³ú2x<'äm€€9ÿ‡ ~#úF³š¡ÎPøß‘§èˆÄ-¡mIÞ’ €Gê–„<Ò·„v+ó7 ¢½ÊÞÚ©Ü-¡]ÊßÚ¢Â-¡õ”o ­§rKh=Õ[Bë©ýMBh=õ[B+hÜZAó–Ðк%ômµo ­ wKh…WÒÝ+II„«zÒ\¼è1€Á ^€ Èó?'jÃaNPiôä@ Aaá?£æNH$ŽúóuFïì¿Ø†Þr(ÔjŽŸòá1 ÃHËùëõqÛƒnÃȆ_N¿°ðs V¼*¯ûO²=ÙéR1²gMùÝRBvmã«]qr/äˆî‘ž_à –Psæ=*øHðtÌ3·©šP_v­çÂé.j µ(œà½F4ŒK¸búr<{;MáêÄ"fÓüQ©éd=èÁnñëìFQ}g âE’’\Ebl©ôÌà°ðÎÞF¿S˜~ÃÛ}–ûSLai³X¬´}d:¼ íÕFõÃzõ`xm]?ˇPÐ×Dî7ã¦SÖ’Q¼jÅÎ8®;O5Pé{f. &L²+@“vôÎÈž÷.¿£¯²McÐnÉ›Pªl¹ö27¿Mé¼ÂOŠ+ZŽ?¼ÓÆä >U„÷ºw< ñÓ•+sUšFuV×iópÆOï•ÛÄz)ÆðÒUDj¼eüª2“''¹âœ-—C‘]¸ƒ¯"fÈxG”çý§ÇYUé¯÷V®0[?vñ«~Ý?Ñ-!!k8n à⯿¯Å¤PÀoÆ=!N€•LÙìl­k6lgÝxËy&ÔDU÷4qU} *s ÖÅM é9ž_™Í*FÁºø]&œ¤F-`ŠÓ“î1Àôí=­K@ ´Shð\ßÐòc k§3èV÷Ýb0Ñ»ŸeðÃ`ÆC=þí*c¿Ðø{ló/Ó‚|K'¹2r¯ÛØÅ€Z­‚»ƒœ{*`ûc‹<îà½W/VÔ{Oã[lh–†Tê)Kðô5=µß é,í·¤Š‚ù¶ðí ÖÆ Åê{FÜ•€›¾¢½f•Ëœ^ŸÅzÚ©F…û,Uë(– Š7|}•ŽñåŒVM±¼û_8³$—qq™ýl]í§òˆÚ•Èž‹>0U“a7t.o`ÑÝ2ú¶®8Ú,,¸›K4 ‘Í׃‘Aµ™(S ô»úQ~Ifó8ãT|‡SÏW­.°$E@½MÞnA^yÆ|Ê‹¸;¶…½0ZŽžs2 óÓ{HZx|ŽN¼ÓŒ¶|·¤êü&âgéàSü°+&=ޮؓ­ÁnNÅ}N%}k‡1v86A–^iêÛ׿,ào§:¹"—' #Å@“`c¶^M`B®KðûtfƒòÄøØ»Xú%[dXïÅÚ]Ù[¶}c‡ÎmJ%>U^¼£^2cÂMû¬’¹ —dØ¡8pû2j[àÀ8ðÍêŽðfts™å·3hJ=ÂÜ.€•îk\(ÍÔE@=α¹tËZ:vYÓº9y;þ¥±±RŸƒˆ¡p7”Ì¥´ “¶%D³½^×z®`»B1ûLŸVU-ÌÍn㩳{­g¢Ç{ÏZ1ˆ³AKd+IçqGÈÝ£ø»ZêvÖQ–X{ÔSŽœ±ÚÇÉúÌ÷·!N/dP»ÜX^ó&ŠÄ;Q¤žƒsï òÐìú-GV,G2ûâËÌÔ@Ú†ý¸¤>$|w>cö oî„–‡ˆ.+ ;âYú7©‡_ˆóãÅSïÌiîË‘u/–AÿÛLƒ•’¯yÚcý‡TV_f>T5þ”jt6–bÁM«Ÿ)­Ÿ·Éð’ÝA°áÝÅå½Ýðen%òF úæÎ‰€9Ðɾ 2bï OÛ} EÐÀµüŠNÁ˜R¬V@v7øÝšÂ+Ž…ª5±_.¼]ióînÜš =bÓ'â0.©‰Ç. š:Ññö7q«¼•ü“_3mM2‹å3—LÙGY’»;KߥóP' |ÛÛfözfè.Ù·=qG|ÆÝ/'7£*öwæý@¤I%=~)ºQDrD1ÅÐ.Ò•)æÔc³Yo`XHÛRÍ:ë`B~ºÂÖñ˜¡ײŒivÆ»¤À'›!ðâµRÝDgÆýnxpÙ¶v« ;çî~ô첡 E½ Ï/á]ÝÐ$5*?~GŠ=½ÉŸEÚYžy9úUJƒ=,³°WÊ’zlÚ²Q#GKt"œ©åå-cÞØå”dÆŠ ߨVïÕÿ0e$ =q<ð:{af¢:‚„c÷Ò3cù_àªåúóÑ¿áèy£³L-@;éóLî¤,]d›¬ôX¿ã%v@°ïÅþ«pg—®Û2ÿˆP¦HI¸ï²ö i| ¤IÓnGU³P˾fÎúÅåäGLñ”wZ^ã˜ÑËI­{FÔ^‡lT­GU>£E2ðØäü«¢`庫7˜G¯ºök5ñºêgP D’O; 8t…hÜ;&÷eÊË}bXÝ44'A¨QêüàQÐVð㫨‹ßJǽžl’uQ£ï¦®‡íÒ1êýy’¥gKÀ”/zg®æåñlÆògY¥‹:³|WRI[“È7Žôí(Ó8j~ùƒnLú^Áí¿*tææo²R±óó Úêöº \ЄbøÆ$’äR+X[’iÑ Ü•ôa}Ä¡Ô÷ÅbÇ<á]‚ ÷Ö4mÖwy1>£w„î&VŠXãe mœò ÓµßT’)Õ_ ?môÂÒZ\ÿÁî#³2¢Àl×H\ÊÏ=)ÏðKx¹÷´x%B›Ž’ÿ™‘Ãúéß’S3m_øÇEÍðì^8š-©ˆT¹SéqrÌákA­Rjò‡_R‹sœ}çÚmsªV€™¿ü´u¹ü·3׆'ú•¢·g2 ƒaƒgŽ­Ñ{ÇoÂÕ‚•$«00ïE;.­Ë]e­Õ¡±±v  ût?N©­[3Â8+dßÅ&[²2öÝÃBóL¿Ì·¡ÕìÀ¦4õ,•"…ÉW¦–a…RdCÇH.ôm¨–Õ‡0¢¦sD’•Ìe£×ˆ5#n¡¶ñ+ÍgýWÛ7+a¢|ìŒ5-¶¨ägE§™ˆ|¹ÊÎ oc᣼˃µ²J½ëɆŽ&C¡#¹Vêú,å¶SçÆ¤žcËvò¦_Òçs%å“Á‡OGéÈ9”tV)dXü^g;ÜÊËnÿL.”øØ)"¸"×5ôÍC>uùgYÉÕÖ[R.{»~c*÷:sÇàšŠÇw·% cÓ‰÷|SjC½ãŽJCsÁŠqPÆïå_êâÐ}ך•óio ë,œ÷:ŽQ'4sÁŽ{Å ‰ã35“²"JJ®a€êcãÁ¹áh‚!âªÏgÒ’s×g?K ïYá%¤Í8ódÙ,áA»šß²mï–%¿²¯§*ÁÉ쑋ü^HbÈÓig¥Íoóþ0×m{[ÓkN¸¯E:ómªç3†GöU|[ Š,|–nüÑ-s"a<Šj2¤{–¢£Ý…éú¬$ά2…ÃF^[Ò@¯Çœ›ä•G2¼‡)ƒH—ÃnLËßÛ¶6+À]ÌBV]$GúBưj;Ïß^¶ùÎÁùÃå´ÍоgËg\8³Ñ3¡dýì}õhòRCíQkºÛÆ@Þ…tÅnG­²Ïã -‘aKä/êà'‰¯']FùñªÞ™Ÿ”~îæØDº0ímÔ‡HŽþ7E éxÊ0Ãc'6G!'’Ð9U×jYÐ"Éßt·³53ÕÄÄvwI¨£½Kˆª"kP‡×DR¥eÔ߆Ó ®c‡-°Ò ™šOi^ÝJvØí ›Ê{N¶›8+3NüYXÆ\â«õ`úõdRcR“#ÙCá)ó Ò9¥«­‹zB ªZ!ÝInî-¬ñ]6Ã*Âube¡“uW¾X…¸(mîUË“û¡œ”Å#§9îÔ«?¤°3ú;•H?¬Ïe$‰£pöÂ1êù€B-\|hl_+çÏê=Õ*ÅšâÌôLÀ—Q-,X ­¤ÅñZdK6¡8k‹©Æµe]“’ú  ÑÄy&tFg—çE Ð=²(Üö•AÝL7W¶›={ãÞX~úc †g”å†kÍŠ é8î€*BwR¦yb+÷¼ýšÚe£‰"$Ÿ…R°@{ÄŒ)¡€¾Cˆ—览é›ÕŸÉX–#CÂçëa ȧø< ïMM‚åñ‹9–0yÛcE+ß÷þlo {ñn`/IážP×éBÎ4îWÑb9ò¯?¥QÌ£‚Q#suÒ áñ~ C^ÿ”~šøRL³Ë±2 ºÙ ¾õDaGÜo¸V³?^¹FQæ6»·÷ÎU×ý0»Ú—Þx >ÏÎ.zÂIlüsÒà'í˜~k4ný7r䟹 …'Ö2ܯÝeŠÞÎ~qÓòt½¦Ä:h°¢^x%æ¿Î¸_Äårõå\‰HŽ…faŽ2µnÂâq“²”@n\¯/±ý¥HU']kC²w4ï-ìæ}ðúšÄ¤³¼V×o>ƒÀ$p˜,I¼"}­ Ü×£„‘¶–Ý7—j˜{­ž¬(ÈݸGø"Äßו =¯n¡MU\˜­Ó´S¶ à€‘r´O'[9<ðà¸Óo3h[¾ˆ£tînö±Í#‡ý;äy{¢LqØ®ý±âÏ šhÆ]vÊëê|}6#ëb   e7„\ã¨ÐÏñåòÊý‘ãÇ)k Ú³.‹n›‡R6á¡3[î߯]Îó^º¸ô; l A¿Ó*5Ò°AšiÉ?J #LQ_cdyÇèõ}ÍÕæð6oâ7%,çÆ(™H #°fG«AãşäT¨äÞÝà~a¬Ò¾hÈ5ðêÆ aê5‚ì³ÍRwº'ÃRìu{#C&ºHsê¦f¨Q•Õ«TYš|ª/*μÙù=×z³$wªvÛ€—«O1*§ »Yì—ÑÛ©W7Š/¿ÐÎÁ4©Þ‹®ÄçõXêêðÞD>ã ¤Â2á /^!Ù;æ©Áb Òâž9æO–'ò‡ã»×èm–_ÌaëÚú¯ïdˆ©÷>¦1èwHºmAÒ†÷î öåÄW‘ua¬u_m‹¥¨–ì~“hR°›~‰/´£[”õ"2›í&‡’6\¶ûŠW>p!BsÚxÈ€ãoGÙpþõ ¥Éèî§‚Dýìí¨ô÷<Þ;¿¬½c°¹á$gvéå*%¸Bû(ZÙ¼ìÚ÷"(¶Ž2+/oP6˜Ã"C~Å0Œ¡R¯¾Sž»Ã×]w!~OÇøÒ^œ5]v;fëü¡1—•ücˆïÓEÔ]WVíPgõG_‘eäDh¨ÕI[1âÞ¦¼ä'³Š­ái5n·[’Žx~a÷yŽÕº ‘gælÒR®ß³°=ÌßîÒv1;´xTêm›ØŒtêWÖC3= À#ÎÒôNIdÔiw•›÷¸wRBȃ;O#ìfîÈcÉ@¬‡ÃRóûù ËñÛ³Dšc‹éDM †=VÝ/šÃ¹‡ê›s 0©_=SøVÉÞ¾0n×d¿wxeí&Î ±tǨNÒŽ¿I\ÍݯûŒ£ååi5¼?&÷A0-ô-G*N] –ZÃ;¼’«),¡§óšôÔùy¬JþÝD¯—br÷¢“ptú8¢ª™4¨Iu©Ú×f9xp÷©ŸP$s&rV’Œ+-çofÓ¶Õ9_v†Üë5PÀçÈíJöS|BG˜’¬5ÁÚÚ q wÃXø$£XÔùkUÕ:±fû6‚taþºtdgP"$Žx– ëES·y®E{Ÿ«çêöâ7wf€7Uï(;åDöZ.GcÕ$-jFi³Ï¶9\nr†ÂľÁ KIC²‰O#‹O?o°º‹í O#juï¦IŸ ¶;}J8¸ö®ðýÂŒ%ÄäóÎëTœ ßÏ­…O$#¨r< âôõ,ÙhG=¼²á•K ÔK1êš®i¢TvåÊ6‚]|FfOÇ¡>ô(Å?d…HòÈ c…Z’—Ú-Øö#š¿ÁRLú2µû_«/pŒŽºHüÄÏÉÆKî]@'ðâà¡Xv!²Ä|ók8ÃÂogÁyWëb`¦g-ÓÝÍ›÷®*úò«Ìl‰™Ùþæ—‰ ‹‚=_ÃO]ïûZ»ª©³åŒ¨¯¢mšçeוÊÏUêi“Öyï:“òÍ`L„7¼»º×ë°Îy¿c˜Ü¡+úªÖ¹/ò(øjtÞ3_ÆÞ I?JÌb¨¿!Ñh4œä+/Ã9„§Îeù ‹à;´¦â·o• {]ÍÅl0”Ìü\[¸záùÑ#˧¡ÍûzÞÜ•ÁÎÞÜ’²êa˜ Æ)™WÇMdˆÙÉW5êãòzë„­íá¢çØ5$Ò>ÓÏ'øåuíëõ˱ÅZ›-b>o.ws€þ—üÿ/𢀹-Ô‰BØ™"mðñÿ ŠŠ¨ endstream endobj 52 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-36 -250 1070 750] /FontName/GCTLKP+CMR8 /ItalicAngle 0 /StemV 76 /FontFile 51 0 R /Flags 4 >> endobj 51 0 obj << /Filter[/FlateDecode] /Length1 909 /Length2 2278 /Length3 533 /Length 2922 >> stream xÚíRy<”û¶E&tJvêEöÆ ² G4ö-5ƒi̼Æ c†±K‰d'GIÇ2BQ²J8v’ì…’ƒÐ¢¨ptGS÷vî?÷sÿ»Ÿû¾ÿ¼ßçy~Ïïy¿ß¯Œ¤-ÔOvÉ$*TEY ­PZ€Š2"#ƒ¤€X*L2ÄRA ¢­­Ð<U8 ¢PÓF…C 2’ìL!xzQy¤ÂŽJ0ð)–Xa©^ /Ó‡%¶d¤+€‘ vŽ(0¤‚xeDEÀpTÀô$ °Hf$2 ùÆÓüþ¢AJ3 ÏÌ©0SâÉ$b0€= 0k2ó6™å?ŽõoRýhnL#­±¾;öÌ6ýÅúˆÁòd_?¤VdÊ:w'ÂJ'åþº[kp°héAEžFôó5DYâ_uÏÓÐÏõza={žxÔÓi{ÚY'HÁHl• ×.´ö÷§A›~G´dWU²‰/ºUo{jïá¾euíñ(Çu*r͵_¨t<³emFºk./¡y¹•;R:Ñs¾o´_KtÞÚÔÌ­cµK{,2>±G7ÚfœíÅëm~½àÙq§·Œ@ULȆŒ#M•Veý†%B®´N™FU7Z¤ªàÐÁNDê,«PÅšËÎ誙HzºlÅ_Ö9êfÚ='©9ãÂîéê½a<¾ºé0¢ìrÚYŒžU7¨/~¤T”U*¿³èÆL&×jûjZznöåSÚig›/ì:€º­U4™ÿŒÎϪl+:Xº3Ot]ó‘¸VÞ°¥Ý|¥dzV [Áð8è)+V9Ùéd8ONç¿i«÷̧ÇäŒÇ”=[M©å%ö§5UÎñm†ˆ£ò°…êK­:ù܃îå:&ÞªŽŠ/×ån(;¦–.0üîF‡~²‡ÐÃÃî¹NNÙ'^¶ßý…胘Ò”=§1/q–*,c[úÜkröÀ¢]6:vÛ•îºl0°(@ ØsQyQzQ²¢dìe$oÙá³\‘ª»[ã]?M›Dn^Öq)®xzÜl3v„ÿ!®"L}Êys=8‹G”×òQÊE(£*5€ø >c,ŒPlEB(]fS¾}¨øÚi©’d`J\:;±·7²(Å,£®k" æ5[„—?“…ºí™ðIóø‹÷ÃXÛM¹d~ËücÕr»‘·êDm{Ÿ¡ò NÍaʼÎQ’0Ëb¼ w$»‰¯ZäR¬MXêú&i ƒqÑ>¸xã ÏÌt…y¬äPä Ÿ4ì æžº«uÔÁÏ×”z/R€GÒ[å4wU~½ôtŽÔâArç˜ÿ«œû‘sÉ~22z²òk:ûkOÝcÝ·{%Û”+õ5Œ²N¸•ƒ(ìžÙ¢ 4޽4Q’‰y"º(ÀùÀÍàÎ`¯¶îe‹'âg=é”çúæ)í×;³Í ?…¬:9¥*U?ë_ŸØ|×ïý%/n 5KJÏýZÄšeG8è¥à¼7{¿æ*oZ¸Iïï“4×e§$EQÀíº¾‚+!±ŽúË8jEWƒ;b÷½ûÎÙwäKì]ølÂð–½'TY§â±Dˆ¯÷öæd®Í•óMÈØBæut½ŸðÍœD²ñÂë!ÇF#‘Où±þX{ØÀ«Þ?„äÂiu}|ßšâ)ÄKêY“)‹~Iï´5L‚Yéz£‚ú⎲1ñ2ÑåUE–µõ\oaÀêõ ¦lâäñ½uêÎýu+´li¬'1¢q¸L*æò”Ö p›NûíöW½/Y–­Òs÷j\‹8xÙϸ3e¡iikvT†kIÄøL±«xépaKt ¢ñíÍÚWì)í+AeÝ#p(ÏZ`y—N %æÚ)Í´¦ýron¨<àœ © ɈG=•1PÒ­ÌìUYvg媉a‡×½vBŸT­Þ}ÝA£ê%)P£>']òDöâ£Ã׺~zvuÏ¢7÷U^FÿSɆ¬9Ý¢ ¢šÐ&v4,çu~¶½laÚ-ƒŠNˉ<’¶|ÚÖ!L?ë3_ÍÞW(z`H\¹ÜÀü9®ujÎl(÷¢È,*Ô'¢fzŸho¦‡ã¦ªðã÷w=Ø‚uÂýã%Lr$~ºn©¡•¶à]%Ëi8ôrÀ8uíŠØ¾é}ÜNŠ–­X «-!†ï#´æ­†¦X†1véί©%«æã|V¬]Y½…aì0ï†ÐWvànõNnjôT˜€Ü¹`ã†éã}³§ó· !:tòë2–»Í#?ìϯ•5°Fšdl·l*@X¬ˆZ¼½Ñl…¤­ø^EF¸]+âæ±%ï+#ДüŸQë¯Q=%} }19DÏáùù¤æìög¡ ùîÖ< |o‡#ý]2vc/DˆsÇ)ÉΟ&­üÖòi05Õà¶AmW;Õ=“wà!‡ßÒǹ{ÃäWYå$”2þjã6gmU åÎ=ûÐh=)U‡Y6ŒÔ3h ÷ ¹aè')ØÃ0 Š(ÍŽKåž\µŸÜúŒ0I†æL5Y@„î‚xëž²Í;ŠÛï,‡ë¡r‘c4¿Á19¾þ©gõºúFìË6³ÞOèùž¦B¬X·w–(*`¾j.á¹to"º©ŽJåFnJé¹ §(f¿˜*ìsàÁ Äš¢÷:ƒg’«ŒN òF·8$âÊF$n·Ý½É.í·ÅÁ½önë¡¢bx&Ï\ _Ccfšu=Q†±a€¨ð»®Si§ û^>j ¸Œ\t÷-‹EWî>!ñ Å÷ƒÔÂ*çƒÆž"‚N„‹x§âÑ·Y‡fÙm«E5nÖÆ©´†ÿ—äÿÿ8"ˆ¥PɾXŠògØî endstream endobj 55 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-24 -250 1110 750] /FontName/ZHIVWF+CMMI8 /ItalicAngle -14.04 /StemV 78 /FontFile 54 0 R /Flags 68 >> endobj 54 0 obj << /Filter[/FlateDecode] /Length1 1253 /Length2 7337 /Length3 533 /Length 8140 >> stream xÚí—eT›]× qŠS¤8ww+ZÜŠ»„ ^Š´@âZœÒ"ÅÝ]ƒ/N¡x‘Ãó¼ß÷>wæÏ¬ù7k’?÷µÏ>{_kŸsg­0ÓëèqËÙCmJPˆ7?¿@ASSU ðøÈLJÍ̬Úx€ E €_\\ æé ð‰J J ac3 npÈÑÉÀ¦ÀþW–(@ „ìl M' ø±ˆ+@jzÀy9WW€î_[ܺ@w Ì hσÍϰÙylŽ 6ï_Vª(@ô_a{O·ÿ^òÂܽl›²=í¡W8Àè€Í«}ì|´ù?ûßxýgq%OWW-ð_åÿšÕÿ²l¹Âÿ+ vóôšP{ òŸ©FÀ¹iíAžàÿ\Uõ°qÙÉA]n~!>¡ÅAîJ  ½ÈÃÎ à`ãêü;„Øÿ§Éãøþöà5UQ54Râü×ÙþkQÇñЇ»|ÿdÿÍüÿðãŒ` €ÿcâã÷¿Ÿ,þ£Ù ˆÔq‹l`086ßc)aa€?±ú€>Ƽ<¨ÇãÀãdPö_ÇÊ/*àµqus²ù+þ_!¯£ ügHÀktõø'$,àu{ÿÓqúÝA࣠óøØ×å|”rýù5 à£ô|ÔpûûÂþÀÇÊžàce¯?ðqîÞÿ Àc#Ÿ?ð±üoü_o©¼<ÔÇ[@À- Ì÷—@T˜/àN4€€^yUÂ|b¢‚b‚Gí@;ì`!xH¹¸üߨO…ŸfŠGíu›ÇC¤IËLóèªc=N4bðqc=Wt› cáÁ]]^1Ò“0j~ö‹O¥½ù÷W Z²¾ÜÝ€hå‚ÚÀí ÏóÒ™Úf¿ R±†›´Ÿ;N­9c5ŠÍ’%VÄ()S¸˜ÖÅEÒë‡E…Ó)Ü„ê˜|ß/ÈfÞšŸñ*îF· Èb•HõHœkY[ç‰ôÔs}*¥}ÐH’ðaôoø<Í×)xŸþçû=û5^Âüeé¶JRIog•_ ¥N–Ìù3.G“ȼ8W»¸LjªÏÈšÔNò>8ЗÂõDã}áoæÔbì7f¥¾UÝ-&“Äõ¸œ+ß|K-r¤æÍƒ£¾Ÿ‡`T°RçQ°;‹+ýÔqE8°ü’&ÐT»$ ä‡¤û¦ÐÄTe¹›‹|þ– Õ»Þ‡yÔ‘ ÔKþc:ñ\†ß«v*.N¤?ÙÔ¼W~ÝmF‡+ìÔýúÁâmHø\9Hßÿ6ŽñiO5Öʃá+ ¹”ÔOäJ ±TÍU$9CRqŸÖ3¨Ü»ˆ ÔæëÆ®pôšj‡›w[BÉG”8䌙^@@AÖÆÈhI§º˜Ï77õèUôI+]‘›«>šüt£ ±R›gâùÙ½&xë"¸¯j GwH× 1\¢eõdàêë.õÔµö‹0 ½9Ž6o™XÕ¿ð›´- Kö >,¦½ŠÅ5!š~æWJª4'¸#\–1}QFªdˆJYsy/—üƒÁtB¢¡Þ7«P¢سJÖõ~Þ]gÔRƒ² ºþˆ«® J:x½!ʱ߅Aǯ·væùR*U›ZìW]öÒ ò³Ó®_Ô霻 Xá‹ÔóÄŸ×;ùÑíó÷ZzE¾ùW5vûb$åÒ£é_1BÆô—nü<„m½é^0¦â-˜9¾RஜZo|Fc¬:™ ¸3Cá ˆÖg¬jÖÚ×=wÁ 0lÄ$ZV'N2íLYãðà ¸`3š(yBXŽ>Ö¡ 3wÎe£Aöä+å°§Ùd¯oa"Ý_ýC§Î\Á©Á*4µÇYfsþ ÏýÚŒH^r[»V¯Ô3çª\DÄ]êc?p •˜E~ Îêo¨è*L:=™ŒÜXCKq[à¡Þ[M8ê)¦> Ý,C)Í êîåÑ-vŽ¿¸Žx/ê— ZH~ÿeÕÅi"ÝX޶¥0a…«+)ãÉAeÓo˜ (±Òp¤µýÁ“Üù“Í”)[k2ß²é·D8™´2’îtfÄ ¿¯yùûkÄr¢júæƒ5™‹cpÆ/«µ®ùŒàרþ\o•Ó*Ãü‡­ÆFµà5[9‡†ÜŠìbH6l6V90W%ÉP§Ñ“IpÀ•tH‰ò>ò­¯ QY²¢$¦Qç\ǨÂ5Ö\èÒ‡š‘'HQï˜Ù¾*2Y0/ßî}ƒ*UiM,Âòáª!-Ò8«;ÏÎTCŽ7-h™Ÿv%{MÞm5ŸÒÀø›§rªéu¶7ƒ¹óðÜø V(¢»Xü ™Êý2 ÿ7‡°¢Ñ‹ð'BéË R7ÍÙ¹M?í­ÆÙ[@»Á´#¢B&þz÷f=÷§T3óÙÑ*ˊ̦„7só]|‰cè4æ¾Ì9ÇœþKì“5×d_±EprÞ=$×U†ŠcÃCÉ\Žøg<„`‡éQÎY€]5ií¦_¥Q—7¥8Ÿ°'ŽÈóæý™Â„¦LÞOóåU¾}*úsD_av¡û†´ÒT¼Õl_IÛ]õ¢1ˆ8KÒ’½…,–À§´éÐÔtwíÉ(oÏüqè"pK[ ¦:ćÊÍâÁñ°’ð¶}Nö˜b³Åî¯ü¿Hž |–æ>ôŒÜ‚ѽCo)2xèNTöP/Cº³P’9íÐ%B¢aG˜.{}¹ï~tx,\Él¬A£Ü0xŽÑ—ɶî 2 èÑUªíÕ‘d{#µÀÙrü"‚ÍùÛ¾]²½ôT‡,ñûû<%Jæ–¯M;Éos^ƒ.© ^VÜêÕMS3E'C##¼ïN×^èˆÎ20‹}×X[!WNHò¢°èZ¬0yjwO`3'8…Šeq¬#ôl`³âc¢.4O¤Õ ö4—§9~èÐsÇ|ÝUÄ|ïrãx ”þe[wºUŠ{-±K?®ÊòE޶9±#%œ°IݤÃ÷®Î‚KÓŠªÍ÷£OxMu^ Uþ«ºiü*Ítø€‰‰‚5›Dk\…Ø× Œì|™‘ù°}ܸ¦ßšfÂ,ÇV¤ƒ¹>¼¿áX<·ýŸïìêÙÄ©}™óëï.6­,Æ ^ ¯õ¿G0Ö@šëhEMöÒGŽÝ¬[S1ª Q~Åô’i;'xöÓíëà¨ÿ˜ ¨¥tØhPY`}ÚsýÁ{½FáÊôËO õSC5ãúûöEã‘t—JØœK=õÕí4¡i%’œ*U'ùK´Ó(íÎò¶Ÿ(ti#îâS $‹ðÏÎ{M<©ùzÙç²-Ä_B¤OUv§}c0E0ilæõ–ì-=‘û‡;“3Q„9à/žÃÈ87¬¨úK–¯f1 í¸C,/­¸ÁñL+œÂdËyõN¥ ó6äÛæŸÍ½b7H‘U "øé{–! Ógo2á6gœNaŽ2R̽w¢Ðs&Ÿ¤Ü<cT­k"ì“S”CÒØ‹1ÄE+Æl‡¸2Ãæˆ¸GŽ‚¶¸p¢HTdÍ Sv:Ð MŸŸ`ð¶â‘W>‹c»œh0œº|xs–ísp |al[¾{9D+JV¯5bá,ª;š¬Jp"#¤0›Ë¨µ‹š¥·ÿìBO#Ä8KÄì‰N;ýF1â7NH|KƒS³zyrq7„#UÜsT'ê¬KmA”ÆÇ/cE•&íÙæ*Ô[}¤‚ý¶ôG ½´Û±PÔeô‹Âä°¦/^škžÂŠ*Ìþ¿N&j±XãP?±‡²éPsÑÃýé Üar˜m».ÑϧÀC¯¶…¡…íW¤Åfa$ú`pU—Íò^±—¨S©¿ë‹Rô“SB\>Ÿi`sœ©ÏTò|×ík<5ZÜ©–š@J™©˜íŠ–ÅRXêø¤¿xÌ’—üØšîm¹ †à'§©ÎE÷Jnbº\ê)wÀ§ÀÔ…*´ÞÍ óÎ ö0hv<]¥lÇ‘îÅÙàáÐÐï‚8h4:¡¡L1$áÜK3[Hw³½sE•äWš¯!ç +‘“jíPÅsÜxÙ¸í4HÓtÿZµ”¢Á…@b-ì÷N’´û€¯7#MØÑðô˜)ã6þ­Øq>ß™KSÃëa£H|5, ï>L¯tŒÆÌIÚfûY}YgceQiT¤ô˜\å«Ý±óüùÆ>Q٠ٽ‚8ÅL´K©§uïžéaÄœˆ~/.¯£xîß2N´€æhlÊ›²0l$[r~)j<{ÃSæ$†Z*SˆÄöt#̱­£€‘`g&îow–^íå®ñœ~nphL*™äQït]‘‚ƒè„ãTuÚ|-Ú£fni/§B³¥a¥ -åáf\°)~ÈÙíº(ýªc¬Ñd¬àæwÚ%YDb‘åGJè|tõMS}¢×ÝlÍ_àô.46êž%A¬#â«q@Æ$˜­·WÀ/ýÒŒêíužrÛðãP´ÿ8½ðMiÙG¹XxJk+_F¼¥tmúAcÝŽ9h·¤(à,zó³?çIcµµXY˜c½W«iŸHHšÝ~õˆ½ NÏçl¯±ÝN牰»l¸?ÿõýôìÈJ¾”R§EFͤA|Ñj/É;81.îǬÿ@/˜m`,SΘ^:-Qý’5Ä&ä|pÕÈ*ù©Þ'Øjžy’¯µ­¤,°ÛËÁw]â}ð'¥ÄD‰›Â etSËU…¾w¯É“–Î}WÁvÛ=˜›¹h÷¢v¼F‘d¿çÝ~[à}–]KgêÞèŒUåGÎðµ "q[¶ÒjÅ5|°w; Ž¢È³„)EðÕ8fXáÕc€%’4A§³ Ëhl6· ´¢Z1ÕŠŽc=kG~ä÷Ëï÷ýXY<êˆ!>*Óæ›uöªÃêÂ&Ñ=¼˜`›Eo¬ptùÖÅGÎûcÇsÇëMUZpMFiYð$)ã1^Õý®’YïCå³|m=àÎûÆ9Ùçg–I:Eä2ÁÖp<\pá¡/v[>%Ûâ®"n¬”KmÏUšEž¢Í­{Dùæ„IË£[§‰D{0vg^‰çÃtæ8øE‚øa¿?ŠeútΆ(è J†£Ð´üfö½¿"ÃÆ«m/ï¹÷V˜ [ØêßUtæË¿uԄᬠ±‚ŒÏ·hLI ¦Ën‘Û-…vãù†Mù¯Lî”àõvï–#S¯u_6+Oèʲq¤ªøã-„1ÇÆÆ­™òÈçô?iEaèqLì)Å*Óé—èäS§2»k~k«ò·YÚì×¥¬ÏJå÷ODºï *¡¿ÙSóKrüÌ•†v¬ ±`äÊ[Dú…ƦtŒ²+-)ð=ÕïEâ[Rg›ÕI.ø6*ÂÌèUŸõñÞöÌQƒ¶HýªW+÷CÜÁúBÄ×Üø Hì [ âûÖEÑÅ"ækü†rs‰Àó f‚¬Åáè½à(å±ëÀ{ôRâÎW’·/SY’ƒ4,×z’v†ÖÈšœ¾ÏJêsíóRå~ ºü˜ÂðŠL¯„›Ê䲿êÙC¬(Ìfo#á€ÍiˆÎü´X¹Ðóˆ\êseñ».ò7ëç\fÛ`"÷Ó´ÞZîÀ®6uk¦’ãq,kã0=¿)%:£Ú¶,Œ&¢yy"?÷^lx¢ª£ Jx©ë·Xšk·–ÄÄ2™ùÃ*ƒžJ4Æ´‰H³†H{!”ÙÑ7X¼CDL&šIêRÌ6ÕëÔ ŽŸµGpÚJu…SÐwW“’Þ{x2£e1ã땳éú4ƒg!iŒª\YÛ(÷´G¹g BC%Rðr(07®—w¼:—3ÉÇ¿°2=wYutäÒ够-(B½/æŒ ³îGœL4v©·Kðêñ?Íp¢~‚ ŠŒ¶ÜMYøá.ßÑ^"‹Ê6l)ºí˜¿ÞÞ¬š7Ãtшò)Iö%ˆö’b4 SZé¾×²sœâÍZøYïåÒv~˜ÚÆî38ê$…4P,çÙ(ñ,”å]`Bœ‡+Ò,ߺ‘øÞO&¢ºÏ =ŠßÜ>ÐÚ”77Ê/Õ¸Qò‹ÈW[ƒˆ{ÜÀ¯•ìg¼´ý$¾Êa.ËgòöSõãÎÒ{–ƒßæX^Êygq¯qøP½Cá ?»^j¨„Ã`Kô·ö‹Ìr:®¹Ž@d‘šà°u´òOQ2ÅŸàw‚VÄóþT²DÊIÔuÇ\}ÿØ>Bõûìk3qÞË=h†ò »2¹ß˜GÚ(^úÚœÁA/Y: •f¹uódÇ+“Ký¶‡FU.à )íõã[@á@J‘_uß§øÝª®u»B3l·[~G ±¸TŽBÊb l•ú§Ïoz†Ý'vIk˜‰-X#.¦ý0ê´inæÆŽÅ4Òƒ–]ÖûÜ%t‘”+E<„'v[‰ó6ÉŒL±Èš^ºéiVÇÄëZ±9”ï7†Ñ$JJÏ´* ‚ýõâÅLbvTÏ .®‚2ª2ìI¦8¥l'O$4T½ZÐ,gïtÒ#ìgnë1QJü?WÀ¼¯âDÂ:\*û45—=S¾ã$¦ià9Ò fP€èSFZË/÷ªW9¹×c0eòÜ#ð—]âq§B¾Õ»Þ+)pžÓõ {ÁŒ<øÇR_UÍìp¦-µ \õ˜¹»qQâr²F9"(óêÂCUºRçÃ4¢Á‰ž‰<‰hãß±œÄvtFr¢Pôz¢èß—oú1#í2¿óÙß8æÑ[ë6…¸(ÒT !V¥ ÍJ"¯Ã§¡D=>‡BÉ¿#ÔV|.ã[í7¢¸È¥1Ö'¾ÔµM5–'5Ë™¬ŠÂIÁöãSBNçšÚ³á@ùˆð<™Rð| }>NÌîEœÑkšÒ†áH]3F§ï’ø'®*ULjÜìÁ%='˜œŠ{`õ¹ôNf-ïW(ÞoóGMiúlw:–ý+/$&Șßq5"a¸˜œ¸ª£ï6´¨é»K|ÿ"w Ì¢M¤{Ãõ“qÏ­Ô Îú󋈲 ô²hæŒÌû…܆7’ÿo‰Ñ<ýìZo/ripœ”£¸ vÇ«h6Ÿãç³°AôÚÆF¬ø–çöukËÞ’Bìý"¤^e”/‰°ç€ø¯"ظQL9x3´ËŒx+䢈£€ˆñðÍÙ\ÖÝ®F¦ õžòþ²Å~îedøúB+S˜³ Ýv|ÀÛ¯ÇêeÃ`©ü¸w稶 þ³CöOâeNeÌUûåK·ÄQ3mªÝ¹Švt&h.çîv&’Ä1]f³H.ßAäâj8‹(#ógí  ºñYOÏŠvõ™× ȧÁùL~8ާEŒÌ,o-“¸Î«³¬´4’ÔG~Ȩê2̼W’ä354,œ~q\j\J¶Wöž†€{j€Ià^èHÙ—µ£*½@ÊHnc`'ÔPï—¦r¦A2A7J z÷¾ãB3Òº“ÉñîµU 35.¹ÔÄ Š ß‰"g Z¹¥<QH:só:ý)˜=ä3|Û81¯¹.~F¼ÇA61*Iµ~ü¯!9Rpl9éþÆ0Eff#Ø2©p-ÁÍnDdÉl“ÖM÷‰ËD¹ÎW $è(Ñëð"¸Ôçâ–mbÑj'Õ/sÏÅ$)v‘³žnšÔÔk¶Mg:Uµnœ_O¹£U¬K!µŒÛ—h—?Ñ´šÉ ÎE¥Ú~N²¦wsž¥qêPýñ¾ž78›ïÃO‚†ìøç‡²Ç&A[B]Øñ—ËW“c­¤tšœ>ÕàüX<û$ßø½mƸZmܳé±àLê}‚Ãf’¬olæEMW7vîùù†¡Ä§ “ža›¡Ö ´nò38…>lì’~ï»0cÜ:c‡êõÐr¢ Ü«À9 ç ²ê˜2ïžô¯g¾_dLÝc;ƒnÓ1ÎR©lÞ—£oõˆ‰é-‹«ßàáHgy~ !G~Æë¾€ŠHšóÈ `‹C™mâÉSNG…3«ÅÒÄâ¼ê‹•¢Äβ5VàŽæÐNeÒ•Coþ¹77~l«í£ˆ[ë´b“aÍ[Õ$‡ÄawkÎÌ~£s6»·‰WúuÜC}SÂXe<‹Òñ©£¯µ:8Ž:1ìÈ—“³84K¤³+¼Œ‰‘Õm4!ç—üæÝ*…köŒlf†;U暪åÕºƒ× â»Â›+aãýº¸vé‹YÒ;v×…Tš,Âûþ<&éëÃæ"ùÕBo¾ŸY†ž®²?øËñ‘Dùq7ê)Í£`ÃÐnu»«°ôœ!bìL \Ū“Èèä+°xOš3}¢of ýÖë¨ê#;ÒX»Iži¬Âcf£Œøiòœßùa²›Þ%“jÝ1ee ÆUÁMÛôJ k.j!'%+ËßÞ’2±œ &/»˜S&oXR>‹°RùAÊDû9Ë^L9½‡%4Çßj’$sâ‚ô™pþsObA…sÁ¨äÓëzøgi£õcîëšL'B$÷ÒíuSuªÓÉ™×È/s³EØ@‡ØÆ§v›îI2„c=ÐÊ_èÈ ?ÓúâN'ÿ+Â%WT§ÊñÂÝ›KÞGVJp = aÇ$ˆáÄ8JxÞÖñ½Ý”¬=SHÍM)ÔÇý«}ì,=6@ºn:¾ )Åó @¯ àNÛüeþC:¿q ;Þ€˜Ð|!Ì#}ö%éâ…‘É1kÚ^îÌÂMñ½ÎÛ)¸(O“NB×Õí×ã¡×¯¢‰MÚüºŸ/,܃‘£_Áò7¦uÚfbJw[v/RµÃûTÒ¸o?Ÿü.óޏp—ŒšÿÛ¸m¹ ì­s ±×ªvv¸B áÜFøÍ¯Çܸö.sf.õBBš×¾Žù…¨æä‰U˜`¹Ÿ³ø6\Ïwðªt‹»èÄæ5 …ü¦'ÞQ9dŸ|(q=¤0oi®®ÐøFXŒâø¹Šu> endobj 57 0 obj << /Filter[/FlateDecode] /Length1 995 /Length2 3850 /Length3 533 /Length 4542 >> stream xÚí“y8”}ÛÇí²K¶ˆ®dßf±/‘0Œ5dɘf2f&3¶Ù“²d’leY[”¬!Kö¥,•HÒ3u?÷}÷ÞÏûÏ{¼ÿ½Ç{]ÿ\Ÿï¹ü¾Çyþ.‰Ö z(‚FÀû)@!š€¾™  Š`V }"á‡%à ~hM¢¡ôHD€B4Áªš*J¬¬€>Á›BÄz`üi}™ŸYj€žšˆE"ð€Âƒö¢6A"p€5‰EûQ@‡¬~–øVh_4ñ2¥ÈÊ (,ÒpC{`ñ¬ Ÿ¦àxw ö‡Œ"yÿºŒ&úR}ÒTŸ2Õ%Š€ÇQÚdN ž†¦zùÛúo\ý³9Œ„Ù#¼~¶ÿ5¨ÿˆ#¼°8Ê¿3^Þ$?40# ÐDü?SíИ3C£°$¯Fá~©‡÷À¡ˆ²"Xùë Ã’Ñ( ¬¸#p¾è_:ú§êô~ùÁÍÌìàörÿÞìQ ïgCñFà¿Ó1äo¦N‰ˆ%Ž`E0BM¤¾~9ÿã4C<’€Ââ=¨Š*€ V0µTE„X< MÐdªe"žàG-¨£ Ü DÖŸkUQ@HŽºQªüKQ£*摺²û‹¨›!þ& jí_ƒê7„ ôo@î¿¡ Âþj-þ7¤Ö~CeDü ©µ¾¿¡*òû ©I¿!Õ¤ÿ/üÏ-9C *(© PÈOJ€š 8ø¿&Úâ±>$4ÜPƒÁêP_*’D$¢ñ~¿þê ø“ݱÔKƒF“ÑHÖÌ,>,íEy¹m×ÏmÃbv/Âï?ÕÐС•b® a?ž,m"ú6›6?m”Ø\Ô¥¯~Ý«íõlg²Ñi#NÞ/.ߘÕ*#…å 粩ö4?”æØû+Óh» ÝK¡„æ—¯õÈtWeµÂFÉ$ÉSž-¹g›¿ÌGq­—»n14i_¸ìÎ=y¸¢ÀÄ“;AÿÎÝè¸øŽ›Ð¦ðì…Æ°MIöañ¸TÖz)‘Þ&þóPpÌÊl“ÅÇ‹è¨A‘¼íy̘]œRÝî‡/aZl>‹ÏÇ\Ž>aÿ‘"á0Oò_äÉ3›k¯í[< Q¶WX2 1å Ê鈙 6Jª¦œÁ(&;4XV—!#’£ÙÏ<6?Aº×æ±ì¸/Ä88¯Ûp%´Ô•æÝNâûzgíˆJõÑþíÇ‘úô³¸é&½/Þç¶ŠFÏ<®ä –méy4ÅU§ýí/‡Oa‹¶‹ÜD÷ˆÃýýƒ3jë°kR‰q¢ÆáÕ[ç+V„g6ü£zÌЈíIqŸ™;üŸ[·Š9WÍxÂý!_îá] R>ot´žÇÖ}a}Ä4m”7‹=ÖX`ӫȨ»l8¾q``'£ÃÎÀÜùžlg›À`5%Û㻥GÖ™«¡ã«HP`’]Ó~”S9"·iš”E C0ô$듯È÷ …ê“ ¢Øà€< V•Ë ‚L’ÅÄó/3óõ° Ö%>ïÍ|*]R½¼ûHoÞ1Ë!)ôQ*r}“vA\¢ä\œÌøL÷MÉñä¯å¡ Ízi’³šõjÂ&І{øÜØôÈNþ ýÞ¥š.âûÝ79Óm²£ÒVxçXš?>@”0 ¸4åOÙ€Zxôs‚‹ =‡è¦w¬e‰Ï‘µ*±‹0¯ >¸á1±Ôßü&èÚçU–쵓¾¶à¥Û´Ér½ N2íÓýr™Èo¯:…·¬å(DËLkئ•Œ~T°þÂo§½¼£lqõ.z‰nD:ÚHÍf¬£Ù)Ÿ×•Ù„_˜lHj5Bze6¾Mc^Âê¿ßeG““´ÏþHáì\v¸»°X9¥C\O¸Ü$h™Á}+–»ogU>_xŒãÿxÎp0œS”p³Á®ìë¬ »ª¸Û~7]ôk: ›•HyJ¦Ä…ƒk¿Åô‘EâƒÜêÚG2ïîb^ª\¹õž(Ù.rç»ûËë¡…sØg‹íÛw g»´s޽ÙŒ6sBXLû^ì5É¿nÐ*Á[Ø dP‡Vßè|Ë‘¾ÿ­X–©›\üã¬ñy·ÀN•¼` °þ(BrËT‰èÁCݲXZhÍwf%ª‡¸›?Ð é½°sÞ£½Y–9⹡Ž6íR>u¸?›Ç"¡H´*?¨!3$÷vÂ!çÒlòHþ(åz‚¨Úcþ4z-ù6“‡¤8Ëû|³9‡kkjÒˆN]4IãYë–Š‹÷ûôM3µ'<ªÝ \R➌P¾²MÝ.ƒÙënÕ 9Ë*´ÞÛ®¼Â¢"mÙÇò§i¼3:ÝÅ_ª±Åž}œÍãkÖt»m¼üîo~]²Û^(Z“ƒ# Â<ÉòíÇ‹F«p5]ÿµ×Þ«ÝÕ§4VÇ5êélìRö1¾GÁ·Ùüïà,Eq ’ßzL§š¥0ùb{¨0¶ “ö~@œìÅc¿zJ$Ä÷#¨Ô&‰± S™©ç˜Èv“׌ÏG‚õÍŠ!ôÒa÷õæçh.éUìÊY |ÛÅ7ëÐÓ»7õ!v¾2¥\©Kþ…cN÷ò Ÿë–†¶¦¥ðŸ08&ºsUè©èeÞéêJÖdõs#ɾ[® ‹U4‚õ9ySdáµy‘iæ J™£yYŽæM»h L½õÌ“ÈÉ›saA'ÂÞ•¯YnjA\š&]QÅù}ux·¢!á^ê[>ÃUpÆÀùª–Á×iLjkÇnirK$¦Ùz'ØÀƒìõÃÙ ’ŒUõÖ^!…Îð¼Xšçü8kò¬j½[£hË)½Ÿë%÷…¼£œF¼†#¨W 8›Ê£…‰Y±y–xYüúj¤+¨]Èç}±UÅ02Œcªåpa‹oqýyõëNR[ðô.õTgMÅ—^e³‡V^¬óC|cÙ»‹zØ‚ùǧÔ«,¾%ÙhDLlzN æ² £ð§¥Þp3(ŽÊg'|BáÆ¥÷8Í® û¹ÍáåKÆ<>žowƒ‘}kRf~ð£0ˆ+NÆP"böˆ¤Ëž;ilqÀ±>ºàë+yJ88=’P%1ÌòÅÀï¾ z?;óÕÛùæýC·Õ:E·ˆ.Vä¡,M–¨DföñÖ·ÁÆ•¾úh¾FÒ«úwÔ¨×ÉtðÆN~/‘m§ðþcÂM\qÍ*{$“|óÀ×%6b«9ÚT`«öïxdñçß?ÉûòÒjî–ûTE3[îá–‹ÿxåÚ¿ñ9lÎzpâU3b$isý0]Ñ1OëL´ñ8]5bX¯büd»àvÛ&Ãܱ¾áV ™êväÜtdëøâ=¿ç°ZÊÇä´X¬VP·¸&ÂV‘zY†"'×ÁW£¶yâM¿Â­héVÕÞ·všrOÀ41B› 'gåúÂ:4ýKugä£Ô·º"5ï5 G³æ›vyä·)ᴞ̬>AyêL2Ö-®)É*;›öIl€©Ç`£¸·é°ÿ¡Šûcéw:÷8_OÒñÎcms‰Í¦]_.*NÇK.õ­8Úõ=½ÄÉs¼W¸a`¹» ¾óüBe‚iÚ÷Z”£Ò}^a÷¦¦úŠ7dE›;²‚RÝ.>€¡…ccÊ~«‰ßW1c‰{žfëÑ®ëòëàÇå˜ÅïÔ,ï¬T™9&³^\Q÷•åS[cšû„¿€¼*C’Ü宩óÀãcoÕíñÕ¥ïâ b»´S m—SÀ9›næO3Ç,aFNÖÏ<Ókl·Ö+p¦èªÝy5x2NêA¶ev™§S(é(là‹Ì{1WãcU{ÃpÞ„µ¼ú¨Œëކó=E™\6WIgw@C4¹¹MEÿVŒÊÑd¼h苎Cä”ðdÌ©+)L%îŠð<?È?ƒÓÒaSÜK`~ÎTóx™@4Ø%›A«7IxL•[·Xf´¡²Ëòá”s½È©„O9zËFFËh·~ÛN¦ œ¾zšFÈɳæ ×î°÷™¯1HÖ-V:åTôz÷¤lSë)ÙŸË  N3ì¶ÁæåÂé„gr|îVÞ¾¢ŠßðåHî–TcIíÝ›¥P¡ª`±Déö÷ðÕ´è‡lÎmˇÌL g¢nÒÅÎM|Þºø:ö ƒþÖI'dϼgr/KsýÂY^o å@!Óà×!jNp©ÞCÜC ûâIŠ©û=â òµŸëÊG J©%W²`œ•ëìO.ˆ&CX‹ßMŒŠn­\€•1µùðM¯k³£íJLÖõëT!Ö#û÷éŒøž¹¢ZT÷&½8kbÚÜþq×müjSã{ ÌÜ÷f¡>Ï£sïå_Aïql4‘Îíð™sÙ¼NÝâæW1ŸwhØÖyU°´&'ËØêª›ï¯øÅô•X¸]–ˆ¶vçsÉa-ðsɶ/IÍo •uŽ®”]IïøoýØk|F×Tå¶ÕÇÃHc4ÉwѪ©ê=6mñlõ>Jïâ·ì^¾ð˜¯Mà…ZÜòEÝ´›9Ë^j¬¥uýøh6dÆåW‘¸‰|_ÊðReh\Áljbå•ñ¸˜jæèÙ ]/Ë7um('ÁÂÒOì)Hñ'¹Ýá»»)ãwp{WFæ²ýBÚò«ô3c “t¹¾œøŒðGá²;Þ…XÊhhë L Ö§Ê,(g$Öç[Ug£C½(çcÚšêñ)—®ÝêL²mTå(­M¸'ß›ØéIÿ/Öÿoð¢‡Fý^¢'+ë¿Tx ° endstream endobj 61 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-29 -960 1116 775] /FontName/KYMOWA+CMSY10 /ItalicAngle -14.035 /StemV 85 /FontFile 60 0 R /Flags 68 >> endobj 60 0 obj << /Filter[/FlateDecode] /Length1 1157 /Length2 3146 /Length3 533 /Length 3922 >> stream xÚí“y<”ûÛÇE¢IJ$d¹íe™ÅnìkÙeO…1sÏ43c»²–­H–Dʾ%-ödÏ–ˆCEˆl ‡"Â3Õ9§óë<ÿ<¯ç¿çõÜ÷?÷õ¹®ïu½¿ßïç–µ¶•×ÃÜAc‘&€"€…íi@@áII ˆ¢áIDC Duu GÇe®ŠT€#•U!IÀ€Dö£àqçiÀ1ƒãߪT=O‚G£ˆ€Švôd4A£€- i~PÐ#›oK¨€ H)Þ  ¦î O„À¾A™±$@õ‡Œ¡“ÿJyƒ*ƒ 8Æà<0(1$"ÁÀ€X̒Ę2XþÇXÿ Õ¯Íé‚%Êó[ûïõ¯<ÊOðû³‚äI¦Ó@ `A€⯥Žà8 ƒ§{þš5¡¡x´Gy„®¨ü#§ã}AŒ5ž†>`Q*ø]‰˜_QÇ÷fvÚÂÊQOöÏ«ý‘µFá‰4;?2À–?cÆ1Qð¾À8G0 ï__ç~™fDD“0x"PPVP ÊÂp#Ržˆ}З ƒI4Æ€q6A–D|»W„ €yâ‰tê7ýOI‘!Ñ 4<™1äoU¡@*ô¢3îÀpßì R~Í(02Dƒð_‹T–D |þ•Q`(2™Bòý5¡þ­‰Ì0 Ý ÒþÎ(2¸û&ùüðÜ_²2€Ð$þCc°AÜ÷_‹J@QÏÿÌ0€èDü7{ÿc¨ Æðïè´ÃO ¸s§ ÐŒ!XÚ?dÅ?åÿÄAÀ«ÝQ”ŸÃ íñäß6Ò×'ùÈ+¨òê*Œ[E TUUå ÿ,´'â½è ‰!cËp¸šÂ[¡é cëßÿ_†Eÿбx†­AÐDCÒoÆïr•’ýä¶Ú0 æXÝÞ3|/MÚù>‚ßòyh¢ k(Éòƹžž6Y¹•ÛQ©]£"Ãʽ!{ ­•šo­Ä«r÷?Iõ.VT@?c³Ø]gƼÀt‡H‹D[°g¾t^½sÙᮞœÆ¾²y¯€¥ÑÌMÿ0·''œq|÷Ú4¹Œz¥®S¼mYáÙ›‹­íŸÉ6¾q8–—É늑û:D¸CªÖ7*õ‡† ú·¥µFVrL¯Êêt®5ån«;Ü+ö5-mý:[Êáý*¢]íXuÙ]qxv©ié@—‡Ü…ôläJôû·;–ÛM£¬ƒÒÉ#dÍ)vÕ`ÉdÎÕ…KÒwURWrÕ{˜VÄÒ1>Y!‰:‹•œ²;ykö¸ò jº,gé@Wjm©Y~޲¥Ôåa”µB§úQϺ·!]ˆGCˆ˜Üø ¹ËËv¿;’&;œý¿0¹ätY¾ök(ÂÆY}0 v¾õpi²!ª;$®ËjÞL÷Õ¾”£(ºÑ™0_a½-ø î·¿øùFäo„ ³‘ß´P½9“Ó' Ð7 aŠq±¿«|¯¼×:éÆ'¾oÐÈöNçgý`¹äU¶ã”€¦ÑNGŽÎJŽg=ì/:Þ§;ôâKÌv“ÎF—8K¾ä6L™ S"O–u5Þƒõ´ IÊŽ|qÉg]~¨¦ùz/¯D˜l óÊüF–Îg=¥7f§oÖàcm[a3¹f´ö C‡ïQ€Œ–öÈ×ËÄ÷ƒû¦µ¶s_ëPläM’ z¼.fä"XÙ’ÄKƒs<&|ô‰.R©Ýamº•lÉö1•†f§2•´ÙJ¯´œÎŽ_¹wºOdíÙÓ`AÛDѹ•ÃÒ x¸“ÒéCÖ;fó¸gè7ÐY¬ÛÃûáãý5NtlRyQÝs‹žp¨úÂâ`y;éRtÀØç‡½zkíd+=ábìÑê¶R~eu8œ¾pb~3G‡û ºY¥F=îG em±×sW(t<c$Ê QjT¸ËS‰ååkâµÕ³ã~ŽuN?éQö~æíæã‹°‰Óëp–©h UgI‘-ºÊG–à)ݧÙÎz»!d|ÁúùäÊ©JYZ"ãhi}ûIÒSBF|»f H5Ý{zZÝpJ's<šãÙÖGī˔gü§qµÅ?9Ö¹Xö/‹dEï/TŽÛ!Úµˆ÷elˆ’£:ðËd&%^(œÜ®ªïÃ.ßîœQø¸{ÝßrîM­úìRÁà]‹i”Ú5•è/Å,›¹©Å§ä¹ÅfÁ¯ë)ïïpOÝmÙAt k#¿Áø¥¡Ë0dD¥ëB‹ö I£åfp.Y§lÜC,Û:7íÜË5u½Ô5{J޼EG’ôgc œpbı‚Ꭸc>±$@®£V`!j´˜Ôaµp÷ü‹ÖôÄ)Üñ鲬Âð˜Ó§pïS3Ê_voòðëa'˜§5Õ-_CñE·ËG¯)*Œôu6-¬¹P´ٻΛñ™ZΗ ÎV4omÖssÝKºúÜ7/̪e+”Ï%‘ñ&ú¢¼ëA®ÔÚçæàÆösù m"\ ‚\ŒdÇÅZIg×\Ö§$Q(MGeš,§UþàÙz=g3¥˜^5ß“8àC*—óüCz‹|þÅzur‚¿\e$»Õ°hæºOñ¾ðSµ zÜæJP³‰yÛ¶ñæApÏÅ O¶ƒØ$ë¸"sY—zH4 Ï÷»®ýµNÍY‚Pæ7lVyw÷Yl»ãϰ:{@u¿õ¾e—y•¯š ¥‹)ÄR«púÃß´üi´•ĉ=¬ûåî‘“[…Öî‹Ps•KU‹"UŠÔ-a®¼5ƒÚy5Ö¶ú6°·°¸S¯vùë‘ãÞ…?t·›†¤lÚ埼ˆ4c•™HY!ëÎò‰kk¼éês\¬Ï¬ÃÙ„ÈŠ »UR%É—wÑã ßÝ­àÈ]ž#k9RI7¢F8ø5ûû;ºœFsa­—p%àÚ%HËœy]ŠŠ~rO£Û!¾8»3%K¹üuçõyháæ X÷²«úd ’åËw¢«èŠ^›¿„Ä%ZløXÚôÝ‘VÈ&i,³¡ ÓRžSL•ÌKá4)dÿYñÜ-òÔ“ºX|òv¡ÿ­ö ¾µ1·µ-ª“E¾^ÁõÓª÷Hh÷ßj:x- ‡©¿¿ÏCàø,M3§Ê¦IJâánÐ.¼þRÜ¥ûvôž¼±n¤­Iz²yïÒ[W5qGs"zQ[¤qO às}J.Ú°´Ž‹Žß¬" $Ó,¨ë:h‡Ÿ2yÖþxvæwSëP9¶äß®||ßûn‘3¶¼<)ÿ`¼–NØbbÖé$ãû§àg´«˜Âϼ‰‹¡nr<’X5qæÅqkUíÚ¼˜VB56Lh¸Þ)|@5™?äÏð¨Tõé0ëDã…µÜFI‘üw UܺWÖv>_ÞžÒÿ 7O@K¸ô!½i»£¡·ë±î’>Èq±ñËˣ䴛ڃ¯ÌÊSò“ö#©Ò½cÜV|žâÖGOÝ|^¤ÝFKªž6}…+}THÜÔ#Ê2´×–©—±UmR¶d&?%Ê•HÅ Š„ø¦NLTœ™ß+yŒÛžð¢5Õd_½Ó\÷Î3S¾–´}-ŽyuQ[|lCe'ïº~g|ãÂ×Ãò³’ A¼CRÊ a”è+ëŒ"©¹¾y9¼¯ùdj^·¬§Êè²ÄÕí/Q¥}=L·Kwï/ >Ú!TÌâ;iy_7 Q{¤Nœ)¾É¾*#`Z´™g¾«ÑƒķðåKƒOˆÍ†ÕnE˜Ž§;@ŒÞßD'–ɯO]ªÙc”~.}øÑàK7¬=Ï÷Hìé1Ë2Éê_¢sf´Å"‹3õ_ìî×9 IHþ«‰7õ?yË.O×ע̬ó’qPo/°PÏd…Ïå ñšqÞëU™"àxGØIÐök3SK “È@Á´·Ú¢’ãÿ:G¥:ðÖhcëãðÉu„aÜñŽÈØÂ9芸'X¢—5l¢‘C ˜€Ë_$`¦¼iArym³¾Š…Ñõ,u~^F}Ò’½}£Ûû×uµt_¹¹³f «£ƒfÜ’ œ1‡h]š4ÇØO1¡ÑœN;ÿ§:ƒÙ‘¦—-jª<.Ž)Ú=™:áÖnX\ñúÃÏìž’……Ü:û ƒãõË£“NåQ²wö¶À±+9Úï¸KŒÿl½™fI¾Yglï\Ø-~Qk¬ÜÕZÊ gfòÔš?¾*Îp–P“W¯Dïzæâ6¬\€ÏâR2³8׿ü~{EìÐ1[;¯gÍ\~ ö9oe˜W3Ù×ñ\}Löû…é7DÞ ÷ž«}j±ÉEb®é[kEЧ\ű‹žá­§^§ñœª¤Ê¤âÑGj‹™öÅéûd3k ´˜kÇÊŽÜHn«`Ž v(‰¹r¸¤c¦!yËÊ’§%ã•ÿøSóΡþ˜§BŽ™ }ÿ¸ÝøYt|US[™}`c²æØWŒjíd64»åÊ9#îz·ßX°}Ô4…}~Ë«€SúÔG¥ É"UÂ&sÕUÀ|ÉbWßnË›]¶gÇ,*§Tiò£¤9šìÑþ_Ê’èo–}Ýødª{úŒÓNd„ºÊ¥ò’¯W)ó¼ç£¥C[êZƒy' ;Æ…ìZQçYÙ:Äbc¨Q)ƒ¯žé0;(æõíÔÂU}¡·QcGJøít·lòB{ù@ÞŒ–@G’žEѺcY9bxËcÆ;°§*¬×?TT:ЫNwÃënvò1‚Óy§Þszú ~C˜V ³nš÷Üï[¥íöS¼bíË.Qwéͦ\)j{ö0Õyõ›:ÕÅl»™¥1u }q÷”ÓJ?­£OMÄmuä•BSk}MòðÂR¦¼®Eíš{ÛÍû¯™ÇU×XñÆzóª+Çö2½X±~¢Ä$yzäÏÍÏsÜðÿåùÿÿ'  ŠB#y¢(ȼùq endstream endobj 64 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-30 -955 1185 779] /FontName/FNCEMB+CMSY8 /ItalicAngle -14.035 /StemV 89 /FontFile 63 0 R /Flags 68 >> endobj 63 0 obj << /Filter[/FlateDecode] /Length1 974 /Length2 1980 /Length3 533 /Length 2673 >> stream xÚí“y<•iÇÂi”=Qã‘=Ë9ÇÒbÍÉ2ƾÎt–Ç9çpNÅÙjD‘e1©˜†HvYK† ɾe—6Û™êó6ï?ïçýïý¼ÏýÏsý~×}ÝßÏuÝ·œ´µ­ª‘‚‡L)dš*¨êF–¶ÎTC!ä䌨ŽSÈÆ8¤ €:: `@÷@4€ÒÖUW×Q„`DñcRaO/ h¤´•¥ øBT˜€#–8šäË.BÀ‘[ †hL50 ‘›­-€ Q!¢‚&Ð<ä “È-&,ÙƒhoËDºß'+¢°¹E6§À¦$RÈ$&@„<H+ û4ˆÍòcýª¯‹›ÒI$+œïVù­>ýÃÆùÂ$æß _?: ¢–"D%êm³YBD˜îûµ‹¥áH0Á€ìI‚UPS ¥Þ6àS˜­aÁ ðÀ‘ :D&~ÂîÞG¤©•‘‰¥¡òö`·MkL¦Ù1ý õ%ûc ~‰ÙM¢Â À¥†BìDöúôçþÕa&d…“=u´€£RqLŠ]JB@&!1ØÄH52…ÆÞ°[Ã<(TÄÖTA-@úÂdzÀ–¾-a4¤çÖýƒ¨?=¦Oކ€dA Úîgý·L¤‘?«šéG…Ùmø¬èH˜ì“aó³ˆFHˆùBä/Ñl2äùñp^Ÿm6ös„Ñ_¸Qì£~þ9CC #DU¨ê°{‚4 ­­Ãú×D{2ìO‡°Æl, b>ª:•ÊÆûøØÓþ{ÀìA ˆ€HK…wü¨rPyåÔëGr,ojï-¾ªàrÜoÕ~Ɇ;œb•âÞÞÞ¨¬²œ}¥u@ªýäZ˜©áwý—ßÉ”åñ—H] ,ÔP'<æíŸo«´ˆØ9Ë‘C¦E,y3»\^çÄ8ä¨èí¾ýá•ÈÂ@æjpÄ©ª.žâÅúŽ‚&Oä“©¶Ü¨ìÕù†¦g^ÆÊ-ç!IÒ/å†w~–p?#¹l´ã‡™©èûùzíßç wÅ̦'6Áñæ¡W¾ob “¹—!¢ý¾s쫱%ñ¥qXþFF>cQO*ÒÖdÿÁžg/„׌hê;%õºöcUyiη¸ mäx×·íAäq]þV3:æ%IJÇ®¥›pÈ=YÅËÉFLÆô5Íå°_Ô=Ef¾C¾*7‡Üæä…<%s*{ÝšÇÞ§­ðâ¸3§°É’Ø5®×QZ`XûnQÕÚ:PÛüz‚?u|i¨úk]Ÿ|v(Ê—œ$‘iÙãèŒfíP.¨âÌ•³hÙ\1}øÞD渻Pê&F­ÏßÇÃöE c§¯f4†î³Y;xS˜Ìÿ}ç°°icÓÛNËo•ø™ï›!^?»Ò}?Î7ÿ¦±(—õ^~×àêºÉ_"ɲ¨&»Zý¹Âá2ó\HîªwJ‘®””T¹zô%;]ͺ̩®• ÙSÃx³®kO)é¶3…æ?r’šýüy`FâÎM»"ô‡1NïWEY&à8Ž2ûï|ž|V§ÿUj‰Õ†IºcÉØµÖž²˜Z÷'´X̆—Z‚àɯsñ<×ùç“]W.É ¼”œ¾¿pÇw¥ü\*{Á¼Æk÷™Jûõ×Í×3ý³œê™ByÌѨóÎJdÂúE¬°WýìóÆU|Ç‚81“ú±w–íßkîNG¬Jv÷<‹O·žmO›²{è·i_Æ}¼Fñ|í*KïîúNÓ¹$ É^i¦Ñ¯¢érëõÑ€è(_±f®MÐêxIï‰öVQ®“›;Xo—£¬¼®ZH2zÏñŽ5~O·žâ\mT‘ Ç"‚Õá /ß5™æò\ŸL÷$¹Vƒ›²g[–loIßiRÕ Nh?¦yRè¥{}äÚmó©‚ô<¨ ·´!}ö¶ª°HA¢Å8O’vÁ”%.§Û%$³f`É|x¤*Le²E—!  æ­ q9µå±ë˜Õ™ÁV¦™37ö†¶ ã‹Á‚ŸßÕŠîÝu¹jL´æÍãuÔ¹|+¨}ý[É2øèeaþ¸>œÄÅ¢Ûq”Žeµë>]ÞÄJŽÔáVûRrL}˜YaÕºKð4".žšž¦~Õ:‘®ñ3ÑÉkñ§ÒõºˆÓ®ÎÚýt×1­ gK‹Mä$öÔ’LEAIêõrí“ÂòeKnWg$èɃgcU$„ôœ]“R^M†Û:éÔäh17T+ë§Lεd¶OÓ“¦u)‚˃ç˜%é+îå™xî⥌~•Q3“¶KNÖ±y†klÊ¡–ôÜš<dŽ÷ðŸÒÌ’ t¥¹¤sÍFh_ðE÷7O&øäfríy#N¥¾q#@úïPŒÄnû¨E„¦/½?×5»¹OVzÍÞo†6ÓQÿ凸ÿ‰„£Ò(¾8ªñæ‡Û endstream endobj 87 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-24 -2960 1454 772] /FontName/CMQDLW+CMEX10 /ItalicAngle 0 /StemV 47 /FontFile 86 0 R /Flags 4 >> endobj 86 0 obj << /Filter[/FlateDecode] /Length1 951 /Length2 2135 /Length3 534 /Length 2784 >> stream xÚíRy<”‹>eËà "4ù5Œ1 c c‰ì óÍfÑ,¶²ëDÔ±VHZTGÆv,G£dèèEB$TT”rÈvÝ¡Îrëþs÷¿û»ß÷Ï÷¾Ïó>ßó{ÞWk‡«;Â’Ä m™ ­‡ÆVN6Ñ(­‡BA´´¬X ‘Ce2¬‰ ML0À~. Àè4ƒÁC Z€34’E¥q˜•ö˰¤ƒ,j ‘89A ](H¤îÌ@*ȉÔK 8°6€l’ô 4 Q9@H¡2 È5Wö 20úÔ&qCÿ€Â@[è €­Õ„6IL- dÒ™)ü(4óûú7¶¾·åÒhÎDúšüzT_áD:•ù™Á¤‡r9 pb’@ãKªøÉœH¢ré_¢ö"hÉ Ð@õ©EeÛR#@’+•‰46¸Þ¤/M“[·€´rr³vô‚^ë'Ô•Hep‘¡ê®Ñ×kô_µ0 5ðA F ‰Â÷¯ï¾ø› #I¢2(kY,b$DxA ET ŒÀ¡e¤ƒÉŽÂT¢2“Y[)ÚX@°ˆ! ‡’9T eñ4ø\ßå¨É'üzÐõúzÌX±¹túúmsÀÎ_ˆñß•J#Fþ ®) “),"íïØ×Ùãñ̈£Œ€À˜ ³0ÀFF˜èez0¨G¸ ½5€E¡PFFëÝ@.‹28ë/\ì5™*<Œ!q‘ %&ø~ÔõºŒŒz$}¡€;ˆ6ž'çxœŽš48eÔÞ nï:¾ûö/ûÅuì°<£Ç;y“EÇ«{&Æ£ ãó™Î²U³xû nC¥ã)UÇÞ“]˜ ›Ëœuô6ëÜMí䟵›ƒnÕÄ)ÍÙÆnr> gÌÆ ¶áâsÇ:®!Z–Ø9ô’Trâƒ-áqiU®»$öÆ0?tEFů3¿ð¾Ëâ2ÝÓžŒ)ÑäÕ÷žÒ¤H¬¾|„å·ü,½ã-—ÿSÝæ¸g’Ú‡0ëVë“ È.>_.¥¤Ýíô¢žö£6*JòòÛ9[*~qÜí5є矢³=QøþàÅ(³4À ã•äæ˜äñMSwñ´ô²|Ï6U¥è›~ï6·B†œO`ürEt ^øUîÃ)—m +²Üoå¢qûå!õ*æñè¹Å,ñM\Ùei¬}6®þÍŒ…ÔüW§W[î…_NoDäžS}ž§¢l×pøè¥âÍ(œ³3Œ+Œ)íЛ·žÒ¸¹ÐV šÿ.;q¶æž®~ulu¶3‹P4´z-eø T)\3£­üfìê0ÞB‚Ôz:Çùy‹ÇÕ ÈC ùwªT~RŒ~Ub#ëÆ¡#ÈW’þy|ç›G•qsì™FÃë"*ÍÛïá·þCVpeÁáüÔö·ŒAJ­fÏû‡ÜK…òåN—ÒŠ¤ˆ’±9=VÚFÊ”‚àÞA_y@ÝÞWÝ6rë&LÝÑ““ÞœG”¤óÊ:`2µ7VËVV龫»Èù¨ïÃHµl®mmÏ=ÞaP›×ÙúþrÍQ)~¢êÖÓQmÒÈØ úÛܺ˜ÎP‰‘cÊâ~Š×sxÐÜü£¾“}‰wãGJ›“ˆé¤ÅRHrV¡ýõéªM¯"k•"¸NðE¶þÐè2˜”ry…ò¡RÅPþ]Ýî(uq†wçöQ÷ݸs.ŽSLÁ¡N[˜Ôï%°„å™ÄA‹·¦–Ç»âÔ8÷š—«žm÷½ùÄA¯—=1”ùÞ±Ô|8ýWnùÛç‹â—÷5Ê¡³87³¨Õ(Bݶr…~ƒ+V-:/ÓRœ~ø¹rL^QQ›,Ò*4Î7óÕ?¦&CÍ.¸5%¶U7èê5êO›uAˆÔ'Gho¬´eë9ìÝøÔºt,ßýaauÁäÁžÚî¼-P\©´E—òƒÅJ@"S}â~Rþ·sÍ$‡ž†ê'n ø6Ü‚½ánÔEw[§— hxúáfеˆaI‘Žø`Ú›¯@@,o¶X¶ê^°å´àe³£9!ÚcK2'·ï´\©W;ñ¨*;¥‰+-húXa ¯€n¢¤ã:¶=ÏÖy¿·b{½—«W*:úÖsZÝ¥T.eé —ã_ôrhúeˆd¦e~î/]ýò€—_½j°A_šw]5®‰q-^²´†D•¸¾£°äS§;LûÝ2{¹)žU·ì˜"jMì¹ÚŠ¡¡!Þ ù‰q y¬äݘÔþkû\ôD!°3×®†›Æê*;Û[MySDl÷<Ûávî÷«æ7´‚©¯ƒ~Iæû-;@¨>©2Îø¨0SŸOp~Â93­µÂGe|8æ,Ãý¤ Ú;ïû¸íÝN—5ôÚUÚcz&ùYxïÙˆìž÷}éŒ.‰°D˜çÈœ<)\E”™Véè÷òY)fë4I Ù(íüfp£éÀL«OÆdeØÈpÑ&¶bxë¡þ¹z™â™3Rôo±»wÝ×·¹“€GHD}?Ñ‚¾zŸÙaA-œ_Î{çó–8`4ª{x2ÇÓÁÜ$F]×¼Op8 ¦ð*tªÁ•a›lq¼äÝ&gRÅ/öžì—Äá6"å©¥wº¶x¨qÌR§ŽF9V*Ò«‚–­vvO´…$ð—<;³Ÿëg*<›Ö±^(;©—1i¯£œÿfšµR6–VçµN¬v#Toßaá–ñúÙ†jX;[ÙÒRp7sSðRéÙŠ€Òm1535ê!õ㑚;û”ø…§Äöf¸éèûŽ¿“ÌÆ¬lË©"œSããÄû~N˜6ËBGž«¤Ø»J«Š)ŽÃËKâjüjz'ýÒ¼ÎH<ÇŸÂ6ĘKý¾Kq/ú•7ïì‡Ó'7%¦y÷Uêj-¿u’ªÚ½Fš0jüìr-æ[”¥s‰Uà®r–n-+«úÐs‹oH÷íMgJÃÇÚ£mÌ êUKoÌ$‰¥jÔ§úoÇFN?ª/ŸÐè6÷¼Ú4¿L‘­„jvrKó½R;*HPÝÀ!§íJ]É}&T•ˈxü¼dñ‘€–ª‚q÷­ši¿¡ã4=Ó'÷ÒÙãÍr’ÖeެÇñíãË'è¶ø°ü{–5?öÄào=ˆÞ‘*hÄR‚ɲYöÚª8õô=R'î~³:d1•bô-¾h`abL}ƒ¶èÆT_æÅÃø»Ò*ü’f%ûûªÊ¼› àöz1·}bUx#p6®ÙKk Ÿ:!BÿGTáK“ÍQiØG®Ø€kob÷APÿåóÿ @Hdq˜t"+ù'e‰´ô endstream endobj 102 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-20 -250 1193 750] /FontName/FTDCRL+CMR6 /ItalicAngle 0 /StemV 83 /FontFile 101 0 R /Flags 4 >> endobj 101 0 obj << /Filter[/FlateDecode] /Length1 777 /Length2 1318 /Length3 533 /Length 1896 >> stream xÚíRk82t#\( @a¸a*AEø€gPŒ8óšë-E ™â,6¥ª(Åþ©M›Ð°2>|dœH§[®榴¨%z"ð^1ä´×¢ÑÌ-,g«1†AˆhvŠðÀ¾à‚ 1ïø2XÁÏX›4ê?r«MÏëú/ínÄꢾÓ±üå÷êò ”GA ñÁn#U&~sKÉ7Ô±I¼íb~kÌ·F"YQòdùÚ€¦*ŸîQ«ÒÔWäµòŠÔ›ýPJ¥ŸÏR¾i„/aÉÓ!n¾Hxã÷Z]­«“muÑ7~å–ì$Ýhx|¥çÐKéWVœ6ûPç#¤~cç!2w§š¦ä¢‰Z” n]ü'Ïa[²gLëO޼— Ëó›)+Gº ó_9:n°¾·»'²Ö€h•Y"<[à“XÎX¦¥­¼ú§y»ÂF GS‚ûJ­±RÎÃÉÈN a­âZœ•tlîÞþ.êìšðŒë iÇr®{îWœô*à™¬Œe]Ìè2Ïö/d´›$‘ÔKZòæ”°&ŒÒÀÞ‚¯_"Á<;Joú%•DC˜°-_Åýcf„Ûâ ñ^dÀÙøôÀÁ}êP^¿ )DëMúlÕÇòËPlHÃ]žæw5)I«W’Z;çmz´½ëzaë`jk§œrsDªúþð‚†¨'„¤ð÷ Þjå¦ìOé©+¸í£©±Èî–Kwëä߆7eû¤­J}’§±ÆæGãø7êì]ô 9M¯÷gC¥Ðº„G+Ë0-;hÚëβJ½ÚCÑ¥²éßõt,¼¤»F¦ª„…$×[ ;ž6”ÄÏÐI"8×:ÄùЬ]¬xŠ}†áñà$§ÊÅ@æ¨øJ“€ œ0Îm{h{ÀÉ^CqÃY™Pv¥¬HT/MÝŸ=­ZeËF¦Å™Ú·HSsŸòR²ÎôöªÎû—›}‹ãºÆz¡šýê½J—Š¬ëº‹ëwÜK~ß¹ÕØô[Á@íίïÊM´Æ>Ïýä¼qê…ž¸yEÎXa~2uIÇ`Ù£¯d¼<î°Ñ’㡸ãCë•hïò+TCî5#uL«Ÿ>lm¸6 «˜x+ ~§œ ÊQr_ä©¥=O™UÑh2~Vç›þ ûcÎë_²()7/œl¾Kþk§´=bB|üSûEÍŒë™¾Ô NŽP¾šÎ¢¬Æê§^ÊT!‹K’[NÞÚ(]O¸Sž[¶Ø0Ï͈ú\¾ô—¼¾×Á²åF/j6ŒŽêÆ^ÿ–°÷þjæ–ûãþ\ý)ç_‡¯^Î TÖT"tv¼Î?ï‹dN÷{ÃkÕ¢b5o>’Ü+5¾¿È.¼ÅÝ„ÔYÖS“½<)ñ ï®í;yP!/Z^lš®Ÿ »Æ(Ÿ4´T?x×ÞQ½F¯Õ/úqBEÖzYÕ9,I¥Ô yÂßoKÌF¶‚ö~Î1¥r{£$¾]?eÔW[ ñni_µ 4üÅ1ïJÎ|(9rM0Ëó›þÖJ›4‡s¶y»yzµ%5e5~±´ÁÞ“¯Æªk¹rÇ“9‚†ùª{¼:áS$»<ÇÄÄàPÅêÁóŸÎÑþËEü¿Àÿ„‡±1*`cÁDâeúù7 endstream endobj 109 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[11 -250 1241 750] /FontName/JJDLUB+CMMI6 /ItalicAngle -14.04 /StemV 85 /FontFile 108 0 R /Flags 68 >> endobj 108 0 obj << /Filter[/FlateDecode] /Length1 771 /Length2 1279 /Length3 533 /Length 1857 >> stream xÚí’{8TëÇËmkJ×lÑ›H’™5ȶ1¹“[“”¬f3k±Ìh&¹”K¨­¢¤ÔI#•Mû‰ÆVyäšta·;"Q±%—8ލÎàôìçØçŸóœÿγ×úç}¿ïû}?ï÷}×lõ5wäá{gšSÉTpb³Ý¬|A$cc'…(ޱ`!ÂT[[kà.â KÑ4KÍ‚D2Nx¤„@CÄ`½“錊ra °aa"›pa>ðŹ("”päóÏÌ’hàƒD#D Â#“HT*à¡\!؃„¢‰2C内à€>Wæ‰"¿¶b"ZÎÖÏ’š9'ÇøÀCBH/\¾"§ù¯Áþ×|sgŸï fìg²úC |É¿¸ R$DÀÆyÍ—r966ÂCE‚ù]7!ÌG¹ŽX(æT+2d5WG£Q1ÂÛŠ ¹a æG#³uãÍ'‘Ç7ËAqwgyú3Íæîv®¹F1¡Ÿ$ÐïêÙ9õ÷¹<#ƒ@ˆ AT¹Pþíš·ÙŒ‹óP,XЬL°„É­,h4K(ÆCÄˉ)d Ê—y2q 'H3×J…è€1S#ýñL&.Ž•¿ s šÜÓŠ è4(îßuþ%BÜX€ÙÐ-mæÁ‚ g<Ÿ¯óT)‚ˆ.)ÑJr°Ø–Ùu£—ÕÔ\©úDP’Úª˜© duW,÷l®°®Üd4‹c(Ž4ùÀŠlM^·ÑzÉËç/­9¾ N¥öäZ]9]Á@”’ú9~j¢_ípošz¬@vhú»V«¬26AËæ¨áC8w¤?¬ê|ËuöêJ—I[³–QŠ×ØXö/ÏœÞ=^rôZ†t_ÙÂÀ½ìRµ’OÍ–¯—éqÖòÕ —™Tµ?S÷õÈ_µ+if/%Ö†DY;{t)+¦S é'½Š™ŒpAY×ÔvξýÝ&ÕK¡ÜÝÀT`6’!qÔÏ2~Ö.{Ý6ù³JÚOyÒÙÕš'ã÷„Ç;>4.©qQÏœPìmåÖ­~1±œäÊýVáÒèÕÆÒIÙˤå6©©QGŸFéJ-ßév8j$U|<ïà’ø´.žœÞ} ©W?tgc$=M:8ú»c¤Äªigð«ú¡G¶KuE¶)¬‡K¼… C¢YƒSlliÚžsseÉþðöÖ<­“,S}ØrOé³ëˆmß©a6“^ûËXÎØ±Ý!(LìÔδˆ¯7ŠÐÿxû8%BðCÍiá!mN_ÜJx…ÚµÝZ½o+ :sx5öïmâß%ÛÎPÊNÑ;y.¾onùŒÌ¿½Ö[Ò¥Î: “a¨Ÿu©É3l öèÑ]nz®»Ì©ÿ^eNncadï§‘bä‘g§“:<4X¾É“Òä¡§Uw÷ûìÅÌœ¦eª·ž«o1èÊ<¯êWýØ̤TÏ~KÑùËá«Ã†Ì®¬ 8l—¤;çÀ=¡qో¹°çXðÇ@•¹iëKUŠÐô×Ê[S:J Ü_ǵ_ggXŸéTá%d|IÓlëh®qw¥ÏôÞ¹ýæÒ#v‚sÑq’çƒ$•‘öw´‡Á0ïfv©ïÁÝqU§IéXak«âLªuŸú½–š0£ÇÞk¿¬oÞ~cÿ£d¯mÚ‚sçCCÃeËÁϲ%ªÇ•‹Rý“«ßÊZë‡ü£¯Ùè5²«˜k_Dš¿(ˆZ úExäÝÍ¥l?µHmrÙ­]yhÑ¥o<zuž;ùä1?Akû±ö 5ü„«¹Yic5• û¬²{u¤áÊ(¿¾N¦r:€(ªÆ9\,XÛó³ÑÇâ» ×o÷³Âw|ée¼?òY©¸ÿâÂÁ]s÷;õš«Ùay±Q5]Š\î¹7+6èN¹«j»Yêu¿ÊŠùN³3UŸévB¢-ݨ´± «VE¤´jª¨}0¼Ð@{êåoïú÷ÂÞ Ú)Æí#'~Òr>;LóÎÞ!ýKÉ…½·Q¶A1®Ð'ÑXÁÌ?ç1¾á l)nšõI²ú}rþø •JN=Ãsù±gr(ju7“¼)ß Þ9réé,m¥_ÌÃZCü½÷Ý·÷Ñgn§e; ïbce—ˤVe»¹#‹Ÿï›f¡]Õˆ1½öeÓ³£¥ÖÈÎfã€;eo]YÇæàZE…3£½²uéKò5Š­»…|¥óáHz(–Ýv<ÔMÊéÈïåzòìc6à‰X«é”'þº¸¯BªwòxÀPÜ{— b504u²wùGxÁáÓØó–s)7žŸÕ¼Ÿx!$}ó¶*/‹Ÿ£o)wîþìTvsCÓŽEÊZ”ºOÑo†'ZLÞ—5wtÈ¢gß0Ü®œç{ÆfÃu#ɼ8¼›GéþÇô§Áÿ…—À„ÀD‰ôO¶Ì endstream endobj 128 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-4 -235 731 800] /FontName/XVWQOQ+CMTT10 /ItalicAngle 0 /StemV 69 /FontFile 127 0 R /Flags 4 >> endobj 127 0 obj << /Filter[/FlateDecode] /Length1 1937 /Length2 12334 /Length3 533 /Length 13439 >> stream xÚí·UX\Ͼþ Á‚wBãîîîîww‚»C°àîîÜÝÝKp‡éßÞçlrÎnæ™»y¦»/úóV­zߪou­ÕdDŠ*tB&vF@q;[g:&z&n€ˆœª*#€‰ž‘QŽŒLÄhèlag+jè ä0qq1„ìÌì&FnVfÐŽ bgïáhafî  ¡ú§@Èèhalh 3t6Ú€16´¨Ø[=è!kk€ò?—8”N@GW  =ÀÄÂØ`4³°…cø'–”­©€ãß²‰‹ý7¹@¹”ÿJJå4±³µö˜Máäí@~@PšÿÇÁþorýïÁÅ]¬­å mþþ_‹õ´ÚXX{üW;{g #@ÎÎèhû¿»jÿNhbábó¿[¥œ ­-Œ…lͬÆKNâî@E gcs€³£ ð_2ÐÖäg­Ü¿0hªk()(ÑüW]ÿݪhhaë¬êaÿŸaÿéþ/fzgÐú8Z¸¾0‚˜ ÔôþïoºÿËMÌÖØÎÄÂÖ ÀÌÆ0tt4ô€m!±¼˜¶&@wД˜ÞÖÎt ´(>S;G¸JÊ `pp±sšYÿÓòo‘ À`ëbcôOÍlßeNƒ¡=H5Mú¿UVFƒ½¡#ÐÖhêü®2ý—úï-ð™4„¨(NVï" ¨¯µ‹Ó» elgccø®€™{Ø›ßÓ°²ƒ® d÷Wƒ“µ¡“ù»Šì t´{¸ v¶Àÿ0(½³Û{;(·³¹#ð¯ È¦v.Žï(®©…ë_=8ÿ‰km÷ž äâ´±øŸ*;ÈËèô>OvÐÁÅð}åÙAóz'Ð…ß 4;‘w™Š¾ÈPì?Ä2'‹Ä;ÒK½ÈAö@rïr'ƒÂˆä øN %R~'ƒÊ;j©úN ù©½È]ý@îïr×|'»Öˆ 4##GCc+ óÿØt\,ÿÑÿç¶ãbýgÛ[X[8»Ø¼ë Ë÷MƲ4z'¥ñˆ‰4c“¿ðŸÒý…ÿl’¿Äì/Ù›ÿ… E°ø A«`ù‚2Yý… PÖ!(Õ{~&бÂ`û‚RÙý… Tö!(†ã_Šáô‚b8ÿ… .!(†ë_ŠáöŽÌ î!(†Ç_ŠáùþW•€ÿ£vLÌlÿ%¿—îÿ¥Óße0)Ì´TLz2ßH ]híüÅB²PãáÉEü}kÕ]KÉ8z3¹KûÀÊKeÓàžpC}¿ê!DIÞ~Φ_íþ’$¿¿üQ¾ga\ɳêô ¾Çøç1ÙÓrîYQÞ0oMŠpG6u§ŸÕ¯IÏ>õ{&û7Ö¤¼>—ä:ê¢zƒÜêÉEŸs[Eav&šŒÕ! ^ }m׫ê¦W­³¿-àJk½ôh„2>$ˆ¨íÎí™»Aœ3¸ß„‡WÙw|5´8w¥oZOß ö­ݧv5Ó«i9òÎ<©„ú jÌÎY—Fyn£›É å­Ænþ×ó§Ôƒ^h…•˜„Pé^z|q’L{ø€n1ñÇ#ÞRn¶Ô,`/¸‹yØE«¯ ÚH(Òˆ­ì)ø1DᨋhðáŒEûHä½ã´‡-v¦H3j2G™Oä¶eÓGøÌÄ&æTf©’|°¼É| xi~±2m“ÇÑÞqÁøÈÐê®—Î/Òª¸ŽJò‡sÛ.ÔW¿,ÃFt™1çdòþ0¬…Õƒ>â;I¯8~8nu¬£!Ø÷q8Þ¹-wl\´Æ¿¡/UÓÔèþî“„_­GÍù}yåRݰ½Åð•WKÆ;ñ¿ :wLJùõ"ã•!ÃsÍb1FÛþX—ï˲2S­Eâ­ÞGN ÉU†(Á§u¼ýV¿LFó"eŠHÄÚ¯Y¦²´©Ù˜¡¼`IRM”2Á«rç(#–PmT Hk+´·Îe‹¸ú¦o}¾aE’›gPlÀF½ÛΖÞË[wæûÄtfQúB´i)9cżaÏxòÒ^KØW•Ç ãëtÝÙï'èѤÝÜçŽ3Z—GEÏ(Â_íOØ'µ9‹é:“–qVÿÄt ÿì°P'Þ¦>“·‘}uT‘-4ŠÓgdÇ›h•LO0eoÚ"MÛÐ@#vD¾O´OˆX Þ­¦ðSٟ쓳–‰Z¸ÜÆ„¢†ì…«šŒô¯ÎÊf1áýT”þ¥Äd6׉Ù¡ø‚蘸¾%p R0go®8Ö¯*¸>ËÀèh¸{û˜Ža© ùà1ÒxœO>oeû©›…ÏKP|‘]?ï·½IG©Êƒ]Õ"¹íÈ •“¾¸®Äîñæ>ì~&¹l[U Ù¯â%ã¾'d?´rT¡œøgAc‰DH¹ÇÕ¬*§ËSDÍcÅÔ$*I ]93M¾?Ë´ï eBͨô5–mvf>Ãav\‘1Z|bœ¡duótùŒFàVsÃcdÊ6:ד ©úøQ§c ‚ BA¿n—ì€v‡>ʃá‹/‰xØlY¬‘§¸=K–‰qÚÃç$aaãŸ= Ù|B„¢R†ŸKݵOÅ,oÔî 3&„Öó´šã-Ÿ…w «±7SÅ+SqH d=20KS<žÇr‘Eá;†ü14êã6‘LÐ\‘ Œ>æ@üÁÝ}Í!Ò'sû5Bk9íÇ îœóiŸz€ðg)¶5/Žz#ÛÁ¢L!ºŠÜ†S÷ ¾êÓâc_ÃKò³Ú5G.J'ú‡ù_Ÿ–ë æ~½’ËÙ§ÌR–6Ýêã]5Aär´èÌËD:’öñJ,õ ε²6/,i?°~ãÿšªâPˆ™Á‰Æƒö¬Cp²»‚ Ò¦K{êÓBÇ\†›Hã‚h=ÌÊåôÔšBd70:0Ýx¨³Mô”8IUב3æYSàóx0<íÉóâߛӿ²TôxŸ}Ò_‰N‡ttòêïKÜKŒ…Ð4-3¸Ñ(D))FyžçB*cQÃ2 V™æu8³Ù…6åγƒæèN f½ß¸w%ûXÇîœÉïØÍ’æ ¤ HtÝŠ/¿aùƒ IÚë1§¤äºµ`Íü…Ï“ÿþ÷½0Kcñ99™Æ½œ‹„¿w¬ØÚºVƒÕQa׆½Gf?¸dÁî=æ}Rå -ÞE¶²ZĽÜϦĈ÷è›®/B¨ÎZ‹©5¶3ÌŸ°ñvQŒäSîa­áˆê0?ºÇe‚•bÿ‚щ àl´RÀp¡ÓŽèÆ t…\˽ƒÍ;fWÀ’ë=ÁÑøóóÚm:çÄýƒÕLŸ+2­¹†µ$R¯Ö›|ø=·ðòÖOo¨Þ ¾¯w¤gà8”½“§ %_µ´©«‰cö¡H);ÆÌ•Åðg¿Ôéäè¾H}8 4²f8i8´v¯«´üÆA‡T%ñ„ó½dó"νDm¯´<{»@ ïa^VÓœQ©Þ]ŒýªÇ€“D®L­Ÿgštè¬Û@òXhY©‡öš¶M>ØñEŒ-ºo-3®óºíü3÷„RzØVÿ8¢|(2Ò¢¨Â(d[ŸNÛÉ‚tOÜ<Íø\X{—Kg$vW¥Ì`$ ÁÝiáÍ%»¡Ú™ÎÇì*>8‚Á€ ã# ²fçÌóåúŒ Ù¥³žk1qÖ;zÏõÓ­‰ù1¡øxšÄÍü³uô»hnaוy35²r:]F¢ÒXíç‹ÊxΪœ »(ƒrYdä†åâFq9pûõìû~¯®“È ù›.ºã£hÔGÙŠV¾N=èoѧ£IKÌýÐoTêd¶vÏM(…¿¯¨y_r "ª 2N‡J V¹i—ýÅâp SÀw>Z~bO\ûÓŒŽéKKÁ LjÛ[š˜p®‘v+™šõ¨žAsñXdþ(»¾BÔ‹œ ö£M¥ú#.‘°V„õr‚9ë¹uÁ “¿“ÃÞÄð`(²¼²ÕŦF”5™¦/Ê®Ÿ¦\ð^fîG‚S󬂌yû*}ص,q낵ÌÉáìlÅÑÁ'•þÝõ ç,]Æz²¦näu¼ÞYƒñî:"/Ä3çA*ÛæÐ~“¹ƒbèëàÜØÐrJ…§çY¤²Ìegœ–¢*u90ªE~ª©Qê/Œðe©à¤€¯D}õ+Ìn3¹FJ7þ…hÃ~q@SİÃ,Q‡‹….'¶Z…Î>ò}¦÷Py™HÓý©ÀA(à¦AŸiEÏ6/¿vÃ;n·”’óɨ ‡ÔÙZ÷¥ÝXéù€ü¶Á¤Ö}×O˜=S6½åkdšÆ: (Èý¥j ÓÒÃ?‚#x’ìûhy?A€Çn%õÏx¿nÞì»56Ö4´y@ñE«"€½5ò•ÉŒ“> ¯Öäùx”J8•=hþtNkÞ¶Þ1â0­XÞÑ~Un”¹eÅý`ˇÂi£b" WÝ똘¥ïà±0ÒŒ ¤Ø™^–€fMwØ‚Ðäõm·~f4¬nøkl8¢¢·Pm9e7ÍÂ2â·ðê–¤Vßu >¶tR­×%ÃOEþ7ñì1;Ðy_ä7q ß6¯çYÁK‘c& 0îÄ›T+›·ù¶W$¢?o2ì»D£Ró:™Ã+Y˜6üδh?:߇o‰R1¿V„µîù¡4ùåš¼/r>ì³ì¡?“+àu8HO&É`~·”##±|1ºgkI^è1SCå<çdf• ÈVN¾r“ˆ-‚jGpkïÈÜ‹nû•`–:Ñ6Ïë åØ ºk:.Ùû¹whÚ?¿uâÆ4Û`›×L¤2?“©öíe-Ë­MöO­#}9Õ‹œ›å.¼™"F¨V…E‰>i°ö§©òsÙ<Ù@½/ü¤ÎSàmÙ€mQy•¼8zJ&æÊ¤g‡"ø|V©¥îp_lkS¨bn Áº´Š2àIîEèÛÒZÄd§{€³2¯¤h–}‘û†ê?ýj¯«å8…ª£ÆÊ5@÷Ú¥¬Ú÷UešÎijä!Øýò:ªæVØåu©l ‘èÀ »Ô-ˬ¼)ÄÖöÚ1ĹÃç8e9,ªh>…P†Ð#ö¡ÌœÞù{Øoˆ›èc€é©¾ß£|È;qˆ«’œ.Oédkå 4râñJÓ ‰…h’Râ¼ÃÔÀ>c€m^Y÷äÄÁF\"eû“Ž•iì@Y±…íç¦yîÇx TŠÑ~—¹6ÁxÔ# ´š\> —äWÓ|(´ö÷ìJ¾|-ø˜;œ!€ê=ó¾Ë1Í1|½,Á“óös8–¨¤BÄD_v]Ãk1“¡žbϱ4xü¼ØŒE°‚E¼M@›ü)&)¶Oñöä‰î^/í ö¶¦¿-Þ-èWm{¼ãÀŸ€?™üóšç‚–f!m¦`M–-¸: ‰ÂÜØË!I^ù³žëâ§¼2ÿtSHñ¿T„¦Y¹mFÑ[.%íɘàšë~Û²ö[ö¬Ì†ªª J÷©3 OèÉP}º0éÓ;z…ÐÊ}ɽâˆu"ú ÂFûóæ“Ô4Øg÷AÄR›û¼·Ï˜f'5\ñ3%÷½ýë7µÁuWšd[1ó\ž-eZZ¨.-÷M(K)ç˜FR\ÂMÛ¿:¹s³àÑÜýˆ i¥²ßÐOòõù©Õl„–V†çra­Ÿ/0Œ¤¢ÈNN'¤ô¡Î%ƒïý«Tp—S —Š, íõþ”…³âˆœL8öƒ‘14$„aèQŠðfò3§{GD/×9XÆŒÐÈVêÚI½äTÕüЉÚÝ(–Šh>-‰[q©Ùæâl·v…_K"8ð‡ýĵn;Ú«!šuñmÅJ*Y1”,‘9_8ÑëïoåQü)ÓÒ<€5&ïwƒÏ“¬Ôu‘íÚý]‚Ï/çjAø‹·¨ ºà¤°až Ï.Ú”Ž—–—eWФÑkÆÑÇw+v'£eåP}xÞ+[wÒ S´,J`qÂÉøäèÊd£Áé>ò*@ã©ý¾zìŽf†¸ì=1;§D¥`Î9Jß¿o“B‘Í_  µ»öéM3ÕŸô xÞo¹!Èš…ŒòJÐÛaÿB2•3[ž…Ʋ䶬¡­[ ‘îú×–ÒɵŔ´óÅm` i2»á(En1bú5öÏ4ç¼ ª[=@Ä{C3;‹+—ÎðG±ç©# IbÁwfàeÛJÊŠkµ,$Z²°>Ü„Yë*U\ÒK*FÙ¼]ѹÁ7E§òHÇ·ÔäIiœ–ÍóÞ‰a}y4é–ƒ³|…†æ›˜TVŸ9lâ*ýjð£ˆ#”NÈ.UdJØà^I€¼¦bw ü^øÄY¹Qî„‹Yú ã†Fº¢a+â2¤E]—[·éà$aZ ¼ ÃýU~*!ýäšÒ«O[´ß7„Ø…C=ô;‹H99æ”;í_9@ço=N£rRûg—¬o0ŽjX’ð}1àDÅÅ|1 Uý«n$µrvà¿}׉i€½Wêéµ#úžDñcŠ ¥ž‹+ŸÑ'–3Œã >iˆ,³µŠö±ZvÕ!GZ¢áë˜Å~¬z8„¡>Å"."ŽU¬8)q .‘oO°Ï"d,Žk|tÑIè¨E¯]àËÉj“é©{èÕÔeÚx%ÇC¦M8&LW桸5|Æ)è1:¥7 wp)yU¡ý!ê„æV·‚¼×[Çñf"LêªIa‘Ÿs4Ƨ„‚±éN"¦å«Æ×Z…  ä­äJ…u#ŠPÆÀ[ºxjûËŸvè&±‡MxÀºÀk̓Öóôyí;ñæmªFа +ɹÎí_÷HŠíÔ‰“ŸC”»PÄPåH+X8Ða`V×P¸¼¬X<`‚‘•yæ=­¸Å<¾ 'FßRu­C¦/\ðø¡¾†·£è»ôlvPëQ5 õIÎÍNŒGˆéñÌPÿDç‚¿ÅÀ8}8?#{B_õÌÅŽù£ÞîÍîö¹{rÀk^uÄiîVöF×ßO ‰„T+Yù £À(K8´ñÉ…Ÿ'c6*Z>r ¸~eƒöpF‘l'œK¢RoPŠ"Ê‹DŸÝM ÷‰¿^SŸ&€QvC>~¼EÞÿ¬üiä‘~’¼¦ F˜ ¸øa4´¦V tCÊ6ÊÓ™‹ÛÃÙõZ5QE¾–ŽŸ a 'OœÀŸ&šªHä{°½¤©:‹ÍëíET{`·²O‡æ}dBcŽYqæÁ*@óGhx7ºl¢N«Ÿ |ÅÁzNžmL¢ì˜&y_ÛÐöÅÆH°çú‡™ÎP8rÚáuIN|Hz×.T«öl—Ý£ ‘åêë›<=ýζ‰sª.7N ™ë¶ã`xX5 ›‰ñ¶µ›T …¬á¬r¯³¦W`ÂÊÎ,SW„¸…¸• ˆ1åh䂪åäæ±074®B«”ïO´šx×dob÷éJ­DâÁ ¢Ï …`À·ä%Ç Aæ9A],5‹”HÆ–'1ŸUÅ&õîé=Ò|OCͪ‚¤ºv!çÆêôƒYá¼1‡iã_™:M´Ë4u*q¥GË¥óá7,•ÛE „;©ulB|ÍNÃäz[æQ ]Ó†!"O¨Qb§­óŽPžšmˆNýÌîóqh,9) \TMò»ò’aÚ°QV‰÷Ö¨fQÁ%ßö¤X”„-µ­‘ÚŠ©-ÅóÓ¢:Ï£¾d윸$Z€T-»î.©T¯}½lâðî='$Ú–ÈÈ’É*ªô#œTœä–è~­´µr‹,©a€§g Qt‡Ø§–QR.¢Ä–³B6ý'?×B }‰¢·Rw9¨þ’c¢K–Ãx ¬¦h·~ýn»WߨjÖ7õ'2È[3Š„l†ªôÜV÷¹€áÒ;þyñ¬ˆ寂ÜÑ…ñgN_ùµ`ß.|…«žv|HìÄ\»Êh•˜qà/Ûþ"Ç,%4SÔÜ!ËÝóœ‰ù#Eßâ„OH§ä÷·È'˜‡H7(ßÒ»½$DÒR·{3OÔkëêXgû³fõ:Ñ^È‚XJãªÆN;¦Eq é­À_´Œívš¸1 ÍÚÒXÁ n¸{›ÀŠhæT^š%ïX>]\KQâºyäÐç4Aû’ñ/êÚ=ú½Ë? (ÇØ®•ÏÈœölâÖm¬.x Sß¶Ëù׈ª÷gù.B5×ïŠ 3=á>6p™Y „aµY‡/ãû‡47…¢&äÑqrGþT«òXÝ'_/¶Ý–¿ýx³L%åN.ZZSµîhd†ÜàÀ‹©‚¾c z®c½óì:e3Ž·$¾ØÿW%Ì]€h3~Ý_—j§c†ùMg~"¹ËÖ‡n¯~lã/ ˆå<É9¤Áà"õ@ýöàâ6®ŽÏBŽ£þ—‚úëO‹]ë¸Ð·0–09sî¥×@Þ’¦)\/ÿQOÎ`£Ü˳cþj¼š2“§_¿†LQh}}<–26X6®¿W‡KÓ<Ò}&åÒŒ–,N6\Ç®QÌÔkb—Ño,z¨Ä釈‚Õ1Z®¸j÷H)ÅVŽ8y9Ú¼9¢ÙpÿÓFàj‰XnŽ,«þÞ¾iïcÐD–„§õ\;ý¤™ýô™‚Kç¢öJãŠ"7ã3A†gãgjÁ‚/ÕŸ¨‘(D°åŽ·¦¯šoyµ»#^³B„*Ã5¥«iŲ81t”bèèV¬H²0Ÿq³,ÌÒíØ׫4&ÎÊÝ$&‘Ú¿tyð4P Ñöv¨·ïh¿ÖzDÁ€ë~-€ã£,Ä °!GüeÕ'î!çCçZ“æ§'j5mð*õ®Ï^eæøR¨‘㑈Íä+ñ1Ö96ñ6ý¶¦¥©òŠz@W‹Ç"Ï ,¬{l_ìðCVQsÍrÿ¹²™,“1¿í§‹“9é Ö{ð)!zâÛN£iC/£@‰ö ’5ÖÃ0zÒ ÅðN0ß«çÛ?*2þž…4Ad›Îô\¡' |¸ue,‘—2ª²R„T­âdÌ^Ä«£öÕ?Ú`ì;+‚dT„G”úðy°²M<{ä±×ªÕënüƒ uÄ{U_ÍÈ[Ë‹Ó ¥¤åð€S®_ÒÄ-Q³®è(ÙrT«¢Ë®Ÿ³ŒÄ«î–ü|9Ë0˜†ÉDmÄ÷%0ô÷ÍÓ„(!h€GåhÕ`9yÉô «‹¿æj:^ „¥iË|Ç}Ên#rdqV¸$«+ ÑBò. åÉù.œà«x¦šUÏÑþ$8€À÷ôçîwÆ“‰A,|[|‹á&«n^°NÁX™‰¶‚3’þó{bM¹mŒ)Ñ¢ìÓaôxÙ‘$‰yýð+ås¸’½Ðz‚%}Ñ“Þú›|qÑoBó|¾lkx28YeÑŽªó2‹ˆ;¥Í@žŸ|• –=MiQ¡ùgß$¿ÞÙmÏ"Ú”ú#ÏÁ/šMÚR]Í‘Àî:Õû«Ö’WK(Í,è²³!aÑ›÷’åBçCÖðß;©¤,·E>~+«Ð—&d‘u´PÖ§yåM¯ÖñçÐõúM Ù0 ‡U¨·â‰)IŒÄTðËÄÖ¯H+\òfÃP]ës“ÁØG0„G¤Wù¦»rÍÃv÷\íç8ß±|X:wÛÕŒ|7Só„SJ—áN‰µŒÓ²ë%°V ´sjaïý ;¬ðoŽ ºbËGÉ.ÚIØSÔ{«4ŽÙžb²Rê‰Àu(KteN|ÃâýJº6]iŸQ5®ø0Ÿ®×qù¦“ÛaY°^àùoãÌ;xÃEnçgÒÅÖ“Cñ†6O3í.ª“ǪqkâýLÃ!W{]fÛqÃvשô킇ÚÜö.ÿ®f–Å «Ÿ‰ß¦˜™ML#.V»oˆ 8½që "ô£ºƒ"Z¥´Æ.às5ò þ“ïÕP§eå]®Ó2;AçÞ U­¬æâñŒ¢<Ó’OÔ˜üy¸üÅ ü†>—JzßêÉx.úfüà#Á¬Ùñù(NrÒKõnØèÖB‹1àCc!Û[ßæò‚A@ï…(¬±ûÎ8jÔm½®ˆ~D‘çxÓè_§xÅ}OnlÞMLT$Ù[~{R0,ëWÂO‘©Çî}’¨¤¬è Cb[i ù¢šNøQyŠf°#I±îÆì2Ù€µÅôô°£`ߎÈ^–¯Õ€xM“l&TÊêÎob_qöÉ Bü?~tÜEF%v­¢§ùñéPHMù"=[îüZÐ~Ç!Šü·ßF²¹~‰°±EŒ`‰DÜ Ën®Hÿ6ØÒ¤tŠŒïw¼Ú:Ô›¢éõ1zÍ?ÚqöWpúü· Ãè²2„êq:¢#Þi’Ý­hçç wàÀ’ߌžÌÁ;RüFßµ%Xp­ŠÀ¡9ž RŠ(Œç@^šxƦOw—_Æm¼þ^Yo§Ùúd„e—™'f²ß‘a»×¦ÛHS2!1®ñ‰/˜&[è7YïÛMŒ†„¸‘¼ÕÌýÓò­Lƒ>ŒÑU•V6[׺òw˜;Ÿl&æÇÕïoDŸÒ?En©u†êeˆÀ_x¢T?RzHr.ö|èPcê>4âG ƒÕŸ]ê,Î1åV‰é‘:™F0^kïùãAõB¤¬e̼€<ú0{Ù_Ôtq˜d™@­ßÊ•ƒ¦‚yÉÖ$“[¶‹þùã MÑÛIýîì4õ½O&”Æžd1¢p(’ƒ¥°›¨|AÍã½éÔp"Nè8-^×/bœ—Bmcß-AçÎeÚb”(y 5è‹Ãbˆ\Ÿ-‘0Éú$/ñ±â¢ä0„}þâ?ÿÛæ/gä­ÜľC”¿„™ßÖÞêþ܈OÛƒû²&=œ_RÀ¡x±LgÏžþ¢ÄW>ìÄåS2‚¥JÊHquOtòÞ¤fòÉô‘¯kqÕp`¸î~Õ®¶¢÷ꢔx[ø¦}áÃ~x&SÔã‘ÁÎ;[NÚÓÍv8_‚¥øD+2ü˜”T³½”U¾ @Ú¡Je6YeØ¥Æä…ž>gèþI¿ßÃIC¢éð¦yR—2ÕÐMÍ%¬·€[¼óæÔôž5@;±ÄZ¨«42v`^îÈd¤ÌUU\5”G$š¶| Ow|{Ӽₑ'²ÿât·¿ƒžkþýϲ‰(öúX.‹aß î+¤„’.\Òc¢ÁŒnæraÁòñ },…aǦ’ÅbeÔ³b áBWs;}nÌÖMPV·­0<6½ae5ƒ› 8gñr$õC¸B¾/ã²(~-§S¼^þÅö÷%æøX?tŠ ÖcÑcšðö*zFá(N§Ü|ÆëŽZC#2Ø™ê ¾YÙ&µØÅwOø]æÅ‰­¯’«QsòÃ…”ãÚøF4¿¥™;÷¤ž„w´£S_´Ä¬ ¾ì™u÷EšËB–ICH›¬à"éúÞ½" ½Ù&üÊ1Žà©×S§ÐbçD,óî¨ @Ã#š‹„Ô–Tƒ?aP«`¥UÇÈâ‚V‚‚&#]ˆ•©l~pGý3|°UŽêÔÉŒ3+оrûì/d&èÆ2éÿºÁ˜'Á—i•ZÝ_–L®ÀOX‚ /Ó)Žqt®'à¨ZsHà¯]µé„<гÍÔü€”#ð­%‘‹”óžß[ û0NmŸð'x»;µêt7ùDFe@ã"-Òy•yºC7Ô”r"ï%Ëš0js”ÃŒyÂO½º‘l³<¼òÀDú¸ÑÒv_ß±_ù .öx>ÿíºAt…?’`‘‘–ú ‚h4³¶ ÖBÇ‹Cmÿ(D1 ì@CÙe-¯!aúÈwKÒøRêSXÞËY\Û¼†€Ž]²ÁÍç}"¬·#ôáLõD’|(Õ—±‚±Æºsöcíý[°p.´NØä ‡«{ݽe*2rp_å¤×ùžœau]h“ØìÖ^(Ë8tW ü#å÷ñšœ‰±ÀK6«A¶º˜ê˜ßø\sÔ©Æ”vÆÏÄ&R¾¤È ö‘b˜xÃ=·Ã/šÂ烰ünðßÕN.°qhà4I¯ð<Ømç¿p%ZÎS o@WÃÂwõ5&Ñÿ® x}¼”AïFÆô=Þ(:>ølú¶Ø“Ë;Ÿ¸’ÌXõsñ"ܺ¤Ð ‡G©k`œQÛ²¢Ù¢õczD~Ó&”Òª¬»'õx­£Uy·f àù± &'5óäù ÊÈ¡Á²œLýq´Ñ5È`â5æéåsnUö ¬ÝÔ#J6Ö-MŒ':(Z—j@JúÍž+½÷Í$MëRj¾Ÿ¢/õõÁ»W8áË|ABÜE<´p€OlB+8YwÛ69=ú[îWP¸;1#ß–®ÆýÉa;µ0§Ô·q(a¢Ê»£¯=¤p> °šKm÷n§,ƒ`uñ!ºiŠZÌy©²Çšê;HŠý爊Sr SÌ[,­qüȨöæÏ™@›PI¯Ê“ï™Þ!#7LQ#'§¹ “w8Ÿ|¤wóU;˹+î“j bïa¸k…I(Áå;>è!Y<#V˜{;(éÀ¼`H• ~K)+~;W× ©¯|… ‚£oS€CÓÛ;/‘L+meÿX:KžÐ]«ør5ÁpÃü…gî óg!Ý sRbøÓ¶ŒSª ØX2$¼vw!—†•¹Ø×µSC0`çˆdØ7ˆ˜"Ÿ)æGÜ |2´ZÕ½üÇ%²æksñj^6“ž=ozˆO$R½îVq1oü2=LIE£ ‡a¹ŒÝôÛ•_6d!…ãÖ-&Ê4ãŠF“H8:ç¼ê?é Ú_¿üŽvMµá¯£~Dš\,²³»š¢o”ý ÁFØ4 *¬Îlt;-2%aÈnž‰u{ã;G/®™‡ÁiÒA–™œÁ‘ñ’MUÞpÍ©IŒJTS’Z×\Ç@ø¹|Ÿ5±=œó…GhƒÅ3a sËS< ‹Hà‰ ”mž»ßfw«ºCœžq¼˜Vfî5 #µÒ~ÆÇg>²… µØ6#‰µ±ŽÞŽs5Ö©t>ìß²ÙÝBJ>‘Öˆ²`HSžE`‚'/)eèŒA%„_8ÒÜ¿³2ÐÿÑø‚d@§3©Ìþiûn]7^¦ê{Ž›ÓêZi­¥o¸Ÿ‹‡«`‹R¹áº‘y· ´Ån}V/žîàÎvÿéšÒU^bÅÔǾuç¯Ô3þõÌüéj&¾¿ÑHY6Vhà.›öôÂöL¸Ï©_z¥Ò8-‰?ç%ØÓÙ`?+§VD˜B¦L“-@ùTl[\"¦p)s™*r±›‚¹Ssÿ©é_mËwج¶ÓoßZËG¬öš[L×õ“.P‡»Õ‚.k0g±ê\;&nHjÅm%QG#d~cÕ²Òâî–PËÿžÊãž0¡ûE怦Ö[±”ôC8s³ü:C¾C¥¸Ý•80áÜ«³ã•À/m?f3;Έ”ïµ¢B|)¥h‹´Œ4J‚%‹f¨Ÿ&׎%J³e¦ŠEX$ÉkbšëZ;ë»æOI• áã,*}†\wÂÅt³7\©-©¢Ö4rf8ÁCÝ­ˆ’)‚åqÇ&•ÿÜr`R="`‡Ëw虘`­ÙSµðþÞ'}AGA9¹0‚ùëǘ[PâÏ\{YµŸý#OP~`÷}˜(,ô)K[â`Qù^K(Ž¿O´~§þêÅ‘ÏÙþp]ÚÝ\´5à>® -8UP1]ˆX•ï`YѲ »ÔýŽ€] z¿ 7•¬l¤e#EÅWæÕ B'Ò"~tÑ?ïzŽiö™Œ8•ófÉrÉ`<1Ý Ï/ŠM4r÷:^+ECö‚Š™ ¶¨°‚pª–ÒÞ÷¾89/xf»cÿGÜ@àL¼sB…@bÀ%ƒl’Õ"ÑnÈѤ¶[2J¢ò} :#ü70£?ú`½ÙOñ(¾¹ëÎAPÏ/?¢œÊ_M‘øÑ$!…ñ­´‡Dc§£l>4[¢Ôð¡SŠœ4y0¹!ÈS<º±3#«šÉ#)}'üH¡W\°ðëIÛšF‡í‰Yâ¾pØ<šaÏüû.Ÿ”6¯µÊKøÙó³‹*­ÍW½_&ˆñ'^³ã,Ïäs/l ÝLn½CÁð× ó*T1I•Ü““ó”¬Z­¿¹9HØÈMˆ¦,À„.dn5ã¸$Í™ áä{“ÔexM’ŽžèW?8UhAsËZ…¸T· ÅdU kTˆÔ¯ÁûÕrÆÙçDÝP8Âõ ç»Y¼ÊÐmgŽ‹]NÕTå‚&(Ýo‚å6”ÎT"p7…3ƒ Ê?Öí8£¾¼¸»V›HÛqÜâ§Ç@NJ%.ê´‡y>ŒK¡I7à‡áÈF (ºÖ•9‚ϨÔWÛï”û1A|ç/K1qý9Ã4hînÂöo:n›î5ÞjPtÌkݶ4j¯.·•XR¾]c¨ÓËêKF_æ—ð1,¨Ôßš¾»ª5ñ±iEæÑŒLºåéK)lówMØ9Œî“m‚¶sG•¼^ܾØáä~¼p™G:ÌͽÊÖuØSýû¬ï{bUFþÄQÞ¹WiÔŠtIÌ9Í÷½‚çŒÙ†xún¿Br9GÂë*UÓ«6$©“3t”©£âˆS ¶Ç®Ws·ÜLʾÁP'ª8 D0²ZC\!¢­rLs”mc#È[Ñûú¥:B?YŽa~õƒ±5!`–Fª¸Y(ܰ^'êÑ"b÷Q“~ ßc9¸¸~Žl€IûŒ¬…çc›²wv…Äv”^•r®4/‰nÁSÒ–ó|#-ç—=xÙd¨;j '-öÆîyÈUŒâ+ y,|FJ* žEä'^ž ¹Š·6µ#·©Mß·¨¥ØmœÖ2ïG¶mÝKÇM`ø)‡cµ!ßx$YÓ*VûwµÕº„İõ´Nèºúí«ØâYN eT]CÈÏý;±ºŽGy‚Ò6aìBPö¿hÓsµ{bÚ´{4å´Ùª—w}ènè&bAên”_8(wa«®Ô¥;„2ç<#-%;R3ljêÀ&¼Òz(Q¶4!~xîËРiÖ9¨c5U6+hÙžÛký¥"¦ÇM`A %Ï|¾´¤¢6aÙµA- žM—Îb6ôx ³znO,­â{öéiNC‚I’ܬÑîS/頂 dk³3›Ì‹Éa4»¦U˶ØWVºfFao¡YévZÉ.~)³ÁñnUàŽgØšçq¶†¤Å¥#VûÉ[•t¾í3mx¿û ]ô3Ž„¶è0¢!$Í•ì{VŽ÷Îd5ó‚þt|®háêðÞlbœ¿ý¯]uÏKÔ\Ÿ¬7 Ö¸º³åKš¸?òrî !:Vç !¡ŒB3²å4^p;¸p(Ø~½Zæ[œI€ê;ŸÒ-Ÿ«e—Éß™†§ñ2mß?Æ­]¡êƒÎs©«tôãàñˆ8«Ï††$aüù‚ûÿøÿÄÆÖ@CGg;CG+8¸ÿ Ïäš endstream endobj 139 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-251 -250 1009 969] /FontName/UCPWHI+CMR10 /ItalicAngle 0 /StemV 69 /FontFile 138 0 R /Flags 4 >> endobj 138 0 obj << /Filter[/FlateDecode] /Length1 1851 /Length2 13152 /Length3 533 /Length 14201 >> stream xÚí¶eTͶp‰{p×»»»»‚ÛÆÝÝÝÝÝ]‚»;ÁÝ\‚C Hï÷œ{Orï×zô¿ Æž«êYk®ªz (IUÔEÍL€Rö®Œ¬L¬|qE5V+ ‹%¥¸3ÐØÕÊÁ^ÂØÈ`ååeHM@@?|œ|œl”qG/g+ KW8í?³¸¢v@g+Sc{€¢±«%ДÄÔØ î`jtõbDmmjÿ<âPºÝfL¬¬3+SW€ ÐÂÊù+Y{s÷¿ÃfnŽÿ=ätvyhþeJ yš9ØÛzÌ€æÌJ z@Íÿc±ÿ¯ÿ\ÊÍÖVÉØîŸôÿ¬Õÿ1llgeëõ_ìÝ\ÎE3 ³ýÿžªü·›"ÐÌÊÍîʺÛZ™ŠÚ[Ø,ÿY¹HYyÍT¬\M-æÆ¶.ÀÅöfÿ[´rÿR`ÖWÑ’‘¥ÿ÷¶þ{PÅØÊÞUÃËñ?iÿ™ý/fýàåq¶òè²€Ö—4ôýߟôÿW1I{S3+{ 'ÀØÙÙØ t‚@Ä ðaXÙ›=@O13“½ƒ+èhQüæÎÿì(+7€Ùü_ÁÿbN[ýÅ\ ¶ýs°˜ö¶@s×?QÖÿŠþ{¿ÿf…mÝ\þ@ÅLììŒÿD@å,½-öB ŠŽ sâ`ö'Ä `v±5v±üá0{þxÌöÀÿ0'HÔÕãÏ8'HÑÕÒø× 6PgnÎìÿ´îþ× ® hþà Y û_® 5gþž9AªöV‹ðüÓ³­ÃŸ‡¸@*@'7ã?«ÊJ,ú‡@IÅþ(¡øe“øqƒš”úC †dþ¨Ù?Ê©ð‡@9ÿ(§Ò-¤òˆTAå*¨ý!Põ?Z,?êHóªüC êZÿ!^Ðj˜8›Ú]ÿÇ™âeÿOüž*Ð=Âüçñ‚äMþHÞôÏáeÙ›ý…ÿ,ü_øÏø A-þBP?–!¨¡¿^ PGÖ!ÈÉæ/IÙþ… +»?º ˜íÿB•Ã_²rü AVN!ÈÊù/üçDþ… +׿dåö‚¬ÜÿB•ÇdYyþ… +¯¿dåý‚¬@ß¿‘ÿçý'&æàéÃÈzë@¿XþÙ ^/¯ßÿœ©ioå䔕½­,,Ü ÿ'jêæ ºI\ÿõGTã¿ÙÜ tž@S„@uUEš šMllÃ*šà¥—ŠÈ `Mî7[ÁÍø£ŽŒ=ßFêãÂ[­6¾”/œè­†§÷µ¿ßgäxƒ³f–üÎe7{§’C½o>"Š(ýBãh¼ßÈâxÉCT2 uÎu|NKÐaîC~Ôö#ÑrÈeSR}ùLÙ®L¥²&BÜ™¸|_Ñ`ªš)F25ØöEÂnkzk+ç=2TÉSÁæO&ä†$"©›5¸ Œ¤¯¿Éà¢Õ=L/ľùî ¿_t³î͛ݎȼKÒWå:9#Üíýlú+zÚ;>_dóÝøu=ÌÛGYR ÎÕŠS…Ñ &”+Å ¹€ž¸#F&ŸV'1HÞ”§XV®Ý¸9¦Ð=±¥¾#,­$dô/Ñ%¾’Ù6jV?=kJú¤D‹ðGâMôB(›ãâò .3¬?ªlä£)Kää)(Mj9’¥•d§\§üÄÍê8‡iL<‚<>äúVõL¦eÅR#81„¢Ü–»óø®Xûœ«Ñ·RR-TÖDû–ÞgJ#ÞÙÖ“Ô†¥Ÿ©ßjC >ete5•<§|qÌ´¹´³ÎÉI&‚‚hÞL ;²ŸOˆCÕÂ…Ëq©A¯œÃœ²uº “{Z%3oÀ’3u{7úS+ =ËÉhiQ‘4ÊŽcóùÍ…Ë‚˜IÂ4:ÛŸ©ÊL‰õ{¨Ž6ñœ}TüÛ–½Ýiµ¢H†O±Û}ZÔ[ñþVðǺAÈÕ§È@îRÿ„e«Ñ§h¬^¹Y‘%ðÂw?âõšÆZ­ÖÖâ!Õ4ŸôõËöÍ£†×¤R»”„oEì¦`D¡Š—âä·Wv,àtçxej¬šÐêzaÛT]KÄð£È@ô@Z÷ÅÌ‘³`Ã&Çý|Í&¥W)»”³¢¨‰CùynHûÖ¡"ò»|WÈÂÉø£O°Zô!eÃØçþ1ô¥ì¤l¿ŒZð‘¬â›]bμëÓË´obŒëÇÇWui¢º}²‘Þ¯t‹²'QfÑÄ}öv^nzÊ,5øÓ%*#¨æÁtz;ì‘~MU³¦ûVbáa2 B=;ùÂ$µñ¹Ÿ}V§¥¢lG›öyÊ#¿ o½ˆ¾î,i!«3ö,]N{•˜!-z3ÀÅækÞû$¾*àŸHä!%-î1›òˆ u¯…ð{eëÍC+:É»ÓÊ4Óßþ…Q8ëùãE½™V¦ÚǀęÄÃk;§…°`G€†Ç>)x4·^¥€½pƒjÐB¸øì4Tb^蜻“kóÀÄ…U?qÁ×”ñËŒ ‹uÏsÅ͉©2²×±Æ_¤øÜ5[¥—½’EY?˜''%ÌEKáf{®šF×ù¶H1F¸^¸,„ÂÓ&å‚Ù¿pÜm0;<)§½jç]3œ$®L“~êTgu ¶ÄñBG°ì/FÌŒ…ÄÈôï´fªf@›[ç9®–©Ì·Û½Þ+jôìˈÀ„pÔ´NßwÖ‰½­“ú­–æ®Q?†¢¡ ({ëÎcüC^ª¤«Å¾Ou„¹æ<¢Œ=–ÞŒV7ΥЙÇü:»¾*ý9¹FBîwtè‡Kª.Ë3…!ÁŸé1(þ Ê£Só¿JØNž4i¼ç(ÂÔs}€ÌÞ´‡õCñ|—û6ËãÆ½œÆTÕc¯:@’÷'R’¸;@–bªNòŠ—Â]µš ©ø8bYhqkÆÏL È —i›9µOú…òb½ÐÙq½K—ÑU§9Ô‘÷ž•øš>ãâƒtÄ`¯×¯HLA»¬bE0—{=yÍDz.ÄŒhõο¬ÈÏïÚä­?Hòϸàxì×6pWâÄ¡õ\®Zâbݯ\ÅQ úž5)Ï5¬@‘:PmÓPÿF1Öµÿ¬³flßý–âéI1c¯Ša˜ “Ÿ­Yø(bUÂTwHIBý~À¦8Ùʱ†aÀrwA`—²¶•”®úM˜¥2øîk©Öì­‡ª:ݲ)T¹@Qì‹õ,+U8õº•k ÕCÔ»I™^ø+Tôš™Æ2ýžµ‘*:oO·ipľæ×ã+9wÜ2ºóËu¯kûç øqS ¶u5i!?ýíºús ýU±^Í|æœ"OK¶°ü47ifQúäw»»é£ìOaÑûè„Ùk¿;‡OÏŽw%·§ÔHøîi˜}„Fa'šæp;-â»™Ñó†G^Y9FK¾Ú8(¸]dj˜ü€ Àt›$Ö)ïw“áÞ„x:µüþaÍ~d‰0†xƒ³vÊeo:G4¹!L8Õ™fF)!™/‰ýjr”ÁÄžÖ2oE¹”½Ó‘Šë÷º¯~ÐÈ'vDˆJž¡ØÇqï0½ŒÒ8Ü]û½e__ö³:2ÿ5ˆ[ 7k_ù=´¾»ˆÔÕ’5̸¶f œ‚– vtgØnÅw_O„¤‘ão‘Ó)Ë|2I’¤»ÈŒ}iJ˜ø Õi¼ôQW“³d/2¡>qäØÖ&.䤉èíväÜû0Ðzÿ0IÕ&7$ˆMûÑ#Áø½Y±líÌÜh6_o!;´ZãÕaÂ× ºqº‡"Ke©bX}5iͧuBdâ éÅ5÷@:iÇÄ·ÐÕ×tñ(#UÖN³~ÒáUæüõsAtO\R ãJ# ðû&¤üµ€3Þ· Rèp“Ñîç*ÞÝþ¬üË£‘c…nXת¢ðQcÈpÃëÆÈ 7É9ÓM³ôLSÖˆë)½ü¯d Õ2r;o¼†!êŠ>G4Ö?õÊ*£Ë¨³^ê†éÞb~ÆL÷Êõ¹Ú¬ÄÒoîs!+˜ZpNܶ¤*9içX3/Ξa$˜»!píLh¸)7ì¡‘=—ówç7.TýÃήŸ.¢Ñ ÓK ›Æ¥ãìÊ~‡Èò\–$¡PV2S»LÝ&æõ‘^Ń Qw(ˆ7ìKwì¥ñ˜%Pر©kKqéæÐcl[~Y;TÌZ·5£6½pÛ1©ƒÉ|öö•h ÂÁƒVä›Ìíþa®s‶ïI …â")?žÚ$Îd˧ÝÝ1}Í¡Ïê91OdCÕ ££Ç¿d7OÂÛÈqÄU³mÎö]„çeꛤPXsßúð² ]ñf/ÒKâYÇ™ÙHÒpý¡î'&¥&fº¢òE](‚çžlæg…Ô¬8|ál}?¥­& ê2ôçÝ~œmß”c…HËÄQÌ ‚ÌÇÓó~¦IU—C‡-µD" ‹Ñô}¼ç¾“#yDempÀFw2ð­8ºþ“_y{ªªq1¿cº¼Gl?gŠžñ7Ž †fÔ‚Ë=?– %ïLÆoØÙž1¾íFÓåÓz@ûN‹k8¹,œ¾6*q<"ðùA(¨òîcÇÛ€%¸E=矽„4çu‰ØÄqZ +Ú£J­?ýs‹ýͳw¹^>©M%ïÖ!DRǵ l¼cÐ$„™›XæH![û=·–¡HgvÑëÊUSèùPÌV9…‰ k?E¤ãí% ŸR³ßBWéûCofÊO¡åV˜¯ð2Ógºƒ¸Ô­ö{gš*^>5ØšŽäìn/ë§eƆb­Txã¬n6Ïìa‘(Ò~“ûùþ»bX©m…—F¢¹h¼÷†ueû¢VàõD½ˆ0NkãÞ"½™$ÀéŽ,QjiJFcç(PÉÚ©Õ[\Œà2”[4Ĩ3öb)ýÊ—r×µ‘1P_¸vÈЪD7G³Ý‚ÔÜíÉaœµÚ<¾~ÄÛ¸B.m GkÀ'n¡1nÖD:„$ÿYÈãœAô[󜆅0ªË!øMFPWŽÎx÷cæB)Ì£O’$;Á—­‡uIXF« åŽÀ ¿MPýòÂ]ÑDKº¹§6{c#uŒ~ìT#bsƒVä׃"G -·;üªÓ≜mǬ&¡FWÂr‘À3kKHG9´Æ^XjUs4‘åÕt)½SFéûSþïµ=Ïû§œ÷ò doÎÏ™µˆB5ª¬;×°6‹ðŸfµ¨Dj# 2ÕÑÄDüB,—«…ße»—–Þ<¯Õñ­¦™M ²XªóíÎÌt範Vé\„UÒ¯ í_Ϥ:ŒY@ñExâ‡ïÃkT ¾|XÄSùMº '{}L-HU\ªÕÐï mðZ ñ«$W;¯~öï¾Ú&=Šìá(#±Ä|¾÷{ÌKI ¥ËήÒ?•fÅ6 _66âX~žšZý5¦úÙàØÙ€õ­€GtkMmŽçâw8±fF÷[sðÓâ8ú]xöü WvÇBn²z‹çÀד¹‡‘ (›[cü5ºÖ0ýâ¤5és&‚Pl óµXÇ¡ ‚ü›6s<êµ®3Òƒút‚ãëNÈ¥Tg-6Õ—±xç[Óˆe· 4J ÿß·Ç7Kb—x:¯Ýxì—Rm»ZƺI×ðß)ÊÍQGB0r¨ÝbWy§]pêæDŽ‹ Pdo'9v$ì (Î ”®c86ÃϘTË6}/ÈIOÞ‹wWI쉬¹:¯zê²+®)Áâžó`™Ÿ^ã² Ùšçšü”Ÿà畞Ö=ãû¬<(ÝÐîfyy1Þ‰¡Ú‘Úú7t Ìžµ¯cÌm8h2{å™39é-Ë›– ÛŸ9ùZŽÍŠƒ_dwà.tÚ6¾y;-·†÷Ž˜Xá:XŠÔ³ûs5ß6ŒWð*¡ì[Œ}Êa¸ke®°X Ý"!|±×÷œñJÒc$)nLŸÍv·ÑÕ™ª…9Ž`WÎ¥Aqº«bâ,ªµ¨ªÇßîH!;Spx(!ïµ2%ž´Ê­{{OÛû.C>[±m{/µy0„Ñ<\9ëÕD°›åßÍ8 ?݆­&âY^ë\¾MiL¢ÍÚbñ†=‰¡Ó å‚ÞA~âáæÀÊ™'ñõ|6ô—^žz!í ¡ô6n¬XXía¡7J”»—¬~+^?µNŽªµ =ô&”ý¹ÅÏuYê¼7€‰fŒ—îQñÊÄ uEBðÂ=ލ3õ;ň|6„˜Á}iöêðýsýˆ8Ì…éD£÷×Ô1šZ¨·È¶raéÈC—J‘ïòíô,ŸÉç±SD°æwÑ$LO=P*øêáMôhT„‚Qá¹Z'œìÅ£6 6ò×pÌ^Û7"©“`(h•¾[¦¥ÓÜNï&oµßn–]zänX}jMÙ¡•5ªDøAß'Ãk#30’çÐDªUg–3ÓÁ4 ‘Î¥„ºrË!ÓGMDt/øKó,X›k/çlÕ Ÿ/fa¯ôÌL¥-Ѻ3ê‰Ç©pr·c稜RÁã>ôVWŵà¼þ5co§`há÷}²%/¡ ´sÓQ; üŽÝ9‚ìUJ ë|a–"?XIQßjDU|kGjÍy8O&‚œ™ðqv‹Xb(4\iäVëŲ² û.{i¿­ÛÀ–û@¤Q*›‹´$+±ÕÇGY¼õ/w¾MbPËÁÁ6LMcÍ)ºòÆÂ¿ÏÝ5Žã½:‚˜öª¡ ¼zC„ÈM¹Ä©§¥7¸_;€+C¶™[Lµ‘04Gú{·ÄŒu0P~Ë2 Aâlj{ÆÄ Ýøz ð2ÑŸg­I1…p=<±7Œ!+ÊbÈ£–µ2ÑnÀE–5D\FØ÷•{–Ƈ鰷Ü/§ŸÅl(ÑÌYVŠFH\ëñzÈp½M`jò •#(ʼn¶Ò_K•µK@ú)%ë ö†lY­“¦Qø1¢jkOU®‡ÌªwlÒC“Z{ÂÉRƦ³Œ»øÉßàMº„Ž ©‰¢‚ k‘;³ýÑטYÔ7`R"v§ÚXÀn|fMvܦZZI·Ä–ýL+UˆÖLÿœ?ö™ŽdB Ã!ô µL*L ²Ô(0òcøãÛ03ii|¥c^õT÷I8pmu•·y‰;ç±wÃk_»jz)¯ïfYß‚¬qýø¢½æ¥/JDÚP™ñ–›¶¾¾k÷¢ÖÑ[>&aBEÅ‘ Îmö OÿjŸÞèµ¼¢w;£Æ(S~¼Ê?,='PÞQÀºì\!–N‹^+ŽŠ¬®N¨}Cs6¯7Õ$ØJ¯µ`ÖðJµ´»5öJûÑ©ªžc,7†·û6Ø©Äðõ<¾eFæc ¸°-‡+Ë…Õ =š4ø3Û”é{÷mÓ‹ë倪ž`¢ê~.N_ãWÊ áNG‡àž°~ˆOù9’«|öíÏêÔÇ>·l˜ÖÐL«Ì%œë‚pàS_£= -H±VÿnÈÙ‚5?¶*’°C$"2»§á‚îì[9‘¸8VàíP¸VDuƒ™÷…|p€Œ¾ôç…ODa €©ý½F\ɸíNîfZßü!ØØ‘ÉãK ÙôÛè4ÎÞg¾ÔÙqn^ïäL·*Æ2MºYËt$–›[Å^|œ&e9TìÇd&õ`+TD­ÒÁÁÿ:¼îò—¯ÛôĪ?Ü^Àœ-£ ß×Ô3Ô¾POÝrqÖtðø„p8èÂø6 ß ì¤dÙÅv4ÖŽ8èB{ኳ}¡öSŒíó`°þh”Éq¬°°O™…4¬cçè·&äùK¥§ mkY¼IÛ‚·k¤8¯d(°my" æ‡<'R‘Èö*È1/Æ×ðûyذ‰j‰‡åLBÕ ÌÍbÿ”ç_©9(ϽȆX¼9*Ie%_¬>+oçûÝõ„—º¤jèõËo>JÙ!ú·Ëõ:­]l“Õ½ÄFmÞ$ëaH}š¸ ¦»°£ê>\ØIH[[±’(qÖí×CEœÜÈt$R¥ˆ7Ò9‘EßwÈ?ŸÁ¢2{8ÂŽ±›þ t^ô¸=lL%E'©úyºû¡Àû»ÆÉ3_*ô'£SUù½ý/ŒQBí®ü}Š_ñ‚<Ò2m–&Æ¢hž®M{¾pê-±-Úúà(vÖP›ŠV 7«#¹²¡¢–~7÷hA² þ--à‚lNiËÓì\(ã0(ˆúFSEÓІ¬V$ý]T›Ÿ âÎhH¥Ç³§,ît2i·m‘DœšMx ®¸ÿΉšnÏZH‰Z‘ƒ  MtCýgTsR˜ÇNö`ÖÌšbo ŠZ$>eþÕ˜(xÃmšéBb`4æƒø¢Æ" ð¢ƒHòч½œz´š9ûé‰tû-lÕ8Š’¨‡<"QY´¸Éø âx°ën¯Û¯›´AÁZdþdq·çCÐ?÷óÉѹãþÝÞP“lͲP§ñÊhaèó)©h›ÂzA ”Éw´ô¾%?»#å*Ìœù”/~¥1¶¼Q@4—ƒ -ëIµÏqsv=Œ Qò¢mb.k?æt ðVqâ+Ð¥’‰«žšx²ºÚínâI“ •½›åÚ4\©6¾\TçïJÉ~ž‘ö’Ù¤ÐO¡yü¶øÌüy,T]M¦åÁÚ¨B‡Å%^Àêuò­ëàø=J'‡¿O:vÌÒàæT«2Kzât–TÈ›°\Ål.ö®£·úñÈ/ùÍ> üR·jH\6”Ä^Ò#KÁ ˆÛDî¼,'qk?ô²»¬–½ #Ú‘Ž¬jI)ã{ÊÊÿ-#s`{@ÿ«‹¾!$ܺ°†£Â¯$BÖ/ð$z±a0–úà1"]É£Éô0^À§Å|³ ììõúA¬ VKðî—40z’„&Ì5¿§mÕÛu±AÆA{þÌW¤vyŽ-MVøt ÕŽ#,`‰‹þ-€ãA”zm•Cœ‘úS÷iÓ.ä·&VKpg¾Ìo[¨ CWø9>V©1q|œV”i(‰,Žaå Vê‰éÔŠe©ÁýÔ¼ü…ñzåuMë,£ì”áEdJ‘T;’®>] Þ-5k¦ÈEŸàp]~gs€ÃG)¸¬ónGKŒpqê3æD•Ø]øâBãàÛš«‘tëɧjy[™80mMj ž\•nÓ¯á¸Ð«Ý˜Ûß óìcGKõχ”s‡¦JÔjæ2Ï{Ìy@ò§‹0˨_Ûw‰X8»í+6Íø9÷Q‡ãúLƒÔì;r;‡B»_6`E6ðì“:{¢_·¾–óë†ò7±I—O³& õŸîw:¦iª·Ì•6ÁyEq ¥§uÞó¬FtìuÀ³BZ ¾ÖAà“^RÅ Tµš‰Ê-¬¢˜nÍl-Rq…¬Ó'+}†½ÌD” A±IÍ HNþ鯕T=‰Bv„cL²5Üýy %³ ré&µÓëà;ƒ ᦿQ –c}~P^d¨º› É*)ÍióÏ\köº’%v?™ºœX¶rm‡-`܈®Ÿ ]@v˜5½´pï%zGðžÇV‰¼6ÆcI×p6’çàK¾-uÃjx¿:XÀÞ±¬Ù€êìS£MRÒ–&ý~ÖA2ôA~’ÀG—÷ð=±7ñ, H¸šê /åN볩]˽¼‘`½Òqé×.!X!%÷wáùè`ö‚DYº¾6ã«‚2“‘×ã9øŽ¯ú5?v‹õ£$ +<´:s\kAÅ¢ÇR¿tìN'k^†¤7™°Ÿ9 ‹~rzŠKD4ó–òº¯XUzʃN5— ö1·—étÇÕ†éè’$¢ŠÄ\«c†Lm´¶ £PözÃsÍ‚ôFˆÅ¢7¹Ê…ÕóÊ-‹KxÁ­ú†cžàj¥žë¢ìÁô£ã§wVú÷ý R“Ýý¸§ª›\Ð%ýWDgi8µ¦L[¨èù(Q¤ñ磎Æë5çEIŠ5å>÷bšLŽ|sÒÚ;e6½ç3;—ŠJ5ŒV^åÈ=“aYúÑr^Ý?fXš_–ººf½LخܦÓ4óš¢÷““üQæXé’K1¬=ÀœøZZRù5CÖ.Ð]GoÀÚ^÷ø e?ËÆÐ‰ö—"?‹uUu!çL9ø‡CÆEæ§/Y6ަÕçšQ¡ä‹ MÞÒ¬›=ŽÍ™h/ü¶îz_¶ ·®21C,9Z™*ð_É(,GgÀÙ$.E–2ÚKã8ûhÁvhq9 ¼ÃÑšK,ä£gcXÔIK¥…–ÀJ^nÉDnU¡Õ>†{Á„$nWrr´Ï,‹á-45R؈½d·„ÈK³æ˜”ï¡SÓå5²LdŸ¬ÏšõI °9…äpï1{[aÊsŸ„puĽåšSaXæÞ½ï.g}¹¾ò¹!·’ð¨m}ß4MÉ/,˜ß@,á³îð ü"ZJÛäi„ÔhÅ €UžZÝZÞðp¯Ê—œ’6uã9¢3_ª}ºè%¯ÈZ8ÉFÀL¥L);7ÀÓ‡Í×$IÁ.sÖ<¢W(@Æ1 i¦‘÷‘ÃY¿ËÛSb.mê^RCe’-¾ªî$ÿˆcÒÁ¢Mxa´ÃÑìpíáØ€ûüëûkKuê/Xz™Q 7mrñý¯±»ª‹µq!´jMYQR„"/I”[üä]Dýœo^Ãø‹c¼^Êêk?Ó¬wxË5xÎÈT'íK¯¹ý8 |!Y±6)DïÏ.¨åJ<+izWojýî§f–Ìð³;4óZó}<;ªØŒ5 •³t²´UïüÔÝ·ò­Ê‹:ä”ébó"]õe7‰—n\ ?á.õÒ‚‡IUwè¤áh)éµÌÜ`‰Í¿×ÿ4œhÏN ž¤ã.Aí`ok|0©±Ç8˜aÍ4±ulÊ05qx@!øt§¿•¤NÐg/´9Uñ°n½ô- . í¼[PXÆyÐÚ_"tây¸ÆpZ’²h¥÷—†rRÎdPyª©OÖK8+ÖÌš9â·êI=žÊJËÚí2ò:wÔ)¢ÊÞXFaõŒÝé6I½ŸkUr(qvhXIjs>eþñcÕµtš7>&PWµÉÙ…]Z7ÉD`ºïÒy»,Ëú¦xÌ+´sëÑ4þ·<·8Ë¥çϳúK“K±×O×ñk«Tù)þÀZÎÄtQw!ˆöR*㯂¼vsùÀáÞÂa::°U6ê%_ù—5š¶øa1Nxlä‡\YáA%q!îi”m|Mè"©'8gŸ´ÞkÒxÍüL¾D   à’ƒpõ†q·•KÅVóÊ—Å[Œr¬oZP^ßövJíÙ¦©#mÇÑ?i9³Ý–ЪÃSLó$X9l}·wÙ²eeyèK¤æ^ÂL¥ˆ?6ã•8 ©¹¼„¥˜PÚ©æ.ì/ž$Oc¶VöàróA=.8°©àõA Ã÷– ß‹½Æ†4¹ ËñA7==õrLÒÍH!¬‡8D‰°Q|?¶‹í)G¬]Ú7ðoéç-Ahå® „ǽ(ŽIÚ²ÁâÀøÝ?pòƒ—j͉§J5h-‹ë¨Û9*–ÑYòÕü¾–´'Mѵigåë,zI©+êkº·P àa/E¸ËÔáKÃR¡Rà¤Õ 4£þÖš›„‚.6`ofFs*Êfu( m3`;þ*k­Ê]®¨ö:›ékLP>RïÛ×S¨ï&GRTb[ Ûþ#ˆÏƪ‰Y#ÒoИý%MîSÝ}wJú~ÿ&5/*»pm[Mÿ“IéR ̸2Û4¦8!&Æo’Þí/{µÌòi¶(]N+i2ÉÃá Æ$ âuYpn<¾ÍlW/ƒÌ7|-õJÂN1¹wY7Þ^‘ŠÙd+-lârŒ‰6'ë\÷ -ß;Ÿ-ʹL“í;ÄE¸ "#hhò°\CØ÷¾¬¡¥‰7",* y¿ @#«,"B¦vþ(ÁV(/PgÇ6“âÊFZ¢åˆ¤T@ñ¥ôÛWEØo è}1GÝ-Mf‰]¢3YtT,HŽvš'©‡“)e•[ÏùàOçã¿j0F° wˆÔÞ„3K>Ë©°ÈÁg­2ü’Ñ ƒ·ð)=2ÐBýÉWVr7-¡%kã"ú{¼øQiŽŒã"i[_PÝî*wdhCIÉÁÝÒßSÌ]øè¿‡%[œ9K¹NHiì·7²gkf†4‰’¾#ÑË~ùÉIWÛZ£—;Ù7a_,l…°ï'vjèØ–="Î.ˆª×}@N9¨B•$ ŽŒ97mÈx‘‰á[-ehÚ›~}>˜V‹çz³EÄnÝùR£õp›O«ÍìvðÁÑrÍËã9’WÅŠDÝ3îúë!ŒTǤFaGŽÙ½÷ή[ß–Ÿ?»Ï ÿ¡&âN?mÎPó:nNtNê#ÔZ‘íb7XOûnãÕÐr—µ=üاKü:‘£à 7‰H <©·e†3ó;œU,!âäWJ¹x†G°-*ç,üõ]'iNöÓÛæ‡HšÌ~`Ó[n)ù%?â¬Z- pkpË3gQõ~rœ-+É@oÝ•9¡F K·";°uQ’óÆctE=ÿ´©NX‡Áñ¿¸R‚PB튴 6šbÞÿ°ÿ=t°šµ](ù0½ìôL c¨Ú_ñ å9JFÁUËñ@@7‹¥QØ\fcQAaý‰C)ÞiÎQ–>O-g’?T ¿è#ä‹{»/ÎÅ3è9 Sã–;žÓû9zC!´´×ðÛÙñŒÐsòœaà Õ)ê&ŠV¸4ã &0’Ç­änz%7Ð}÷¹Q½¶"jE–ê„ѱ¥…ëÈÏÕév Í4Í) ê”ÿÞ1Þjìùµq”uoâM[®‹“ÔA(Î0V}…¬ àAQn z(Hø~@JK .TíéÁÔH &€-ôæ/ýà’øXY‡°××ÎÚY´CÓ£¿ÊÇÁmîPÌyA¯ÂÝ\èò ·×D%ëÒ³ú’=ß«iÌ&ÓŸ@.™Âà77¨h¹;»6—‡G)û<ŸÏ–OQ'L¼í †˜_Q»;®`ÿÅ„­-¨]™Œ‘€ÅˆôœMœÉJ7¢õ}/êómð„”·ó‹ÖÅî–÷e¨1œ….2ÃýÚ©-ern%=i_Ub8«3ë×jG‰Ã‚·CÓd‡Å»T½Íž*7h'ÏIèF¸ãÉ‚»ÏFóY¾¿~vÊŸDɽ~bÜ_ÏOiº“,âVæw†?_NyÝ«LÌy©ž e‹®×)8^øÐÔ¡ËNIëb·PßÆÆƒý1-”óg¾•ƼŠ$;ÓñÅÄaH'QÓ O‹:oÚ[›v´ ÝiÊ`~h+Ø‚ßÍac©)¢ë.)Û¬Rƒ7Îïg`ýG`›Y\Kà '?ã9º’ã1­b,Ì„}â™tØÙ'²ü¤AÂ/â¨öøþ„ b±2$¯Áœ¤ÁG é°IŒ;–ÇêÊ*NTh ’)¢à˜o=W£ÊuT¼HéJq™õ4Ç6[u„aGCa=ÿœúœ‚dqå§…„ÿ*ž¢Q ¦Ô’ñ%ÇŸ†Ñ—^6l£¶·b>ÞÍÓT"ò°5Û–œÀÇ æYåÁmÇãÜsç–0Ïåø k7"]dXʯX‡sþØÌÀÉè®úUW07û¦Å9±£³P¦Ë¾êÔUY#dHœxkoLå×hüÀìàÕ=’¸—wðê3źòº/Cú ‹¡â( …ëu´_4RÝ\ETD›_ªï!ÆI-Q7fMbœ¸Júg ÈðÜaòΉ€×ûŽ #Å4ZÝÝqÿ¢ûh~ÝSà% u7‹XÆ dycïͲŠF2†üÔoÎG¾H³óôÐ&|¬ZÔ1“o†U)KH>Ðöˆ ÇÚÔL}R/ù™‘m¯¦è2´²ì™‚IK"•·F½.R áïqfàÍJ~ÏKACWÚpkÁýxK¾åût˜šA|"“ÈçÞWT˜à.”s‹É§Éù/óE`—¾…`#)–š]¨L7Ö^#Ô·DN|øžµ¯Ay\5a _Tÿµ]cÙÙ:Ñ®&ñµxöüY™qK¾Ç°7·.^rÙÎÔ–71~  aÉBŒ_ˆAü]½èÓ‘ROyMªpþp~P‡Ëç„Ôöß²Å[×õ:_/ ϸt_†Ø¡ÛEˆ?<½ö[©&Äš)­ÖX:¾•c˜[&\ÕÓ0CTèŠ&' Þ×yQÂF×{Á*Ä›[›È§l[‘1#*ÁŸÕu/|ˆbKa¬(h ÖÜÿ–VÇ? #ƒÅ¤­¢Nܬ87´¿ÌPá¼Àð“੆ Âgš-}>%W=ëŔ٘ Ì›Ñcö‘Ó‰Aÿpèðô}£-ÃH[ü‚—À•­:!å7º4¶¬DÆÜµ!¡`]x–¨sH¶<šÃ}aœv\’aóGCcƒ/µÂV0PèÉ’¸‡Y|=%fBÊÑWm°l°bÔÉd$Þv¤:֚ݙ9Št}Í|x#êëCÍŘ—ü=Çb}6æØ…ì®ÜærYýËGª’ž·c½s¶p¨:áhJ‘xQyá!]H\])¯=ç”ßy€HP³îÚÙúEy†­m—hzÒÄi½Í6°*}|0I¼TŠ)S2Š÷å¿Ïb¶? r­Î<‰r—)i 0.Œ²êGwdʉÛoøá„ÎIS%¹ˆ¿9·7ÍZÏðö¡À*¢šß¹â)¬1EÕíŒÄ•ó Ï•Í<ÖP©žòž©8$‘?9§ËæÇ1}˜TõäL@Þ¥Fcs1³} ¼Ûd(ÌÎ$kø€Ï*15— /ãCÕþn-X&.üýص‰ÃŒAoáËG9è ¥ò­ÖØ J)óÙ't칬ò,˜)ELÔ$Ëð‰Oõ‘Úo3爛T3ý;ˆ_àñ ù¶oúœÁ¿éÎøGK}°t˜GÁýðõ&û:hËa u¬á*†–qé‹×Ï{.~=½ÍhÆTI|jðGr±´ øâò"ZÎæXNÑY*_¾S0 ª»üK¨mðèlÏB&:½ýŸ#êâ¹æŸ®[MØÜaköƒ×köC‚;òõÁJô„}ÈfšÝ ƒ‹•HúVô=Qª‡h…R{l½ìUÙÅC_Öâ™ÖOY½% óû„–€ºK$¶so$þ®pí·‹ïènú tðœCR°1•#Å#r¶ùä®@­ K©4É'õó(µlD­&® â'ŽÚ%Ä0ßÉI8Ê­¿à$vðtò¿J(ù:iIèh“ÙýŒm`ﻡ×7ß}!쪗‡ÖN$¶B¢H¬»;qC,§=å-çc¸–ÉÉÜ&ùÑ£”PšÕè=¼­…·HƒÓgmÈF§©Nד„¥³S™FÞÒpá— 4Ìr~›Öä”F/·âúF Q`{¢Ú´ANÕï L±ªMwµèÆÒÛ‡"pMDJ G©ÝÑÿ °n«2½ž&ƒú•ö|ߘ²Úß7ÇÈsNdÓÇÄy«Ú€$û•KeãùBpfB€/Ó°|è§×ìÑ·|îþÉòZ l¶ †qp“¯u¸at”Ú]vá ‘ÊŠDJÇ,“o “àSæ5‚¯§ãZ‚öÒL`¯\Û»òï€t(ädM/@WR†â$7œ£ýš äˆEÏPH<³^m Zê\wûäi-ƒ!íÇé½)4"èô†´R$«vñPFha÷3]”§Dñ°¯û—’\ÐÛ¾ý<©l?ŒU3{žGoec òýOKHâpoxØ%£Üm³O“UšCDgê–L%oÓÔÐ`ÍœL¤t×&æR~¬‰µÁQm©ïÌWˆH-ÊÆWä3¤Ã£)K Xß8v{/…œLà㟆ìjÖìM•÷3¶a½Rþxr‹Å$À‘¥U¸ºa2É¥fÎ}÷Ïé?Gƒbrt”T­ƒ-a3¤½ŸKZºkèGcoc-œ¼AK¯”¿í27ê©”g°;`‡aàË>ioê¤böÒc2¢–öd£©(˜a£GMÓwô¾ËÉUˆHIvK‹ce>o)¹¹ÍÁ˜Á£è÷nnz]Œ¡-ý ©³àL¥Ýþ“±z,|W ¬=v¨cRVæ~™u‘þ½÷â “KÛ«$$>~xWü#]‹lbêGÒ”¾–Œ‰Ú|úŒHÄ&µÎWÔ‡óÂnªÅ‰üg†ëÓ¤ü™O•ó÷O|¨uЄ3··jj'{6mʹW…qÄùÃŒÍÜÏ]h[Ãûe¶žÒ3Õ³œlYI¿àßr9£%Ý‚ÛË;li<ÿÈXûDÀ£¦_÷è>4ŽâªÀeËþ”UX3k•Œ"´Q{(õÌeÿboÑ· oQ®=1[íq¬•38øCò nÑÉœíƒv¼CSx¢´5gKÄù„°íºcf…dγ—vÛà|¨J¹ä+¢:b@ÄÜpb.o# ëKz¡W¯õ þZÁD)cþؽ¶3àš)ÊŒq܇yÇIŸKÞBÖv ¾'é ª‘˜4ßžßNT~®Ö˜®W/È×ÏrØž9”Ö%Áµ'½í&?¢Ôâö»z Mv8$"ýÃ)Kb/ÒFldó;…SÃÎÏ*šé êº%¼ãsœøK¡ÖËÈ‹jC´óßç–ÿ—_ÿ‚ÿO$0µ;»:Ø;Û ü_Ï^9U endstream endobj 142 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-32 -250 1048 750] /FontName/XRGFCO+CMMI10 /ItalicAngle -14.04 /StemV 72 /FontFile 141 0 R /Flags 68 >> endobj 141 0 obj << /Filter[/FlateDecode] /Length1 1319 /Length2 8842 /Length3 533 /Length 9662 >> stream xÚí”UX\Û¶ ñà.Á ‚»»»»œ Š*ÜÝàÜÝÝ%@® î4¤ÙûÜ{²ût¿ô×oýuÕËúÇsŒÊZ´TÚ¬’–Ps âÂÊÉÆ)VUUää¼^»äâ°Ký!~»ôz)'óoâç°Ëÿ¡—y*èežêz™§ö‡^ ÔÿM\v­?Ä `×þC<v?ôâ©û‡^úéý¡—~úè¥ßÛ?ôÒÏàßôr]Ùÿ¬ýåžØ-ÿ/kþ_ä¬þ/vÖÿÀ=›à‹èø"hû|qÿ_¤ìÿàËb‡ü_4 ÿÀ ‡àK_§àK_çàK_—àËz]ÿ ×K#àK#Ï¿ñ½åRRPoVn.+/Ç_«ðórøþωº£+PQÀË!ÀÏýrDE-\œ€—¿¿//oгèå¥=€¨<žA•‚RK› R Nr'ã` 2·Ç|6\HzvºË@3ýy¢>µ‡ýµŒÃ\ úÆÚŸ¾¶~'á-‡BoçS«!VGò×(õ’Òèã,›ØèÁ\S§·?@<õ³ô³=›îÜÉFȲUúo4¡j77I¿—¥/gÑãë¢ ¼`ß¹«ÖcTýšàÞÅ"Š‘#ÐÆ·m¢ï^XÆÕVÎó¨õ@ÀOÂ(º›êù%»‚“…}$ñq1-Qâ ã)§¤Ì‰ö–'FYJP0âù:ñý}ˆ”P-ð¹ü|WŽ1ExJ£xÉf)k&ôŽ·Á5{ÇM-kÝÚ_øÔpXW&Ö$0ßÜ`}f‹ôç£ö~å«2¸B¬ï¿Ù¸Ífçün­»ã©K@.£÷àMQß!e*]‡>fÔ³ Áwv5þtEIUÏe è |~H}ø¬¾Ïöcš„À PÖ(—ÙÒ„f]±’2ˆ€¼1…}=NM{¼tuŠõª)³H%/Ë*{·@L£sôƵÇ<¤Žø1U9µ&h.™Í5€þéR„öÇðÒgïó™)ˆ¹%F@#¤8vÀ ûDÕ†LÐÇ=¸ÝñöL{™Jž¦1å²Ñ«+_øSÁ5[RëG$"; ûëÇÖ”*Ú·¬—ßWuÃxlʯ¤º½uYî¦ÞvQñm7ìÍ—¸çÿtu¥©säCi~ld}!B"fIDg‘d8Ú\J|%\;þÎØ‡ŒmìÒàkÇ¢K€˜5Ø–äPßeK˜ÝH»Ù*ôí\»£Nmæ7= We Ñ™³äT®Ø„ÉÍòmMéd”‚7Í[ê$ MßÛŽŠÐ쌿oÒd·üz›â`­iµÆ™$޾»b÷=–0Ú·öŽ ê‰k’ÏÙ¥7w)u§ƒôËJÈ’ò{"¡®ÄÛ™8â’xËTBAìØ!»(„Ã7óÖÎߢ¢™)óInéúŸWc£csm†YÑñ8‰‹öØ]µgÝF‰`¸xʃùúøû.ºöËôq„'Ò4ßðîøm¹Ü<œ™-Ë™Oêp’qxZ@LÈëJqœ•M‡…´[ó̹ðÙ¶•»L$ÎpR˜’ܘ!:V œuF+ÛbW"O”••ÞO1"A#o®±îkßt«ÚLÜFÑɃ™ü¡ùÑË.•B\A­dæaf¾¯.·{ioQc»÷#š|jµÄäH[¡éB‡b¨»î3´ëH²,_LÑ÷Ë~nJõÍ#›Ö7KŸçòÑÇPE? ‡Íãf¸|f|ÔnRžk¨Ð/CÔ2Ë¢ 5jAÆùò~ß:7K¦57˜ Íe ÿ(Ø@þ±âiÌ¥òÛ7LåhYã+¬ði$){<…Âbe$HâÁ†ðlŠñ'÷zpðøKm‹X±©¼ê'“Ó(ºƒa§&ˆÚAŠZ®ªâˆQëg dëç—vÏžI¢¸«ûÇZ‰Ny6ÎΜ¸Qü~"ûý{üÁú¬‡ýG·7¯ÕûO nç›,ާã$WªãhÊP“ÍÏØ%¯ ­ ã¤pŠNÍ¡ã,MÆçÁ,CzljºÇîY§ü¨øsHÐ.øÙ c-^1HÝWXT³´þÝT”BjÄ4Gµ Â% .&5×½†3‘l>QÑÄ. Å òLà³ó>-(ºßðõÕ§l(¼€]ÿm#wº†VU“4øCšá'jO7k"Þ%½ÆÆ)ÎFŽÅž»4˜ŒMñK"-Å1‘v÷NèH“ÉE-kªEà8°›ò‘Jq®Fjšû<õnÒãó•°×.Š6¼ƒX„°%K åkÆ¢Ø÷$Z Í*äJ´ç39×ÇJÃ~Pµ7m´¬zXÑ·â4[Éó=§¸½»C#&6DLÓD°†ÐÀú‘!øÛL[ÊH÷»BIÑàPh*ºy¤:Çåž)+EPâG´ÝÝ:³GÑÊ“6kÂ¡Ž•ñïÙG[RW oÊ›ÛWòڹܑ³íkÊijWCòïÝöúÙˆÞáq1ÒÍŒÏ+Jè½ßÑN9Õcä†À}`¾°ÊðºTxŸB;-¦8—f§Œv;I(‡Ä³›žÎ½nGÎ,%s¶I^[ŒýeÉg]Hd çùJp|cêÚb6lg¸ð-#†™g-÷{M'×):`£±QP¿cáTi›yT³œ•ä;kÛÅ¥5²øõŸ„{íH/%±ëãâª-©#S–@ç'ÌŒ¿¬Ÿ[\­¶èX½rlñÜ\úˆã¥<XM*A œÜú¡­?7æ˜ôi«ÚÅÊ(Z-TSØo¾ÅL$„ N·û?ϱÔìâÇIî.›1z'`ä­eä§Ž™„7­)ZîÙ~ öJѵð´Þ÷þºÙܰÞg>-t§õ…òp II«—4®ËXarâ !·áñ˜‘šÐûÏæ¯æÔc°²îKÓݽõ83+„ଠ)ùÃ-ãù…½[p˜¼±>×”XÓ.Seä˜Ù§L5×ï|)| ­È%ReµPëoí¨ÃXÖg&h3%8PŸ"êµô^„]NF6gÉÉãì™ü#2üÝsSÑP¿&‰b~‚ñ¼K½ßß[<Äß×…©;£“–gÑ@¹;è<æ{TRu¨jé’OURáÑi÷RJ"Ö§ã«4$ŠYºª2ør¼á ÅÐN†HPEÙCTÚ¹Îûî÷À4á.»ðLÿG%¥®çŒAn'Újò喙n\Y—úJwÄ5¢Š9ÛÁ½/'ŸOû|YòúªEV´n¦uÜqÜ µù­–6CŘž}ŸÚÙiMôÕ2D a¥~21áò:yáØÏGM‘­9¯DFmòk ÿ…åg êÈ“)þIè¦þ&͈ˈ %Qûç£ßBùa+»–ùZxñeÆÉwAø¼š»Õ¿í*ðÍ?½_CëõÏ éÑ8Aůu+¡ïÈ:×wO[¼‡‰Ó’Éf>¶J7ÂTA¡VaQ£º#œÍfÏ)Æ„ŽWÑ[Vß×oliW—CÙ2cX™ÀÛ•tŸ”_Ó»Þ8*VÓ{ ”lP|øVÝ$¾èÇ’uÙHÁGoá•àá‰BU«úS› ¼lp§Q;cˆì☞յe:륱 ¥o ÿÞp€ä÷ú*®J>j üàßÉ<æ,RÎd½kw2-áÅ-ld§NMxEm¥•($6.ˆ‡ìÕ¤3±z‰²pÈ æê¸)”ƒ{Lž³âÙgÇîx³ÊC•µù÷t°·‘¥œ »M¦\¿0T‚vì:rP»r¶°¢“Îéy 22ÚŠø~Ú¥Â>ì":3Є™–I-ˆ%ïÚͱūÓô5\¾,ä6›ŸAò’‹~:%dBð£w~4ù0÷ïÂçÖ–P¹l©Ö¢VÜug_7âé_gõ±ŸÇN†M{1óXm›h‘:%2^±k& ”µ‹cGa°,…„ÅëåpÒ›ó—ºTÇ#mXL'gO|Éf+²ÇP´R2­Û ½4¥$öi`v•úSÿÀTÅn@³XU¿‹Æ^)­fÃͺÊ^’ü4ïŸûúÊÖÉ’S v™Ò1é*Ô;þÍ~jIÉåL‚ï¬N‰æ"Í`¡Ã*û†¼ä‹hcÒˆÞkóC|›dÊím¯©øÍJä£gßÙÁмÛjGÓŒUn«Ô¯ùñè[ÜÈgí=Û1#Ž¥Õwfî‡Ñu¯Û­­0v<‚b(¿I¹ÀÆùMUv–Øû×e_>'äŽYë‰åpìàûZcç eƒÔᆲ:ú§w/ê„Çh;°vìçÜ -+¢r›–ÑÈWžgv×iïF½Þ‹ Ñî‹>ºêXÝà IU” gD+Y¾Á² }êç,@ó¨ãóú«‰j÷1“ZJR¤ó;Søöp>Æ´ydè,^V,ÆϦ…L†B¼>m‹¸ £Öñ²…zFåØŠf-¤ >-t¾KÛ’;°b®—‡—‚|-›Ä6b lÖ?Rxît3åêÑVç2Ma| ^‹Ü2içr ÖbæÞ§¬Užr#÷¡l¤¦E³Z5{ïi»b¯êËñjý Àœ&×ÝVºìT怙W0,ÿ5a¥ïkÜ{Ý¥Ëo0Ðæ?‰ˆ“rVeOë1â¥EKìbCN—½¦Ú‚Ó0\J¢,KáåsÜØÏvjãC7Ýìì+h¶Ï¦h˜ˆXçìw“T$ãçeH†UthÑ„Øó5êæ?.çó¾¡:_ñòM? ;Ø sFD*`´’ÁšÈ+åìç—øR„Ã6”\4 VT€>^÷Þ1©môxBi¬î£Ã_p|iqƒzTŠLài¦>á«Ïs¿]FF¤<•Ãɯd¼êòô‡PÇfáîÈ‹36åî…]Õà?:‰iœè}pD¬ÁÅ¥ó**º[>¯-J}Cœ•ÁŸxÚ¸ã—tíÁÀXìÀõ`ûJ̸'Û.Tâ=аzØkÓèü-ƾÀäK˜×–g}¢Ûn>¨ -ëuÆ0©møà)ÈÐn¹|š>Ó¦N©°—*Ô¨Ó“Ž¬J@»i€ú%NÑõ3Þ¸7^3KX…ÏÛXtÁY`I$‰süð×¾³)œ®|À˜›ãç¼Ã…n „ûÐbùŽÝã„çIÍ/?X™`åQE&ïô X@uì!îê÷]áB榾_çǵàÐHf¤†qDÀØaЛSžÙž±‚Ò­o¾:#(yíœg1n”Éäϳx:ÒëùTzŒmÏ߈¡SWhAXÕŠã‘Dy¯RÀ1Ä©²êô.à¼x;CG+Š]ÈîyV.å ½ØUKð£GÑ„XèMй`þµÓ©Äu—mëÊSã$ØøCŸ9×¾sÍä3{&[Vi–ïÈ P„M<±]Г^ NŒÂ÷¯d´?} æBœãQø…íÄŸcg⿉¡Í;'ú½Ï¹à}b U¤ý}+‹•sxº-–¿ rÂ";3„l틉Šö1# ±»Fã&=¯:2˺””@-æÐcϯÛ@(Îs™æýde^Ân’¦î»u8õÞ¼Y§l¼Ì7ØÔ€~bƒ˜êÉ“ˆNÄ ©btÞŒRÝÄ…‘ÆeVZ~ÁéÍ•¾^f…sÓe‹›‰¾_au¥K˃l˜stÊÍL´Çë”÷ne×ï¹ú,WÖGÌP-½ý òôMÖD”:ëcÞˆØó±H½¹Þótð²“Y _}Hºùá¹ó1!ýªÂÙ9:‹FÔµ]¨±œ1ìñ½tžt4YÙ"cÐÜ't…œ5ËJ;<§’^JÛn”å*O Š8™GbÚŒ›¢ñähˆT!›ùø¬¯uG"Þ¯v%s¯z¾Tý•~k¬»OVOÏÖe[˵8²úôôi”*kCr¶ÓÓ-e=ƒÝzn9e´ø9dtÉ¯XpˆóåÏû˜WÇ8Yí$núì#º±Ûl4Øíµ#õ©Ó Z³y«ô,‰~í©Ãà)ó(ËŒÝ.Hh÷qEbe9;~øhæN2¢ÜÇ®ÝHgYRÖXL8Ø+×Êyïå¡?W5ZbL;´‚¾}?É;Œ Ž1^T³åSÕÁ—&=sçóì“5/H¬Ð‡CJ^¹3¹ÃèQKPÕ,,4&¸y%].ƒG㿵d•×’˜­Ç pbô+:£ ë©Þ E>Ô˜TV*KcÚó‚V¹Ç\x¤ª »s¾‡N\Ùâöî*Uï/ˆ}O3@fjéqüri!VŒÿæ×íªT ò Ìm‡­ ‘êÉ´è«Ü>i󢑚Ņiö2ñJ%òh¸†8…›gû9Nl´vw¿EÁTiöëƒW¦õ¸™¡Ë ÇýÑlÿ Ù´ŸÞÆÛ¼ž ² ?»FÞóÓR›ŸÎÌÃ?³/û¢æ„\Òï±f¦h¤”¸=°>k¾±Ê3‡½e×1É+¾iFM{S±MëZïמ0|ŒxlbzÅ[ÄÊò6D°ÍaÑsÕÆËqdšEð*–ÆÏ\Ý0êW¶DŽGlê ? ØlãFõ€yh¯ç?ç¶*í~ƒšéí*êþlÉœÝëÏ%?«‡Ê¯_ÀFÄR!ënZZÀè—¾¼ÊŽ ›Û¾Ç eñ£¿„IB0ÔBw}JäogmË•|½àÁÔžÔ:pÇEÉTþä£ë»½™(Õ4nrÙÈ[à9 Ýꦄ:óŸqü¡5Õ“æ.Š<пšøÍÀºŒ EçûÁ×Åg™”È/XHbŒ+OçîÐ[½¾µ£ Ê·XS¿%sÌ?ðÐù²À_hÄõ……Œ¾k ­W*Å3WŽƒÛ}REú]¿Àt©Uç#ip9ìß cBi8Ì4ca¬ZãNaåÄ#tïY¬á£¶St$€ºœO*Åyjà ¨XøÎŸnHÞ=ò™% Oa„F#…öPÆõS«°®qÂP›º†¬þâ6³Ÿºìð$Cöálp¡Js¬kL4Ðæ,,žÍ¹Ûß;ð]d¸«Ž„™&掵Áqœã9ċſ pQ·‰4KLÿ|°Ë§··èA.Xõ؉­z‰þ‘‰˜i„ªª£1»°¢Ïˇw©ÑƒïéOæðØÒýՀĻ8säoå[l_u×Ê~G…«®¸fØÕ1S‰š9›Éj¯%„nò1¿ôbt¬â ²› L°£Ñ:±gE6ç€bz‡õçËg5ú³GˈÉDÄâu¢-”Ae]$kÌŒñ×Ñ@ÂZqi¥+B¿²; ™ƒìó):T"-1°¨Òú4E0iJÏ ßdï-œ¥Z÷ n(Є™pRf¿à0U‘cÎ i ú¹ìp9‹Ô]†Ð'[`¿QÃÆ™ûqÏê+aöB;âl…5õÕCÏH~ÀWEçÏïRé>8½s¡²÷Sot0|­¯êÄÕ~Íl•É<•ôUVW)pÁâÓÏRD·•ùÁŸmu¥_gdµ:å<ù6s¨L,I=æêý%Ÿbìé¾ :}bwØ&¾æ£(„7š¿Ú¼;h"m)Ë,kgÇ-*l1r?ûÑhž*oô©¸¾!$h5ÛâXËGîFyÚÛ™ÕеW›Þ}͵(@¡Ê×¢dU/cç|øKÌ7 › OÃmɬqÒƒŸ³¢ÂÚð°”d¸D;½j´ ¸™[—LP%Õ]}ììØÛj*¿¨:L¡í µ¯ƒ¾Å7Þ5¨û¸˜©Ô.ßÀ6ä Z†rúw|XŠ;ä0g ¯÷Lwá4EêàŸL¶[cq Âì¤áãªi…gÝt…¿I¼‹ûqIƒ væÌÓÅ ¼q%EVEŸ?¼§ŒÕ¥\2Yy‡Ù×ÁáÅ—JÉà¹ê•ñ«\ÝØÃríÿà”ÕËcc‚RJ4,¢’gËÊàì©8€þi‡àºF4çaµK£0ǘlÁP°ÍïÁªÈ+¶³ ýøƒ*H”òƒR»tÜ“&,úœpÁ+ÝŸˆCÀŠ(höjy¢¡‡½ /–JèSìE!É9Uåªìò+ .ƒ/Þ÷ýÊšZAin¹œSuÐg˜ûòRX“,éˆ~š¤Wú?„û<ÁÙîßÅ øÉÜvHP‚?‰¨çr¬°[RoÁäùC”ÒÆÏr) /¦çDùlN^U”ñ¡ú‘ùîÇDŸæ%09>œj£ÂÏtF¨ÞeåÙ(Åwɤ±:wð+ˆÕ;wÏ [kõµÍÞùž¥ø´Äç#ì-9H>Å €Öù©äY÷#eóy&”ߨ¨I_1x·.ãjÅòú»f&ÊXÜï»Fš52^ë³ûÆ·ë‹ ’“ˆãŠžïÁY»dDì…UéÃŽ3K¶>aŒ‚8æþ6îùi#?(ôÞ¼¥(ºˆ.ÀcMèY2§¤6†Ì;íx®z†%;ëPeV’·Û¶Iö`Ø\¡¡4ËªÒÆ_©üoÝzŸ>’ÒW5UÙæËqAÆÌ#2y ¤¹î(Qì&Å!dL÷MÁÁ-ûƒ9ÙD0ù™Îrï{¿ž ™-Äx ÊZŒ‡OrÇkÎù|—{­[ª4SÑóAž)ö"¾SqÝk|Øç'%q,H…©ÛKbÀÒ}vº6€–¿Ì#D”­Í©Þ7Û±+ï¥J Hä4žÔ1íjœÍŠÙ™’9ZÜ¥¯÷]7ûªTü$C§ St;úÖN@6=ÉäÁ£¦žy¦áÆ›PÜ‚kʽ ýeàPx8éjÓMyétlêBdÃñÓÏóç“e­Tïø`¦þ׸€9DÙ"™×ùU¸•Ÿ(òZä]¬¤Ñaë–~§HÃ}wY¥Þò6«¹øcóˆöEƒ«ëm“üŃ" ší «É¤Èzg^C6êà›°¸+Ž)Eµ¢zh‚¿Åœ¾Ç˜rn²K"ØèÙÉÊ÷v(÷‘ÍÎŒ€yïÄVUGGä9›ì`ã© Lº³ ¼‰OªÒʼn„#O="Í]kãÀ€Ïdâ ù€‘ê2Ìéãðý†—c¨ˆ–ÙGî3"N¼Ì]¯I’ª¸;²=c¡{ׯ9“ÖÎמÎ{©×½Ï-£Èó#Äõˆ%b:› [x0;ŠŽ$°ª¥çµ%þÙó¿×¸½\D2kƆúœw…î‡øg0â“ZWJxñ¶ÚQ0[Æëmê&N:íóêÚ<ûVkéËý¯€<ƒ]²:8 ‘‘‡Ì{u‹YU÷² îÃ[€…?™–)…']V¢Â¶¿3­ÎWÔ£Ý×îV„ƒ@ÑO”•fÉ–˜ãéÏçšß$â-l+)¯Ê2žïF°ó,}±¶L¿§¼ùn-  àº6(€æ <éöÏ~:Ĺ•ÖJ©Äñö.»M“$7[Ý5ä™Ä4iÞ=C󌹰&Ÿ\øþˆeê}v¡…IC1ŸÚ'4FÏŒ+·óKÝ/¸/{Æ0I[·f©ãLyÏq “ôU[®y0ŠýéôÁ„ô=M‹Ãr˜o磒™¶!6uýS"¶>¯7âïUµ»Ó).‡‘P­²ÎU†ñ¨· ¸¢ÃÓ¬>ŽîŽûñ½PQ)üÃhª'äÓ&ŸÊã*}Ì/¶Œ§¸n:+gQ~D±ÃвÜxµ¸$Û—k tйsDkÅÌ~ýU%z¸— îøšŸ"³x˜10FëÑ‘Ñùäv&‡Ä«¸R.8„Þ6[‰ä/aäsʇu“hOÄëžVõǸ¢MÔ袄‚üs‘…e(SHZîDñË$_³­õ¦}÷ŸEú8'{ŸÀAв£ZÝþ«ªÒ>TòLà;"¹À+1»|Sªö5EÔg–Ÿ±±þú9"^æ(j&²õÄÒ[®ö„­.¢÷˜ß+Ó§šßØ45ˆ©jš-úÉh)¹×Ý½ÔÆ6Ðò×o¬ŽÑbÚ‘ìÇlÉÌW˜{·õ˜¢.¦ˆH_õF5•F÷5Æê,á'Ë'Ô§ï:Ï Ìa^;´Žö>_£Q›“L—L5à %pã‡<ÒÂîô4  ¼¹f=2çžòÆ0ÔÓô¾oæÚíÍ””¯5 fÃÌó¸ S‡yíÛ†õ±CÉõ‘ïùž›ÆtôœÑµBú·bv úM PfÐ…ÌÕ–¦éºÿ°ß.ÇËwÑðåÑú(GÒ’qØ&º+ÃHTz‡u‰Œ›m`'½§0‘'²a8ñYôó"WÑÎò©/oÉ-B]eœq!h¼~cœ0a²ö|¨ÞÕœÚñ䋵̆ãY×ùQͧ¦6]úéóš ¤Œ<tM7öìAFßCMYʈ¢H\@õ†š›–s‡BÐÚ¼êVC¢uÿñÁÏÙ{a4î啲!Õgïrå<¦öÒkYL©×œB˜Ãµ¤Õž.KRÝÊ&¿i|ýh "pAx,A©§†Ù²cÚœG벦vË'êkÇ#”tÖhkËN¡n_8ÀÚ;áyà’Û_ÓK™¾ˆTÛÚ\a“üÄ[Ü(cc)OÅÔd?÷y§/ºÌÚŒs:ræùt=;Á“)‰Sü‰ñË@;ÝZ1Ùzµ¬o²Ãb oeu$ Ã6 ðØó@ýÓ™­ùyuiÊ/¾à k>}0¨Úîø›©ßľ¹i98]=^w!¿uvÏÞW †5=ä~^,$-–×èõJ…”ÙñÛ†QšM¾ANýwÛµ"žhwAÊÈaøÀz†ƒŽ±§+Ï탹vÙbÑìtÖ4ß§­•–7tÊ¢„t?ð4ËÙ¼”­b LÌÔ¦f1}§S}:ã1ñv4Á_-ð0ÑàÎì¤kð/í•ÒOLÅ¿ˆcAQ?¬Ûgäm4jŒ·x*îfÌjùHL ‡òŒ£I*ªc‰ƒìf©™ìÆ…Ô-39SjY c;‘öjfwï*D±îT)h"&F»­|î`R;´9¶}!Ü&þ¹p#ß06>~8]5fáËY|·’ËPòëÇS¬ò×Ù¢×膨®À%™P Èf…è/ÄÑw¦o6‚ÊÀc|DQÜé pÁMËl!T6f­\êoè›0Ø ÔOÕýe(™2Žø$a‚✚<æ5¬mg*ÚnkGzIݳ¦Þɼµd]bÂ]ž¢ Oú:˜Ý—Ë1Þ_ŠQŒ–zöU}NéKG(8*Ê GCþ`*NÞÄñùCýÿþŸ(`š9¹@íÍœìPQÿf¼) endstream endobj 145 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-301 -250 1164 946] /FontName/YQAFEI+CMBX10 /ItalicAngle 0 /StemV 114 /FontFile 144 0 R /Flags 4 >> endobj 144 0 obj << /Filter[/FlateDecode] /Length1 1135 /Length2 6110 /Length3 533 /Length 6860 >> stream xÚí“eXÛ¶®ñà.4n÷ ÁÝÝhhºq î$@€@‚‚C€`ÁÝ žà ¸»œ^k½VîÞ÷Ï}î¿óœªú1ß1Gï«1f1ÒjhsHÙÀ¬@r0¨;7'·@FUÚ€àæ¥1e\A–î`TÖÒ$àæÈ¬à ø#ÂÏ'ÀÄdÈÀœ}\ÁvöîÖ?²RN W°µ% jénr‚±¶„´aÖ`»' ´þxÅ  r¹z‚l811¹¹6`kw€È ÅäúÖ"Ôü+lãáü¯-O«Ü€åO§¬¸Oâ°Ùbr©Áàz ¸›ÿgcÿ_ÿ^\ÎQ³tú£üŸÍú}K'0Äç¿3`NÎî W€*Ìä ý÷T}Ð_æ¤aÿQt·„€­¥ vøWì&öÙh€Ý­í¶–7ПqÔæß-À÷§.CM)¹—Šìÿ=Ö¿v5,ÁPwç¿ëþ‘þ'sÿÃðö¸‚½Æ@x¹á‰ðû_+ÓS{ µ†Ù€¡v~€¥««¥&üÁ‰ðŠ†Ú€¼ o¸e.N(Ìþ Þ€-Ìó‰òñ¸¬aNN–„ÿŠð¸ì}œíAÐB.gøä`6‡y\Š“œ´ÿ&ø ¹þ©',à²ú‡„áz7à²ù ¹\ ßÀeûÂUì~C¸uûßîüÂe!¿!\×鄃 úÂua¿!\×ù7„ ¹þ†p!·ßÞ÷ßþñ¿!܆ç?ÈòùÿóÌHKü_qðÂ{ÀÁÃü£0@˜OÀÿÿÌÔ…‚]<@в~ (( ôgÔÚÃÕuÿó?…ȱ-~|A o5f¶¦*ËË)Ô¼”‰%dòîSTpˆ˜®àD|.þgCÚª_óyŸÄüGL?Æ;~Â/æÛ§e·ÃJB!à “þb;Šs-ƒoÂ|ô°$Õ. øªNdðݽÇR³4Ž5èuJ¤&ˆqµâ^øÓè»Gfñ¨iÞU³DÕ«3hÌJR7&N~ª´ÖL—¦ 쨑ušúA2Ÿù¦æ­âx)”Žüã%6­‡¢šÜs=qͽMØpVèS™½ šÃŽ<ž5WõW,È%ó©]ÈÚ/;Ì2èWOÆ‚èÝHõ9šõÑÔæªæ£‰ Ö¦ÌÒVß%ɘŒÅ,÷ó WØRf%–›‰î;¹êæ1 Õûå^ìZKs÷jÚÉ'¦©:OÖÜV¾‹ê%¢DŸjß8Χ«î`@äÝ71³WT†bÒU°²q,O$!ɺ® ºÛÿì~3CzÌÆ,“ÝFSr¸ózHIüm¶2¦Ï/k­äòØ9‹NŠ$LüÛë •ˆerj}z.Mè² ð„xE¢@Ššè»˜E8v ?ؼPʪòUh±\BEê“Þ!Ý å8°Óm+ÄVi6 :7Xƒ‰™… ¸,‚áÂø×’y *¤oѯÙͶ˜ŒìK4ß¡£ìS—Þ ñü"Š»ÌK¼Ó06Ú¼,\ŹgCùþ3f¤yM¬XŒ²³Î€íÏ–ÒÒÕèS¥LKmÎz¯—žé£+zO…vJ9„…{0Dn«IšºyÇ“âÜ2­ôÀh_i#OÃioµ¶°ŸFA)r͵s¯rÁZq'‹Ó*¢Ç¨MòH–FgWCC¿}QÌÍç…0×­ºÓë7¹–®"b(F~Ò<ÁÔI§ZtÝŸhø…‘veˆä7nºZl¡*J‰†–ñC” ¬×xÐÖñï<æ›_8‰‹"q3•«¢~†÷Q&)Š†á“ ®Ë‹ôüª`¸ì28r2Äñ|ºš;ªiE³~.Ã2Û´üT…³„ùIÒ²#3Þ›Êõúy¡8°n¡i¾jn™ˆS–™ØÎ´Uó14S~w{Döx§·Â²‹õ¤ù|2vÍŸ›^bmÆ @MøšdâA⮈ÁL*Õ™€Wqš+w®–¿öòäìÝ w¶ýälD§ò6>õ³4£„]ÓÙ7œë9qeF)fÔ 1€ã‡T>Þ'%F}Òò†î/Ð+›Ýåµè ¡œ‹”÷Ò¢”=X9?eí_ö' äa#nœf¯¯ÈÕdÐë5~ !]ØÏ÷ –°uþQIÆíN€:ð¹xˆ°R£®¾P¡1Û ã!Ù¯.™½ ?@?7] 8ÌQ lß2{1]T}æï¼mO>?k] x`µ$Æ5~A†^ƒOX*yO,°†üÆ ö<«Ç»Ék¦ÝÀ’ê¶•øÜCû ;©>³k”ÎoÎ}«Î0FúÚïš’û æüç´mì‰TÏ’‰£"côó(ÍX÷,ÞÓNcYÊšOu’S¯ï.ÛŸæ3Y"ee÷ <·ïÜx’PÏûÚw6JõËâ¾Sd*:Y§_ªX$2¬F©üø5@EF;®v{¬>>xnSH˜HPê2o_ø•#¦÷™ºÕ °ÅÐ/6á¸bЦ¾«û†©ÞCQì+šŒžnÞ”Vïíñ•,y”ð¡â´è Ú?IL½òµÎÅ$³¬œ,¤9ˆõ°fÞŸn9æ«ÛÆ\jî<¶2Í;Þ(u„wÿrÌü\(Þ!rÎ ,lös 6LpIQ ­°{í¬‚FÍQTcaý:T=ˆI%«G(/ÁOÈ­£üòÃyª „yŽ„Â‡•oÜÆpŒ‡~¶Ž%o †l.%‹_ÛÏÏœ’(„®²f×aº)•$"’‰ ?óǹyî<9¥$†2-ý_pLýÄõѽ‰•C:L¤N ÅH«šQ¥7ömÕBzç*iF#øÎ9 3™ÞËy]|ûÈx¡z¨•V_§sö<ƒV³ÖÏéî×"7m ¾ãˆ4÷æ1"J˜*W+ež||FJ™à1”_«D}Öiqô˜ŸŸ)Kj$è9L¥ÎØEL»­æQÕ~h”9qáP&i8º© RSÑãóÄwê¦Ëø˜’<–=êÚn©ÂH¸8•¨z kÝ~³šJ/Hð"·ë eGTÑ }Buͧ!éR´›RNÐâ@í©ã˜°‰ÔÅnL:æAì¦ðwQ3…ÂÏ…žD¿P ÛªWš_Ìï–~P›ÙSë0nÔÔö¬ä²òòw6f×ÚM懔:¡È ?éÁjuwÒ¦"Zvv6žÿxÐÀ“o±~Àœ¸x˜ë+=p%¿}!PˆãlP|Èócä=¢¶¤­ Øÿ aÚzþ;î‹ÐÏy°&Ý­iý+6tÂ#ù>aÊÇ Ï›(QÖ`­êýfœÉà¼é…¬(ú—á\ì…ZS¿<$—˞ϙZÏ?uÜn³=£ÆÔ ð‘`·ð¾¿`¤®ûV­„QåY{rr™Èu"²ÈTª+ɽGgðRá5–„¦(è‚púÍ7ž|kt#l¶&ȼ(ñ~åEpˆ½C.9 éØn,àù{þðsn·õ‘÷T}Uî«Yì¶úaˆ:&êL„ŸËpǺDL•ûœ÷$qUHÚ²”x†øÙOºáÐV ¹¢ð»˜®òúFŠ(‹sΆ?BF¬OL¾oN4 ÅÜN>ÝpaJ£?ò”f«ŒvÌZÊ ¼(›‡´fèS‚ªÂxR""Êj©¨40ãýj«ÅÙ»öš®Öm±z£U,QFÐà>ö¢¨ã]šÀ`p¢Eª·Óírk¼;ùm`ÆÃHôaŠâcn;=°s¦y‡QRâ˜àÔ7¸oö°mÁ]íØñç:Ó×è›]³V%ÍÓw÷ nÜ=i¯úX_·^ »´1ÕÒO±'àT•¤Žòõ”‚-Š3»8ƒK†O»é´Þ½Ç $9+‰Ú/@ùão]: ¹^ÕíŽøõ:sFtƒ,KÜñØî#8ÂAÑgnD£h&Ð?%tðK‚7@ÐA0ÙJIîÙƒÚB‘KJÙ¬R™ë!‡ú|Iµv&ƒõJLŽ0“r!À˜·ŠÙáñ~Kó¨JDqð–ä.Ê4u<Ù3&^ÆÁ®œ¡ºR^-×ðsd¨ÌÏ´î$€™ïp4¬ŒÅtÐ}F%6ÀÁë͈5ˆ³‹zf± 0Q3ĺíË¿£'¯Òsatž ;ò/\šÚb6\àVV[«Aíõ -Ç›['xÛKÛŠµö©ö¨-.¤JX>ÁÅ šŸ P°,6›gY¶ ƒ=b[=>ì;^?–4Mµ_µ@£(¨’a+Æ©þPÐGùÏjå|&›înÜf¡ÒŒ IìÜïPv1 =Ìf@‘¹A1’soQý~íb.ä(¬8{÷åK¶ Vê|->@·5.aFu«0%•Q$>èš™éÒ·›âß;“bm;ý©-N·Ô½ãÂ(òƒ{Ú!]Ñ¿Ú"ÛsMÝ2ØÄÔV 0õ#Å”˜¡ýÄg5²~ÖYôU&¯2šþ‹°Â¹ý'}îñA21³³A~4w_Á–Öˆ¤M­Êcñ¼âG®jí‡_1q)¾M%‹eس`M¸²ØèMv„cîãŒï ÈÛ§ÔÚò|zá=Zû™÷¶Äñ\Ý)?Q†]ðt§ó‰.ˆêa. Çžý+)c-åÇÎ}˜­Zòp×bT˜ÎÕ·Ù•Rö³±N†{ÜD o‡\B{FŸ6èº'ã<çnG¾2ëq5OŒ™úqåÙ¾Íìi©]EýŠÖçYkã§X>ÃÞýnóå4wI‰g…ÁAXAª,ÅòmhÐÖþÊwˆØ{°M<¬EEAÇ!“†|÷kÏ4Ìœß$0­6î3I?¶ä‘„­YÛf ú éÓoœ)í T×¶ôLÌlEª¸&ýØ#£ ùûÌ©Úå)WrÏV‡ú%8(rç°9°(Þ¡^»â¤$¿-¬ uê—i¹ÎJÃÚFoiï&䜃P,ŠÏçµQÄôó¨³P™p!BýøÐnO!yÛh5:¹)pÖ“L?k#ýeUˆ~~Cé<^p–Oø× Ùä t‰w1Aa¹ªüf$“øÏö‘€ß"Þb– æ#úǽ¥1ü•Y_&¬gKëÌMXìlúÎq{`¼Rmœ>A›*âÀ.Zn¢¬mˆP±½`àAðèÒ»:zǶ@e‹…E‰Q>KÔžš ¾"Ci¼”¿gÖ'R¬n«]t i ›5åògÃêZ»Wèތ܂¿žÐÑJðæEñLæ•Ä;ñq…+Ï£Ñê‚ñöøN¿/-¡kÝ´h>lÇklÇúX(c¦Gê /V´#-º”ˆàÆKhT·"q}š81™ü8 Í]ïrû+¢$¬íeÆ}Rø^‚¹UNçã.KÁq JÑ!o9TC§í"Îî©Èï,ònªÉ\/Oc·«ñD(¦S |wnð‹à;iéc=Íö[ùÂ÷4‹¾î×­‡Î÷€1òχÄOFÝtô=µK-ßë+‘ªemïÆÉöÎ÷cÍ.iÛùúäÝ óèõh‡ô¯Ø°?Q*%M»Ý¾Á•)Œ 2)aî˜ì‹h`rkåÌ´Å+»³Q.„‘næn¸šŸ*U×Rk|‹yy¹?ËØß Bœ¿ëî:Šì~jW¨’¶ŸH>n¸.‰:Ì'Î<¨6Яl¨ òay1ôüú«ÂŠ=l~ ”Z9¼×DY¸s-†KÑû95_k"*½ÍmºD;“{‰ºô3ïz’PGAˆmð5º¶‘ÔdÌwÐ œ­µæXlÂÌåkAÄèAh YÅxGHÝÒÔècz5Ó4A;´¥HTåés¯¼Qeã{iS'³:Ÿù‚zç.GJßÞÚ&J²‘YS›=ÓÛ±” âÁ~~\ÙCÐ1O]"tnbí0¦ZTåê8çXtZÓÈÞÔ½j4TiŽ©Ñp«õs2@"ˆÃ?MlÚgÙ F­xMdËû¹,/»÷1:MŠ n^+#™#ÛŸ?pxö&Ã,ïäi{}NÓ99ç¦qÅ °?#·ç$‚2Õ7IE­Ò¥Rfngd†ª ð2Ó*²„¹@• |Tdb–†{ñ§súQ»@¦aÏ×P!Ï,ݺ’¦ç̯L§Vè2Ff‚†Ö§LqHI‚Ç–?fbû:hÝ‘\CIî´¬­ÖÒÔê:zf¾E¾3ùhž¹Q˨SuAë)º¬k×p¢pþCÃ^¯h™¿%]Lh& ¤w¥ÜY¸iSSKX…àUÖõ…¤üèm@‡i{_¤Œè!^›8®Ê©Öt²‚]þ€ÑâÖ3ÙM‰û+ BïéŒäKñrŒ”—öX×ã«×ÕS©á_m{ïú<~xÄ'ªø"kPêQ8'>¶/]Ɖ’Ê$2½Áǵ½I¦Ìš<Ùå[µu!Í5Ñ¢ãÞÁDÎz¿+[àÝ$–•a}H»Š`tá ±x–¿n(õå“ÏTÔ†i)&³Ç˜OqjI妳äÏ”œïÎV®½,\:•â¸ÍÞ¾~Ñ£S@`LKSìõ±«5 »9ßfSãƶNž?%÷‹ãÃsÌ M–N*†o\ñVŸ×²ÛcÞJ`Þ¨eÙ­/Ö Ó®~G¦VïS/¢ÇÅk¶J™®VF÷ùrŠýá«ÝŽY  GµøšÎš–šd'haÿVð¿‚üQ««ÝyMÒ’™ÕÂ’‰ÓÓ¢á—ÈŒÌçÏhaVr¥ßÉÊÄ¡Œ[F(RhæK£/Õ¥R÷¥²´ß@mò"Ã)ìÙ‹ùzXH¦¹ý…õÌìâOKñ"¢R"éS-ë?õ¥÷ :!q«‰Š2«1äx%)/šjé¢Xƒ•?Î7Û»èý¯6tE+0œŒî‚ÒL'%° §x%n)aÏ&•?0Q“ë>ZÄ™7Ÿ–7Û‰¡¯˜ ‘æOùÝzÖŸ&âø©Ä­°Ð„Ò‡nRyEQÙ¥ß3ŒÒ¬Ö1~Ëv ˜sDpZé©yP¢5&.rÚaúˆ(¶‰ü0 ã}ôǾڗwª±9àŽ_"m +)7IÉqžú†w`>ÃX”ºïëÒ'ªûð&¾“TºÚhÒ€¦I"ËTà("\•ô‚!²ÆjËk]¶V{_qR²V±²ÒP¸§!ÑúBF¾·×éÄyúéž-æUà2»iåä1ŽUô™ß™£B`™ LTÅôÙýì§þ< ¢.Ä{ŽËôb„,új2rÅÜóÓØÔ ­ôJª÷iÚ,ª)”Õþ\!Î5‘ëû‰ô>'¥#Jõt>h«£\%¿P2»ô¾néY¼¤³KB{¸¶×l8¢S}pÃÇR}‚yWȶtü@øRp>×lIà`âkÛ8L6¡ÅÁá'Ý1ëËÆm/²ÚLQ΄gÂM'«™IWúĈ¢y4rhŸÅæ£[ÔîŽÞÔF/ÅÃ†ß ‡MÚÞ ±qSÕ|CBýðÍŠ#ßņoÖŒG¡“àÇE‚A½¼Ï¥´ô…³Å‹·~˾·Ä‘o‚ÑÚÅ*qzUeÛAý~Ê´ÉåžÔ¼ßÈ¼ÞøN4²ió‰e4£òê×±–+­ƒØûðûaÀÆÒÂ>~ËÉ„æù \/˜>á$k•îòÞ xÑê¤am9‘þsIáÊ@q·ºêbûVŸ4OHj–ˆz]"Ky³pþ„èU¯B1xrì‘p ŠibãKA§ä– ¼+úZœäð­cˆËÅ6ŠéN$°õ`ÆñÎ4¥¶¸£õYÊû„´Éè½2ùøÆ¯¶¤™U™ñgkuh(Äó–ˆ—÷gQåuÇäß"ôþr컜}˪®ñ–²|/ˆŸµ*_S6„JXb»S²`'™§9N$ùøÁx  #¦›õl‹ŽjN÷n²Kóìjü;å{€mnú“ܘE6G“œyñ!ô½%÷ú &ß°‹n«ÈöØì$£ußÏ¥(9-öÐäjW2ºæ88?8Ç>¿eo4Ùyã}¹.ô‰`Ÿ8ñä›þU¥àzoì)í\'B–,ɘ¬qgû“ïéßU:f‰êdô­Äô ¶Ü¤Õ‚-W l3ˆAõêyZœnÆ·#H¿F꼆¥—hS5D´¼Qnyì%c=<¦q;hÆ’üñùoM¨æ+? #ÊÕ/–úç.¬©f<íŸ}ûtn÷Ú~ÑbWJ‡²²øÿyaþoÿ¬! KWw˜“¥«#&æ…Ö­– endstream endobj 152 0 obj << /Type/FontDescriptor /CapHeight 850 /Ascent 850 /Descent -200 /FontBBox[-20 -233 617 696] /FontName/TTHCHD+CMSLTT10 /ItalicAngle -9.46 /StemV 69 /FontFile 151 0 R /Flags 68 >> endobj 151 0 obj << /Filter[/FlateDecode] /Length1 927 /Length2 2868 /Length3 533 /Length 3518 >> stream xÚí“y8”}ÛÇíj,ɾ•˾ûƒ‘=û2f“13Æ ²…dIÊXÊ’=B‘eJT¶ˆ²²¶h1Jz¦ºïÛñô<ÿ¼Çûß{¼×õÏõ9—ïï{œçï’•´wR5EáýÑp<ޤ Cõ3['gg(€‚! YY3"AÂàqæZ€êéAÓð@@ž×Öׄêkj€@²€žEÄ‘3ÅŸU:€išˆA"p€-‚„¡‹ XÀ Ä IQ`0ÅbÇŸ-a€#: MŒ@£À   0HàÄà@j?mYáð€Îï0*œðw*M £ûè>ºK‡PèÚQ<ý44ÝËÿØÖqõ§8<‹=Šù)ÿרþ£‚ÁFýUƒ!„“ÐDÀBq–º¢Û³E£0á!f­H,iРĢU=°¦öï0& މD£ì1$d@"†£…Ñ8ÔŸ>èÓûåBÍÙù°Ùasåvû;oÀàHÎQ4ÙmøÅÐ]¦Ï‰ˆ‰‰Mí?Âk'C Ò¼’³WHÕ˜›Ÿ¿öÕç§Y#í}/.ÌÕÁAõwgì’ˆz6™¢êŽg¡²ÙÎ=k-–€sÆõŠ­¥ÛÖç§ø¿µr~ãl àç›Þ×Áv²:;6«ŠoYަ%(_ܬ_ݪáüP5gr¾us!!(ûU¬ùüå$έ›ˆ;Äyõ3캫PúOÁÒÜmï­gqµ÷˜ï©Ë]Ÿ-×t5дÒ{ÇT¯ÄM޾ýð&ñÄ\ÍA¥çž†XI‰Îr’D fceÓ m¯Ü9eï¢÷~“&;IÆO>.a·sÍkj/‰°!¦·íݸ“sÿ‡ËYmUªdJ'<¦«¿èeZì:¯@Y¹w¨4ä@sƒÛÕK».õ¡ïz÷"¦ÞµVsu§T,Œ,ø…Ÿ¿†Btéè;‰e|P?ITGž"t g”Á¤ çÈÔ´Ô­y¦ùøN)Ÿƒ*ɼ’sÚë)Ü¥×BDNò½lTkcÈXo.d²9¦i5ZZL¤N_}ÇŸ ßÓVáæfdl¹0&”è7½¼˜Åz ÝÿRüƒF%eH˜]ܳÇJ„’©õ%ôh'Õéõ $€¿^ÛhÍÜ£Vº%³Ê¾ÿé0Ít½O¼ÍŸñA–oÄÈ{%ïC³õÔCþÛ¤ò„äšØÞMªÐuÝ-³$ì½t$ㄺØ5²Ÿ‹gÙ×|’“Ô ’ôïó‚HTœéšÅVS²Ü¥£=AîërŸª§xWpgyã­1û'(½n„³Õö¨qó2Æ;å ¬´µ7ECD°’‰ü­u¤3;œïJVÈ຀~ó¶ôvwÆ‹j ƺ²\… ƒÓ“bmåÏ»y‚Mù-KŒõW¦f¿ÿ•·)¿L3¬|°`~Ʋ¢“™/va#äΕ(ÛTé¦ô•ªWõ Ab½ÀC+ìKò)¬¶roá=QÊKu†9b¨+,wçYQùÅã… óÚ‡ÏÊÓùwP<`Zâ»­¬j/Õ:ö´¾“¾'OAKjá‹ân\eáÜ·¬S¼K±‹Ï=SP¹˜êÎärU§Dd Ø&^táüœ2õÂ|¢O).[góU#µnDØÞÓ±±4q  l•¬/v™&Cd˜Èë}=sœËi*©Á{z­CânºNfû¹. ˜—}_mÃç./+É 3ì#&ŸþÄ/йU&~”a¸N±õºJ´2’ÝŽs3ZIxÚJ .3=§¾1 ‹h¿ùܬܿ¶>Hš¯ÿÅ9Ùz{UEs{þ¯TS•õÙ¯öŠ”á“Gz… lêLý¨kïÖC²UM\TT|lq4~ÕßÐÀjßý¹LJÙôXÄ󩯾£ýµ}é‰AV0î±c6árùº²¼ËÇD¥éW9êxÒSõæ!e E¿ ù(fضrÑ ÍŸsõÀ`ÈÄÖÅÙØ9½Êa¸#TÌÒ•‡1(p¡ål“•AØUj@¥rvÎZ P¿Ãì¶j5ƒ/_„÷’¤1éÎ{ß¾‘F¼5Ä©§ÄN[V*}$ð©6´$¥Éõ™ÙÝ­ªÓ¨rxúGrïíµfË9ðLÕyÈŬ˵5ŸïøÏ¿ùÀa7 f”`âr¾}ÿÝáé J·lBaÆ€h`÷¶Ev½•:¢o,®"Jgô !q“& %äÄ·aÞãÒÛAco2KyÝ:°™ fîzÑÖJ’ü¥N2|*ª§¿ÕêOÖ-‹o{š;‡ãå–/ŽoÉÖl¾ºƒ–OÀЦ/mk‚ƒ–ŠÌŒIV'c2™¼Þæ‚Þ5×ÌŒ¾ÞÊF0}81çÅâÁÈËz¢úÈõv+žñz1‹I÷Cd×,ȼČǓ³áÆ7²_<Úìš,QO|ŽWŸú²“q¼{tå]åÓÓ¯óë—]'Æ =º_† U¾zJ« ÝS^µ€­y·¦…@ß<8[ÇÁ:Ü×ÄÊ£Ï![}:rµ×ßoä”ðã¦úü w4ƒ¬Þ¸al^œc«¥Ö±œIý8̾a^3«<ìœyí¬ü¶­:å5,èòÅö¢G:CKÐŰÕücG‘†©D†<<¡IŒx8“µ@–걩l+ÝÚ'NЏö¾5ËxÌ õöpÅTÃþ@½ Ë%ÃåJ98‘‡žaJWÑÏ,bBHî?Öô0 ¦¡ÔâêG¾þ(И·:å¾ÖþVê¸3/‘ñs¢ÿÌ6¥óTœV³>«ºú²ÂãPfǶHKEâÜâÆÔÑœGsÃŽW™™‰wòý(Ï Â%';3Ä+”þ8­§Õ¹8,bæÄê̦ýÚ4ÈY&E>â}û];GíöÂdŸÆýÞO›¹–ó£çÒ­ïì%Ùš°Þê?­Âü¦hï[ž!DŽĂã9—ER²ëïW¼ JŽîB cÙMiÙß’[Q½¾ÏQïy`¼î¾:c“P.§.ë¼áHõ~ØÍ%¦·ºB ”WüŽçjn]k|„tƒÍP6,"Åxïà¶©/¤pþCë NB1[³ÛPW½‘æ¬#¨Ò5§@XOŠ>³®yõ`T»åP²prlá ³Š¶aÕ»„â^ÿø­ C)Ù5ax¥E:sX¼ ¿Ø¸íìéKÔJÎ{ðªg£$EN®¦Ð¼cÖ´A¾)¨MÑ=6N™|©©5ñi>²Ÿ¢{ž‰­î¤’ ã` ÿÚo€ê&,¦¥‡¬˜ˆŠgQ!fC¾o¦°nyo‡£ËæŠñ˜§iêd„[ì>—ϺNQFâæÁû5åÆ5×åÙv²¼'D×7Kš®å¸6´×q- Ä»ˆ±âòõ Jœî¾ð²!„{ÈKkEM,{·‡m#VöI¢8„Šë€z2êE«J›§¯ìÕÃÚÌ#Y·aü z6$êqÐÃåþj«<ËØ±£‚k”Àá©g‰yBjUçŸû)]2*Hì‹#ùX¸Å»D©ååFÑ\±Ì4†»{^ñFrTŽd`OúæøÂ´Ý}Km!Ch¬B ‘MÞ<_X·s²îXÁ˜ýL§«ÿEí G'ïߥã|7ø²ó> endobj 170 0 obj << /Filter[/FlateDecode] /Length1 826 /Length2 2308 /Length3 533 /Length 2919 >> stream xÚíRi<”í–JšÊNByÔkKf³d‰ìû ¢P/cæ¡aÆCÆŒ,Y²FDY"²†Rv©d+²ÒkPJ‘¬½²Iïò;óåüηó;Ïó|¸¯ÿÿú_÷õ\÷--em«¨‹§¸‚F2¤ˆ‚£4}ÌIS@Á‘H=˜´´>ÄB Ù J] ®ìûÓPQÕ@©Â`Ò€>Å‹F%¸Ÿƒ9}ùﬣ€. ¤pX2€ÁBç@[‡%¶„hpÐ%›ï#>€ èRý@<C¡<® ; C|·eJv£G”ñ¾^¶ü@ªÛ ·éT`ûÄSÈD€Ý`K {?íæ?6öo|ý,näK$ZbIßå7Ãú—>–D Òþ`PH^¾H0¿“iØ¥·Zžþ5öÄÏ“Ü$ý¦"µàŒj„ó†w™D]™WIÒWÅ–ë/´”.ØðÆhVl`æÝO,Ì.ü¨@¢º<¼.3Ù¶C{Ç¡Àº'·ß~8Ó+©ÓÛ¾x:R«S²§|›;{0ï8=d²Ó7‚›TT'†;ßóqpiÚ¥2¤LW¨¿ï×ÔÙ[~*–iaø¹¬Ñ¡ð_+Å/ã{·›ï‚‡¹Jr:îðë¦LW_ÊÕRÄ?–=÷†Ï3󤨇‰è‡µ>ÌQ Æ< ªV„Y¦9­J5fõ£ÆBÀw¢O¾±|ñʲ}Ç à}Š—næ–fÇúÔ¼ÆM8ei.C`/÷¶nGé=‰Aë1äË·Æé·ð!§¯ƒí‚ØDùÙ1‰GˆÝj'ycÇ/¬3Ò\*ÅÓïZ½jYF ’ §D9ðªTÝ2HÌ÷I¿B`Í®˜”ˇH„NßÝ+Qbû:˜@€^G ¬ô‡ƒ”x|žÅ%z$ê@+'u ®qÆûÐsÙ©ç­>W Ö–4ïñr>À§¯ÚÎ$E!‹ªôÚ¾£yËûc8îÓëôHM3§5w™õ–ÖCŽù*_*+¹ØWþ^&XMÊé]Âr×/CB¼"ïtÜæ ΜµG?2‘¬8heó[-Ã0åæÑwÖŽMú¢;íÛ%]´§¼žßËÑ–°È†,¹“w¿÷3J “ge„-òÊ”…,›áO1î—Mû‹|ŽFt†UE%³ÊÖ]&É1AÈY„àT,±e:1¤BœAYzŒnþ€1£:èù•Â¥õ4S’‡Bkã/r¡¾ÑÎõ¨¦U­à*7•Ъ¤DÃþ¯Ö¡aÄÌ™,¦üWcXý0sjõ‰E²½Í–ì´èÕ âµúÖ 4ŽåàÀZKI]êóTL0ýšžæá>(g—u+Â'nY%¨w]¸êŠhý¤Îðù°Ãq¯SUT‹Bù™•®¿8”ÿ%g'ïÝØ~±÷y¶]¬è©T‡XfüëßÍË”s˜K ‡¼½õƸ愈ü"}»÷¾Ã®-Þ#´™®­“Gx*'<²{³îHêøßÈh•V¢”mÔè×±æ/ …ßCOÖ…—ØëjÌh‰÷”Fl)\¥ÖOt*”¯&:| ra‘›³áÏupbhšÁ7 #§"‹P|æìO%]¬ÄñîÆˆø¸KÓ¬þÑpyèÑvÑ’Aü Ñ:k/B€«º=pîÈžª˜ƒ¨Ý­xø5(;ï惃È`1âÔ5W ÛyÌÔºò¿|`ÿøŸÀA,¢°TOì€4! endstream endobj 1 0 obj << /Creator( TeX output 2006.04.10:1506) /Producer(dvipdfm 0.13.2c, Copyright \251 1998, by Mark A. Wicks) /CreationDate(D:20060410151023+10'00') >> endobj 5 0 obj << /Type/Page /Resources 6 0 R /Contents[16 0 R 4 0 R 17 0 R 18 0 R] /Parent 272 0 R >> endobj 20 0 obj << /Type/Page /Resources 21 0 R /Contents[16 0 R 4 0 R 25 0 R 18 0 R] /Parent 272 0 R >> endobj 27 0 obj << /Type/Page /Resources 28 0 R /Contents[16 0 R 4 0 R 32 0 R 18 0 R] /Parent 272 0 R >> endobj 272 0 obj << /Type/Pages /Count 3 /Kids[5 0 R 20 0 R 27 0 R] /Parent 271 0 R >> endobj 34 0 obj << /Type/Page /Resources 35 0 R /Contents[16 0 R 4 0 R 39 0 R 18 0 R] /Parent 273 0 R >> endobj 41 0 obj << /Type/Page /Resources 42 0 R /Contents[16 0 R 4 0 R 43 0 R 18 0 R] /Parent 273 0 R >> endobj 45 0 obj << /Type/Page /Resources 46 0 R /Contents[16 0 R 4 0 R 47 0 R 18 0 R] /Parent 273 0 R >> endobj 273 0 obj << /Type/Pages /Count 3 /Kids[34 0 R 41 0 R 45 0 R] /Parent 271 0 R >> endobj 49 0 obj << /Type/Page /Resources 50 0 R /Contents[16 0 R 4 0 R 66 0 R 18 0 R] /Parent 274 0 R >> endobj 68 0 obj << /Type/Page /Resources 69 0 R /Contents[16 0 R 4 0 R 70 0 R 18 0 R] /Parent 274 0 R >> endobj 72 0 obj << /Type/Page /Resources 73 0 R /Contents[16 0 R 4 0 R 74 0 R 18 0 R] /Parent 274 0 R >> endobj 274 0 obj << /Type/Pages /Count 3 /Kids[49 0 R 68 0 R 72 0 R] /Parent 271 0 R >> endobj 76 0 obj << /Type/Page /Resources 77 0 R /Contents[16 0 R 4 0 R 78 0 R 18 0 R] /Parent 275 0 R >> endobj 80 0 obj << /Type/Page /Resources 81 0 R /Contents[16 0 R 4 0 R 82 0 R 18 0 R] /Parent 275 0 R >> endobj 84 0 obj << /Type/Page /Resources 85 0 R /Contents[16 0 R 4 0 R 89 0 R 18 0 R] /Parent 275 0 R >> endobj 275 0 obj << /Type/Pages /Count 3 /Kids[76 0 R 80 0 R 84 0 R] /Parent 271 0 R >> endobj 271 0 obj << /Type/Pages /Count 12 /Kids[272 0 R 273 0 R 274 0 R 275 0 R] /Parent 3 0 R >> endobj 91 0 obj << /Type/Page /Resources 92 0 R /Contents[16 0 R 4 0 R 93 0 R 18 0 R] /Parent 277 0 R >> endobj 95 0 obj << /Type/Page /Resources 96 0 R /Contents[16 0 R 4 0 R 97 0 R 18 0 R] /Parent 277 0 R >> endobj 99 0 obj << /Type/Page /Resources 100 0 R /Contents[16 0 R 4 0 R 104 0 R 18 0 R] /Parent 277 0 R >> endobj 277 0 obj << /Type/Pages /Count 3 /Kids[91 0 R 95 0 R 99 0 R] /Parent 276 0 R >> endobj 106 0 obj << /Type/Page /Resources 107 0 R /Contents[16 0 R 4 0 R 111 0 R 18 0 R] /Parent 278 0 R >> endobj 113 0 obj << /Type/Page /Resources 114 0 R /Contents[16 0 R 4 0 R 115 0 R 18 0 R] /Parent 278 0 R >> endobj 117 0 obj << /Type/Page /Resources 118 0 R /Contents[16 0 R 4 0 R 119 0 R 18 0 R] /Parent 278 0 R >> endobj 278 0 obj << /Type/Pages /Count 3 /Kids[106 0 R 113 0 R 117 0 R] /Parent 276 0 R >> endobj 121 0 obj << /Type/Page /Resources 122 0 R /Contents[16 0 R 4 0 R 123 0 R 18 0 R] /Parent 279 0 R >> endobj 125 0 obj << /Type/Page /Resources 126 0 R /Contents[16 0 R 4 0 R 130 0 R 18 0 R] /Parent 279 0 R >> endobj 132 0 obj << /Type/Page /Resources 133 0 R /Contents[16 0 R 4 0 R 134 0 R 18 0 R] /Parent 279 0 R >> endobj 279 0 obj << /Type/Pages /Count 3 /Kids[121 0 R 125 0 R 132 0 R] /Parent 276 0 R >> endobj 136 0 obj << /Type/Page /Resources 137 0 R /Contents[16 0 R 4 0 R 147 0 R 18 0 R] /Parent 280 0 R >> endobj 149 0 obj << /Type/Page /Resources 150 0 R /Contents[16 0 R 4 0 R 154 0 R 18 0 R] /Parent 280 0 R >> endobj 156 0 obj << /Type/Page /Resources 157 0 R /Contents[16 0 R 4 0 R 158 0 R 18 0 R] /Parent 280 0 R >> endobj 160 0 obj << /Type/Page /Resources 161 0 R /Contents[16 0 R 4 0 R 162 0 R 18 0 R] /Parent 280 0 R >> endobj 280 0 obj << /Type/Pages /Count 4 /Kids[136 0 R 149 0 R 156 0 R 160 0 R] /Parent 276 0 R >> endobj 276 0 obj << /Type/Pages /Count 13 /Kids[277 0 R 278 0 R 279 0 R 280 0 R] /Parent 3 0 R >> endobj 164 0 obj << /Type/Page /Resources 165 0 R /Contents[16 0 R 4 0 R 166 0 R 18 0 R] /Parent 282 0 R >> endobj 168 0 obj << /Type/Page /Resources 169 0 R /Contents[16 0 R 4 0 R 173 0 R 18 0 R] /Parent 282 0 R >> endobj 175 0 obj << /Type/Page /Resources 176 0 R /Contents[16 0 R 4 0 R 177 0 R 18 0 R] /Parent 282 0 R >> endobj 282 0 obj << /Type/Pages /Count 3 /Kids[164 0 R 168 0 R 175 0 R] /Parent 281 0 R >> endobj 179 0 obj << /Type/Page /Resources 180 0 R /Contents[16 0 R 4 0 R 181 0 R 18 0 R] /Parent 283 0 R >> endobj 183 0 obj << /Type/Page /Resources 184 0 R /Contents[16 0 R 4 0 R 185 0 R 18 0 R] /Parent 283 0 R >> endobj 187 0 obj << /Type/Page /Resources 188 0 R /Contents[16 0 R 4 0 R 189 0 R 18 0 R] /Parent 283 0 R >> endobj 283 0 obj << /Type/Pages /Count 3 /Kids[179 0 R 183 0 R 187 0 R] /Parent 281 0 R >> endobj 191 0 obj << /Type/Page /Resources 192 0 R /Contents[16 0 R 4 0 R 193 0 R 18 0 R] /Parent 284 0 R >> endobj 195 0 obj << /Type/Page /Resources 196 0 R /Contents[16 0 R 4 0 R 197 0 R 18 0 R] /Parent 284 0 R >> endobj 199 0 obj << /Type/Page /Resources 200 0 R /Contents[16 0 R 4 0 R 201 0 R 18 0 R] /Parent 284 0 R >> endobj 284 0 obj << /Type/Pages /Count 3 /Kids[191 0 R 195 0 R 199 0 R] /Parent 281 0 R >> endobj 203 0 obj << /Type/Page /Resources 204 0 R /Contents[16 0 R 4 0 R 205 0 R 18 0 R] /Parent 285 0 R >> endobj 207 0 obj << /Type/Page /Resources 208 0 R /Contents[16 0 R 4 0 R 209 0 R 18 0 R] /Parent 285 0 R >> endobj 211 0 obj << /Type/Page /Resources 212 0 R /Contents[16 0 R 4 0 R 213 0 R 18 0 R] /Parent 285 0 R >> endobj 215 0 obj << /Type/Page /Resources 216 0 R /Contents[16 0 R 4 0 R 217 0 R 18 0 R] /Parent 285 0 R >> endobj 285 0 obj << /Type/Pages /Count 4 /Kids[203 0 R 207 0 R 211 0 R 215 0 R] /Parent 281 0 R >> endobj 281 0 obj << /Type/Pages /Count 13 /Kids[282 0 R 283 0 R 284 0 R 285 0 R] /Parent 3 0 R >> endobj 219 0 obj << /Type/Page /Resources 220 0 R /Contents[16 0 R 4 0 R 221 0 R 18 0 R] /Parent 287 0 R >> endobj 223 0 obj << /Type/Page /Resources 224 0 R /Contents[16 0 R 4 0 R 225 0 R 18 0 R] /Parent 287 0 R >> endobj 227 0 obj << /Type/Page /Resources 228 0 R /Contents[16 0 R 4 0 R 229 0 R 18 0 R] /Parent 287 0 R >> endobj 287 0 obj << /Type/Pages /Count 3 /Kids[219 0 R 223 0 R 227 0 R] /Parent 286 0 R >> endobj 231 0 obj << /Type/Page /Resources 232 0 R /Contents[16 0 R 4 0 R 233 0 R 18 0 R] /Parent 288 0 R >> endobj 235 0 obj << /Type/Page /Resources 236 0 R /Contents[16 0 R 4 0 R 237 0 R 18 0 R] /Parent 288 0 R >> endobj 239 0 obj << /Type/Page /Resources 240 0 R /Contents[16 0 R 4 0 R 241 0 R 18 0 R] /Parent 288 0 R >> endobj 288 0 obj << /Type/Pages /Count 3 /Kids[231 0 R 235 0 R 239 0 R] /Parent 286 0 R >> endobj 243 0 obj << /Type/Page /Resources 244 0 R /Contents[16 0 R 4 0 R 245 0 R 18 0 R] /Parent 289 0 R >> endobj 247 0 obj << /Type/Page /Resources 248 0 R /Contents[16 0 R 4 0 R 249 0 R 18 0 R] /Parent 289 0 R >> endobj 251 0 obj << /Type/Page /Resources 252 0 R /Contents[16 0 R 4 0 R 253 0 R 18 0 R] /Parent 289 0 R >> endobj 289 0 obj << /Type/Pages /Count 3 /Kids[243 0 R 247 0 R 251 0 R] /Parent 286 0 R >> endobj 255 0 obj << /Type/Page /Resources 256 0 R /Contents[16 0 R 4 0 R 257 0 R 18 0 R] /Parent 290 0 R >> endobj 259 0 obj << /Type/Page /Resources 260 0 R /Contents[16 0 R 4 0 R 261 0 R 18 0 R] /Parent 290 0 R >> endobj 263 0 obj << /Type/Page /Resources 264 0 R /Contents[16 0 R 4 0 R 265 0 R 18 0 R] /Parent 290 0 R >> endobj 267 0 obj << /Type/Page /Resources 268 0 R /Contents[16 0 R 4 0 R 269 0 R 18 0 R] /Parent 290 0 R >> endobj 290 0 obj << /Type/Pages /Count 4 /Kids[255 0 R 259 0 R 263 0 R 267 0 R] /Parent 286 0 R >> endobj 286 0 obj << /Type/Pages /Count 13 /Kids[287 0 R 288 0 R 289 0 R 290 0 R] /Parent 3 0 R >> endobj 3 0 obj << /Type/Pages /Count 51 /Kids[271 0 R 276 0 R 281 0 R 286 0 R] /MediaBox[0 0 595 842] >> endobj 16 0 obj << /Length 1 >> stream endstream endobj 18 0 obj << /Length 1 >> stream endstream endobj 4 0 obj << /Length 33 >> stream 1.00028 0 0 1.00028 72 769.82 cm endstream endobj 291 0 obj << >> endobj 292 0 obj null endobj 293 0 obj << >> endobj 2 0 obj << /Type/Catalog /Pages 3 0 R /Outlines 291 0 R /Threads 292 0 R /Names 293 0 R >> endobj xref 0 294 0000000000 65535 f 0000256091 00000 n 0000263929 00000 n 0000263574 00000 n 0000263779 00000 n 0000256255 00000 n 0000003319 00000 n 0000115316 00000 n 0000115131 00000 n 0000000009 00000 n 0000120216 00000 n 0000120030 00000 n 0000000988 00000 n 0000130411 00000 n 0000130225 00000 n 0000001973 00000 n 0000263679 00000 n 0000002874 00000 n 0000263729 00000 n 0000003265 00000 n 0000256358 00000 n 0000004838 00000 n 0000144931 00000 n 0000144742 00000 n 0000003380 00000 n 0000004310 00000 n 0000004783 00000 n 0000256463 00000 n 0000006963 00000 n 0000153970 00000 n 0000153776 00000 n 0000004900 00000 n 0000005853 00000 n 0000006897 00000 n 0000256655 00000 n 0000008396 00000 n 0000165506 00000 n 0000165313 00000 n 0000007025 00000 n 0000007929 00000 n 0000008341 00000 n 0000256760 00000 n 0000010336 00000 n 0000008458 00000 n 0000010270 00000 n 0000256865 00000 n 0000011668 00000 n 0000010398 00000 n 0000011602 00000 n 0000257058 00000 n 0000018528 00000 n 0000172636 00000 n 0000172450 00000 n 0000011730 00000 n 0000175865 00000 n 0000175672 00000 n 0000012714 00000 n 0000184314 00000 n 0000184120 00000 n 0000013696 00000 n 0000189165 00000 n 0000188970 00000 n 0000014482 00000 n 0000193396 00000 n 0000193202 00000 n 0000015417 00000 n 0000016408 00000 n 0000018416 00000 n 0000257163 00000 n 0000020985 00000 n 0000018590 00000 n 0000020897 00000 n 0000257268 00000 n 0000023580 00000 n 0000021047 00000 n 0000023457 00000 n 0000257461 00000 n 0000026104 00000 n 0000023642 00000 n 0000026004 00000 n 0000257566 00000 n 0000028093 00000 n 0000026166 00000 n 0000027993 00000 n 0000257671 00000 n 0000031633 00000 n 0000196372 00000 n 0000196183 00000 n 0000028155 00000 n 0000029132 00000 n 0000031498 00000 n 0000257962 00000 n 0000033761 00000 n 0000031695 00000 n 0000033637 00000 n 0000258067 00000 n 0000036401 00000 n 0000033823 00000 n 0000036266 00000 n 0000258172 00000 n 0000040192 00000 n 0000199458 00000 n 0000199270 00000 n 0000036463 00000 n 0000037450 00000 n 0000040043 00000 n 0000258367 00000 n 0000043937 00000 n 0000201663 00000 n 0000201469 00000 n 0000040256 00000 n 0000041230 00000 n 0000043799 00000 n 0000258475 00000 n 0000047066 00000 n 0000044001 00000 n 0000046941 00000 n 0000258583 00000 n 0000047374 00000 n 0000047130 00000 n 0000047329 00000 n 0000258782 00000 n 0000049211 00000 n 0000047438 00000 n 0000049155 00000 n 0000258890 00000 n 0000052119 00000 n 0000203823 00000 n 0000203635 00000 n 0000049275 00000 n 0000050005 00000 n 0000051993 00000 n 0000258998 00000 n 0000053386 00000 n 0000052183 00000 n 0000053272 00000 n 0000259197 00000 n 0000058630 00000 n 0000217570 00000 n 0000217380 00000 n 0000053450 00000 n 0000232085 00000 n 0000231889 00000 n 0000054354 00000 n 0000242055 00000 n 0000241863 00000 n 0000055286 00000 n 0000056209 00000 n 0000058477 00000 n 0000259305 00000 n 0000061596 00000 n 0000249227 00000 n 0000249031 00000 n 0000058694 00000 n 0000059426 00000 n 0000061476 00000 n 0000259413 00000 n 0000063810 00000 n 0000061660 00000 n 0000063692 00000 n 0000259521 00000 n 0000066700 00000 n 0000063874 00000 n 0000066569 00000 n 0000259826 00000 n 0000069551 00000 n 0000066764 00000 n 0000069444 00000 n 0000259934 00000 n 0000073162 00000 n 0000253057 00000 n 0000252860 00000 n 0000069615 00000 n 0000070582 00000 n 0000072985 00000 n 0000260042 00000 n 0000074996 00000 n 0000073226 00000 n 0000074856 00000 n 0000260241 00000 n 0000077859 00000 n 0000075060 00000 n 0000077682 00000 n 0000260349 00000 n 0000079861 00000 n 0000077923 00000 n 0000079764 00000 n 0000260457 00000 n 0000082538 00000 n 0000079925 00000 n 0000082396 00000 n 0000260656 00000 n 0000085038 00000 n 0000082602 00000 n 0000084918 00000 n 0000260764 00000 n 0000088166 00000 n 0000085102 00000 n 0000088070 00000 n 0000260872 00000 n 0000090907 00000 n 0000088230 00000 n 0000090789 00000 n 0000261071 00000 n 0000093088 00000 n 0000090971 00000 n 0000092981 00000 n 0000261179 00000 n 0000093819 00000 n 0000093152 00000 n 0000093748 00000 n 0000261287 00000 n 0000095137 00000 n 0000093883 00000 n 0000095070 00000 n 0000261395 00000 n 0000096099 00000 n 0000095201 00000 n 0000096041 00000 n 0000261700 00000 n 0000097209 00000 n 0000096163 00000 n 0000097151 00000 n 0000261808 00000 n 0000098351 00000 n 0000097273 00000 n 0000098293 00000 n 0000261916 00000 n 0000099476 00000 n 0000098415 00000 n 0000099418 00000 n 0000262115 00000 n 0000100510 00000 n 0000099540 00000 n 0000100452 00000 n 0000262223 00000 n 0000101994 00000 n 0000100574 00000 n 0000101892 00000 n 0000262331 00000 n 0000102744 00000 n 0000102058 00000 n 0000102686 00000 n 0000262530 00000 n 0000103902 00000 n 0000102808 00000 n 0000103844 00000 n 0000262638 00000 n 0000106349 00000 n 0000103966 00000 n 0000106248 00000 n 0000262746 00000 n 0000108713 00000 n 0000106413 00000 n 0000108635 00000 n 0000262945 00000 n 0000110912 00000 n 0000108777 00000 n 0000110822 00000 n 0000263053 00000 n 0000113862 00000 n 0000110976 00000 n 0000113721 00000 n 0000263161 00000 n 0000114167 00000 n 0000113926 00000 n 0000114122 00000 n 0000263269 00000 n 0000115067 00000 n 0000114231 00000 n 0000115011 00000 n 0000257864 00000 n 0000256568 00000 n 0000256970 00000 n 0000257373 00000 n 0000257776 00000 n 0000259728 00000 n 0000258279 00000 n 0000258691 00000 n 0000259106 00000 n 0000259629 00000 n 0000261602 00000 n 0000260150 00000 n 0000260565 00000 n 0000260980 00000 n 0000261503 00000 n 0000263476 00000 n 0000262024 00000 n 0000262439 00000 n 0000262854 00000 n 0000263377 00000 n 0000263861 00000 n 0000263884 00000 n 0000263906 00000 n trailer << /Size 294 /Root 2 0 R /Info 1 0 R >> startxref 264027 %%EOF liblip-2.0.0/lipinstall0000744000175000017500000002452710431012546012012 00000000000000#!/bin/sh #check if intstall directory provided if [ $# -eq 1 ] then BASE_DIR=$1 INSTALL_DIR=$1 DOCS_DIR=$INSTALL_DIR elif [ $# -eq 0 ] then INSTALL_DIR="/usr/local" DOCS_DIR="/usr/local/share/doc/lip.2.0" else echo "..." fi DEFAULT_DIR="/usr/local" #run configure script is it exist with install directory as parameter if [ -f configure ] then ./configure --prefix=$INSTALL_DIR # echo "configure goes here" else echo "Configure script missing!" if [ -d $INSTALL_DIR ] then echo "directory already exists!" else mkdir-p $INSTALL_DIR fi fi #copydocumentation into the directory docs directory if [ -d ./examples -a -d ./docs ] then echo "Installing documentation ..." # Check to see if apropriate directories exist if not # create them and copy docs to apropriate dirs. if [ ! -d $INSTALL_DIR ] then mkdir -p $INSTALL_DIR fi if [ "$DEFAULT_DIR" != "$INSTALL_DIR" ] then if [ -d $INSTALL_DIR/examples -a -d $INSTALL_DIR/DOCS ] then echo "..." else mkdir -p $INSTALL_DIR/examples mkdir -p $INSTALL_DIR/docs fi #copy docuemnts in to appropriate directories echo " cp -r ./EXAMPLES $INSTALL_DIR/EXAMPLES " cp -r ./examples/* $INSTALL_DIR/examples/ echo " cp -r ./DOCS $INSTALL_DIR/DOCS " cp -r ./docs/* $INSTALL_DIR/docs/ #save documents directory path for later unistall echo $INSTALL_DIR > docs_dir else if [ ! -d $INSTALL_DIR/share ] then mkdir -p $INSTALL_DIR/share/ fi if [ ! -d $INSTALL_DIR/share/doc ] then mkdir -p $INSTALL_DIR/share/doc fi if [ ! -d $DOCS_DIR ] then mkdir -p $DOCS_DIR mkdir -p $DOCS_DIR/examples mkdir -p $DOCS_DIR/docs fi #copy docuemnts in to appropriate directories echo " cp -r ./EXAMPLES $DOCS_DIR/EXAMPLES " cp -r ./examples/* $DOCS_DIR/examples/ echo " cp -r ./DOCS $DOCS_DIR/DOCS " cp -r ./docs/* $DOCS_DIR/docs #save documents directory path for later unistall echo $DOCS_DIR/ > docs_dir fi else echo "documentation not found!" fi #run make file target make isntall to compile and install the library if [ -f Makefile ] then make install # echo "make install goes here" fi #Create the make file for the examples echo '#############################################################################' > $DOCS_DIR/examples/Makefile echo '# #' >> $DOCS_DIR/examples/Makefile echo '# CLASS LIBRARY LIP FOR MULTIVARIATE SCATTERED DATA INTERPOLATION #' >> $DOCS_DIR/examples/Makefile echo '# #' >> $DOCS_DIR/examples/Makefile echo '# This makefile gives targets that show how to compile and link #' >> $DOCS_DIR/examples/Makefile echo '# user code to the Lip shared library and statatic library. #' >> $DOCS_DIR/examples/Makefile echo '# #' >> $DOCS_DIR/examples/Makefile echo '#############################################################################' >> $DOCS_DIR/examples/Makefile echo '#' >> $DOCS_DIR/examples/Makefile echo '# This make file show how to compile and link examples included with this ' >> $DOCS_DIR/examples/Makefile echo '# distribution of LIP assuming different installations of the library. this' >> $DOCS_DIR/examples/Makefile echo '# include the following examples for both static and shared linking.' >> $DOCS_DIR/examples/Makefile echo '#' >> $DOCS_DIR/examples/Makefile echo '# liblipex: shows how to compile and link library when install' >> $DOCS_DIR/examples/Makefile echo '# in the library search path used to load libraries' >> $DOCS_DIR/examples/Makefile echo '#' >> $DOCS_DIR/examples/Makefile echo '# exampleprocedural: shows how to compile and link by implicitly telling' >> $DOCS_DIR/examples/Makefile echo '# the linker where to look for the library' >> $DOCS_DIR/examples/Makefile echo '# shows how to compile and link procedural C conde.' >> $DOCS_DIR/examples/Makefile echo '#' >> $DOCS_DIR/examples/Makefile echo '############################################################################' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '# location where the library is installed' >> $DOCS_DIR/examples/Makefile echo MYPATH= $BASE_DIR >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '# compiler' >> $DOCS_DIR/examples/Makefile echo 'CC = g++' >> $DOCS_DIR/examples/Makefile echo 'GCC = gcc' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '# Some options probably not needed: -g (which enables the debugger options).' >> $DOCS_DIR/examples/Makefile echo 'FLAGS = -g -O -Wno-deprecated' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '# Object file fo the example' >> $DOCS_DIR/examples/Makefile echo 'OBJ1 = liblipex.o' >> $DOCS_DIR/examples/Makefile echo 'OBJ2 = exampleprocedural.o' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '# LIB_PATH used to store the path in which the library files were installed.' >> $DOCS_DIR/examples/Makefile echo '# The commented out assignment is for when the library is installed into the' >> $DOCS_DIR/examples/Makefile echo '# users home directory. NOTE: $(HOME) referes to env varialble HOME.' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '#directory where the liblip.a is installed' >> $DOCS_DIR/examples/Makefile echo 'LIB_PATH = $(MYPATH)/lib/' >> $DOCS_DIR/examples/Makefile echo '#LIB_PATH = /usr/local/lib/' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '# INCLUDE_PATH used to store the path in which the *.h files have been' >> $DOCS_DIR/examples/Makefile echo '# placed. The commented out assignment is for when the *.h files are placed' >> $DOCS_DIR/examples/Makefile echo '# in the users home directory.' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '#directory' >> $DOCS_DIR/examples/Makefile echo 'INCLUDE_PATH = $(MYPATH)/include' >> $DOCS_DIR/examples/Makefile echo '#INCLUDE_PATH = /usr/local/include/' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '#include directories holdign the header files needed for liblip' >> $DOCS_DIR/examples/Makefile echo '#INCLUDE= -I$(INCLUDE_PATH)/tnt -I$(INCLUDE_PATH)/glpk -I$(INCLUDE_PATH)' >> $DOCS_DIR/examples/Makefile echo 'INCLUDE= -I$(INCLUDE_PATH)/tnt -I$(INCLUDE_PATH)' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '#location of glpklib.a this is a static library and should be compiled from source.' >> $DOCS_DIR/examples/Makefile echo 'GLPK_STATIC_PATH=$(HOME)/glpklib/lib/' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo 'all: static_example2 static_example shared_example ' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '#################################################################################' >> $DOCS_DIR/examples/Makefile echo '# linking examplelint. If you have succesfully installed lip library and have' >> $DOCS_DIR/examples/Makefile echo '# LIB_PATH to /etc/ld.so.conf Or you have added LIB_PATH TO LD_LIBRARY_PATH' >> $DOCS_DIR/examples/Makefile echo '# then compiling is as eassy as this. ' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '# shared_example target links liblipex.o to the liblip shared library. To make' >> $DOCS_DIR/examples/Makefile echo '# up shared_example executable.' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo 'shared_example: $(OBJ1)' >> $DOCS_DIR/examples/Makefile echo ' $(CC) -o shared_example $(OBJ1) $(FLAGS) -L$(LIB_PATH) -llip -L$(GLPK_STATIC_PATH) -lglpk -lm' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '# static_example target links liblipex.o to the liblip static library. To make' >> $DOCS_DIR/examples/Makefile echo '# up static_example executable.' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo 'static_example: $(OBJ1)' >> $DOCS_DIR/examples/Makefile echo ' $(CC) -o static_example -non_shared $(OBJ1) $(FLAGS) -L$(LIB_PATH) -llip -L$(GLPK_STATIC_PATH) -lglpk -lm' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '#################################################################################' >> $DOCS_DIR/examples/Makefile echo '# linking examplelintprocedural' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '# static_example target links exampleprocedural.o to the lip static library. To make' >> $DOCS_DIR/examples/Makefile echo '# up static_example executable.' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo 'static_example2:$(OBJ2)' >> $DOCS_DIR/examples/Makefile echo ' $(CC) -o static_example2 -static $(OBJ2) $(FLAGS) $(LIB_PATH)liblip.a $(GLPK_STATIC_PATH)libglpk.a -lm' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '#################################################################################' >> $DOCS_DIR/examples/Makefile echo '# compiling examples to objectfiles.' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo 'liblipex.o: liblipex.cpp' >> $DOCS_DIR/examples/Makefile echo ' $(CC) -c liblipex.cpp $(FLAGS) $(INCLUDE)' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '# compiling proccedual example using C compiler' >> $DOCS_DIR/examples/Makefile echo '#' >> $DOCS_DIR/examples/Makefile echo 'exampleprocedural.o: exampleprocedural.c' >> $DOCS_DIR/examples/Makefile echo ' $(GCC) -c exampleprocedural.c $(FLAGS) $(INCLUDE)' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo '.PHONY: clean all' >> $DOCS_DIR/examples/Makefile echo '' >> $DOCS_DIR/examples/Makefile echo 'clean:' >> $DOCS_DIR/examples/Makefile echo ' rm -f $(OBJ1) shared_example static_example' >> $DOCS_DIR/examples/Makefile echo ' rm -f $(OBJ2) static_example2' >> $DOCS_DIR/examples/Makefile liblip-2.0.0/lipuninstall0000744000175000017500000000057010431006431012341 00000000000000#!/bin/sh #run make uninstall and then clean if [ -f Makefile ] then echo "Uninstalling liblip" make uninstall make clean else echo "makefile not found... might have to uninstall manually!" fi # remove the document directory. DOCS_DIR=`cat docs_dir` echo "rm -rf $DOCS_DIR" rm -rf $DOCS_DIR/examples rm -rf $DOCS_DIR/docs rm -rf $DOCS_DIR/include rm -rf $DOCS_DIR/lib liblip-2.0.0/src/0000777000175000017500000000000010437473063010567 500000000000000liblip-2.0.0/src/memblock.h0000644000175000017500000003113510426015341012435 00000000000000/************************************************************************** begin : April 19 2004 version : 1.0 copyright : (C) 2004 by Gleb Beliakov email : gleb@deakin.edu.au * memblock.h -- service routines for memory allocation * * Used to take over OS heap, if many objects of a fixed size * * need to be created, deleted and quickly accessed. This it to avoid * * OS keeping track of individual objects and associated overheads * * Memblock implements a dynamic array to store all these objects, it's * * own tracking system, and by having objects of the same size, reduces * * overheads (by 10-100 times) * * * * An example of usage is to store a huge tree, with nodes of equal size * * Create a global variable * * * * MemoryBlock MB; * * UINT newcl, ref; MyClass* cl; * * ref=MB.GetNextFree(num); equivalent of malloc(num*sizeof(Myclass)) * * for(i=0;i #include #include #define UINT unsigned int #define MB_IDX_SHF 20 // that's how we split the index into 2 parts: block and index within the block #define MB_IDX_MASK ((1 << (MB_IDX_SHF)) - 1) #define MB_BLK_SHF (32 - (MB_IDX_SHF)) /*** Macros for calculating the correct location of the node ***/ #define MB_BLOCK(A) ((A) >> (MB_IDX_SHF)) #define MB_INDEX(A) ((A) & (MB_IDX_MASK)) #define MB_INDEXB(A,B) (((A) << (MB_IDX_SHF)) + B) /*** The upper limits - 4GB ***/ #define MB_MAX_NODES 0xFFFFFFFF /*** Define the ranges ***/ #define MB_MAX_INDEXES (1 << (MB_IDX_SHF)) #define MB_MAX_BLOCKS (((MB_MAX_NODES) / (MB_MAX_INDEXES) + 1)) #define MB_BADINDEX 0xFFFFFFFF #define MB_SPECIALINDEX 0xEFFFFFFF #define MB_BLOCKSIZE 0x7FFFF #define HasFree(B) ( !((B) & 0x1) ) #define HasAnyFree(B) ( (B!=0xFFFFFFFE) ) #define SetFree(B) ( ((B) &= 0xFFFFFFFE) ) #define SetFreeI(B,r) { (B) &= (~(0x1 << r)) ;(B) &= 0xFFFFFFFE; } inline int SetOccupied(UINT &B, short i) { B |= (0x1 << i); if(HasAnyFree(B)) {SetFree(B); return 0; } else {B |= 0x00000001; return 1;} }; inline short WhichFree(UINT B) { for(short i=1;i<32;i++) if(!((B>>i) & 0x1) ) return i; return 0; }; template class MemBlock { public: typedef T value_type; typedef T* pointer; typedef T& reference; typedef const T& const_reference; value_type * m_data; // UINT m_index[1024]; UINT m_NextAvail,m_temp; short i,j,k; //0 means free block, 1 means occupied MemBlock() { // 7FFF= 31*32*32 +31*32 +31 m_data=(value_type*) calloc(MB_BLOCKSIZE,sizeof(T) ); // 31000 blocks of size T, >64kb // for(short i=0;i<1024;i++) m_index[i]=0; memset(m_data,0xFF,MB_BLOCKSIZE*sizeof(T)); m_NextAvail=0; }; ~MemBlock() { free(m_data); }; UINT GetNextFree() { if(m_NextAvail>=MB_BLOCKSIZE) return MB_BADINDEX; m_temp=m_NextAvail; m_NextAvail++; return m_temp; }; UINT GetNextFree(int M) { if(m_NextAvail+M>=MB_BLOCKSIZE) return MB_BADINDEX; m_temp=m_NextAvail; m_NextAvail+=M; return m_temp; }; inline int IsFree() { return (m_NextAvail class MemoryBlock { public: typedef T value_type; typedef T* pointer; typedef T& reference; typedef const T& const_reference; MemBlock** block; UINT nodeCount, emptyBlocks, currentBlock; int valid; MemoryBlock(void) { block = (MemBlock** ) calloc(MB_MAX_BLOCKS, sizeof(MemBlock*)); // assert(block != NULL); nodeCount = emptyBlocks = 0; /*** The starting point is 0 but set to -1 because the _createNextBlock will increament the value before using it ***/ currentBlock = (UINT) -1; _createNextBlock(); valid=1; }; ~MemoryBlock(void) { for(UINT loop = currentBlock + emptyBlocks; loop > 0; loop--) delete (block[loop]); /*** To free the first block! ***/ delete(block[0]); free(block); valid=0; }; UINT GetNextFree() { nodeCount++; UINT loop; for(loop=0; loop <= currentBlock; loop++) if(block[loop]->IsFree()) { loop = MB_INDEXB(loop, block[loop]->GetNextFree()); return loop; } // no space left if(currentBlock < MB_MAX_BLOCKS-2) { _createNextBlock(); loop = MB_INDEXB(loop, block[currentBlock]->GetNextFree()); return loop; } nodeCount--; //exit(20); return MB_BADINDEX; }; UINT GetNextFree(int M) { nodeCount+=M; UINT loop; for(loop=0; loop <= currentBlock; loop++) if(block[loop]->IsFreeM(M)) { loop = MB_INDEXB(loop, block[loop]->GetNextFree(M)); return loop; } // no space left if(currentBlock < MB_MAX_BLOCKS-2) { _createNextBlock(); loop = MB_INDEXB(loop, block[currentBlock]->GetNextFree(M)); return loop; } nodeCount--; //exit(20); return MB_BADINDEX; }; inline void FreeBlock(UINT B) { nodeCount--; block[MB_BLOCK(B)]->FreeBlock(MB_INDEX(B)); // B=MB_BADINDEX; }; inline int IsFree() { if(currentBlock < MB_MAX_BLOCKS-1) return 1; for(UINT loop=0; loop <= currentBlock; loop++) if(block[loop]->IsFree()) return 1; return 0; }; inline T* GetAt(UINT B) { return block[MB_BLOCK(B)]->GetAt(MB_INDEX(B)); }; inline void SetAt(UINT B, T* Value) { block[MB_BLOCK(B)]->SetAt(MB_INDEX(B),Value); }; inline reference operator()(UINT B) { return *((T*)(GetAt(B))); }; inline const_reference operator() (UINT B) const { *((T*)(GetAt(B))); }; inline void _createNextBlock() { currentBlock++; if(emptyBlocks == 0) { block[currentBlock] = new MemBlock; // assert(block[currentBlock] != NULL); } else emptyBlocks--; } void ClearAll() { // cout << "commited blocks " <m_NextAvail < 0; loop--) block[loop]->ClearAll(); /*** To free the first block! ***/ block[0]->ClearAll(); }; inline int IsValid() {return valid;} }; /*-------------old version for lists------------------------*/ template class MemBlockE { public: typedef T value_type; typedef T* pointer; typedef T& reference; typedef const T& const_reference; value_type * m_data; UINT m_index[1024]; short i,j,k; //0 means free block, 1 means occupied MemBlockE() { // 7FFF= 31*32*32 +31*32 +31 m_data=(value_type*) calloc(0x7FFF,sizeof(T) ); // 31000 blocks of size T, >64kb for(short i=0;i<1024;i++) m_index[i]=0; memset(m_data,0xFF,0x7FFF*sizeof(T)); }; ~MemBlockE() { free(m_data); }; UINT GetNextFree() { //short i,j,k; i=WhichFree(m_index[0]); j=WhichFree(m_index[i]); k=WhichFree(m_index[i*32+j]); if(SetOccupied(m_index[i*32+j],k)) if(SetOccupied(m_index[i],j)) SetOccupied(m_index[0],i); return GetAddress();// i,j,k); }; void FreeBlock(UINT B) { //short i,j,k; GetIJK(B);//,i,j,k); SetFreeI(m_index[i*32+j],k); SetFreeI(m_index[i],j); SetFreeI(m_index[0],i); }; UINT GetAddress(){ //short i, short j, short k) { UINT r=(i-1); r *= 1024; r = r+ (j-1)*32 + k-1; //return ((i-1)*32*32+(j-1)*32 +k-1 ); //sizeof(MyStruct_t)* return r; }; void GetIJK(UINT B)//, short& i, short& j, short &k) { div_t t=div(B,32); ///sizeof(MyStruct_t) j=t.quot; k=t.rem+1; t=div(j,32); j=t.rem+1; i=t.quot+1; }; inline int IsFree() { return HasFree(m_index[0]); }; T* GetAt(UINT B) { return (T*) (m_data+B); }; void SetAt(UINT B, T* Value) { memcpy(m_data + B, Value, sizeof(T)); }; inline reference operator()(UINT B) { return *((T*)(GetAt(B))); }; inline const_reference operator() (UINT B) const { *((T*)(GetAt(B))); }; void ClearAll() { for(short i=0;i<1024;i++) m_index[i]=0; }; }; template class MemoryBlockE { public: typedef T value_type; typedef T* pointer; typedef T& reference; typedef const T& const_reference; MemBlockE** block; UINT nodeCount, emptyBlocks, currentBlock; int valid; MemoryBlockE(void) { block = (MemBlockE** ) calloc(MB_MAX_BLOCKS, sizeof(MemBlockE*)); // assert(block != NULL); nodeCount = emptyBlocks = 0; /*** The starting point is 0 but set to -1 because the _createNextBlock will increament the value before using it ***/ currentBlock = (UINT) -1; _createNextBlock(); valid=1; }; ~MemoryBlockE(void) { for(UINT loop = currentBlock + emptyBlocks; loop > 0; loop--) delete (block[loop]); /*** To free the first block! ***/ delete(block[0]); free(block); valid=0; }; UINT GetNextFree() { nodeCount++; UINT loop; for(loop=0; loop <= currentBlock; loop++) if(block[loop]->IsFree()) { loop = MB_INDEXB(loop, block[loop]->GetNextFree()); return loop; } // no space left if(currentBlock < MB_MAX_BLOCKS-2) { _createNextBlock(); loop = MB_INDEXB(loop, block[currentBlock]->GetNextFree()); return loop; } nodeCount--; exit(20); return MB_BADINDEX; }; inline void FreeBlock(UINT& B) { nodeCount--; block[MB_BLOCK(B)]->FreeBlock(MB_INDEX(B)); B=MB_BADINDEX; //if(BLOCK(B) == currentBlock && }; inline void FreeBlockC(UINT B) { nodeCount--; block[MB_BLOCK(B)]->FreeBlock(MB_INDEX(B)); }; inline int IsFree() { if(currentBlock < MB_MAX_BLOCKS-1) return 1; for(UINT loop=0; loop <= currentBlock; loop++) if(block[loop]->IsFree()) return 1; return 0; }; inline T* GetAt(UINT B) { return block[MB_BLOCK(B)]->GetAt(MB_INDEX(B)); }; inline void SetAt(UINT B, T* Value) { block[MB_BLOCK(B)]->SetAt(MB_INDEX(B),Value); }; inline reference operator()(UINT B) { return *((T*)(GetAt(B))); }; inline const_reference operator() (UINT B) const { *((T*)(GetAt(B))); }; inline void _createNextBlock() { currentBlock++; if(emptyBlocks == 0) { block[currentBlock] = new MemBlockE; // assert(block[currentBlock] != NULL); } else emptyBlocks--; } void ClearAll() { for(UINT loop = currentBlock + emptyBlocks; loop > 0; loop--) block[loop]->ClearAll(); /*** To free the first block! ***/ block[0]->ClearAll(); }; inline int IsValid() {return valid;} }; #endif liblip-2.0.0/src/forest.h0000644000175000017500000002760010430541774012161 00000000000000/************************************************************************** begin : June 30 2004 version : 1.2 copyright : (C) 2004 by Gleb Beliakov email : gleb@deakin.edu.au * This file contains several classes: support_vector, SVSetNode and * * Forest. * * * * support_vector is a vector, label and a value, as used in the * * cutting angle method. * * SVSetNode represents a combination of n support vectors * * when organiser in a tree (ie it's a tree node) * * Forest is a set of trees of SVSetNodes * * Forest takes care of maintaining the tree structures, in which parent nodes have references to children nodes, and allows queries starting from the root(s) SVSetNode allows to perform certain tests on nodes and does some housekeeping These classes are not to be used directly but from within Interpolant class. These are workers which perform all computations required by Interpolant. See documentation about the methods used for further information * * * © Gleb Beliakov, 2004 * * * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * * * * This program is distributed in the hope that it will be useful, but * * WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software Foundation, * * Inc., 59 Temple Place Suite 330, Boston, MA 02111-1307 USA. * ***************************************************************************/ #ifdef _MSC_VER // if the compiler does not recognise this type, change it to another int type 8 bytes long // like long long int typedef __int64 ULINT; //this type myst be 8 bytes long #define ULLMASK 0xFFFFFFFF00000000UL //#define NOMINMAX #else #define ULLMASK 0xFFFFFFFF00000000ULL typedef unsigned long long int ULINT; //this type myst be 8 bytes long #endif // this is compiler dependent // these macros are to cast double to 8 byte integer and back #define d2ulint(a) (*(ULINT*) &(a)) #define ulint2d(a) (*(double*) &(a)) #define TNT_NO_BOUNDS_CHECK #define real double // 8 bytes: choose one of these typedef unsigned int SVINDEX ; // to save RAM for functions with < 15 variables. #define SMALL_DIM // up to 15 variables, for more than 15 vars, undefine it #define TRIANGULATION1 #include #include #include #include #include #include #include #include #include using namespace std; // change this line if TNT is installed on your system to #include "../include/tnt/tnt.h" #include "memblock.h" //using namespace TNT; typedef TNT::Vector fVec; typedef TNT::Vector dVec; typedef TNT::Vector iVec; typedef TNT::Matrix dMat; typedef TNT::Matrix iMat; typedef TNT::Vector siVec; typedef vector shortindexvector; typedef vector::iterator shortindexvectoriter; typedef set indexset; typedef set::iterator indexsetiter; const real Infinity = 1.0e16; const real SInfinity = 1.0e7; // "small infinity" for boundary points (to avoid loss of precision when taking 1-x[i]) #define sqr_(a) ((a)*(a)) #define min_(a,b) ((a)<(b)?(a):(b)) #define max_(a,b) ((a)>(b)?(a):(b)) double ElapsedTime(); void ResetTime() ; #ifndef SMALL_DIM #define POS_VEC(a) (((a)>>24) & 0xFF) // only the last 6 bits, the first 2 bits reserved #else // pos 3F would mean root (1,2,3,...,n), no more than 255 variables #define POS_NUMCHLF(a) (((a)>>28)) // + 1 as 0 children does not make sense, so 0 means 1, and to ensure F is NOT used (special for root) #define POS_VEC(a) (((a)>>24) & 0x0F) // only 15 possible positions #endif #define POSVEC_VEC(a,b) ((a)<<24 | (b)) #define VEC_VEC(a) ((a) & 0x00FFFFFF) #define IS_ROOT(a) (((a) &0xFFFFFF) == 0xFFFFFF) #define SET_ROOT(a) ((a) |= 0xFFFFFF) /* ---------- Aux classes------------------------*/ #define SVSetNodePtr UINT // just to pack these into 24 bytes or less #define vecnumber SVSetNodeData[0] #define children__ SVSetNodeData[1] #define numchildren__ SVSetNodeData[2] #ifndef SMALL_DIM #define parent__ SVSetNodeData[3] #else #define parent__ SVSetNodeData[2] #endif class support_vector { public: unsigned int label; dVec vec; real funvalue; // create a support vector from x and val void SVForm(dVec& x, real val); // create a support vector from x and val (different syntaxix) void SVForm(real* x, real val); // same as above, byt x and val are already stored in vec and funvalue void SVForm(int Label); // increment funvalue by meps to break the ties. void Increment(); // update the components if the function value changes short int ChangeF(real newval); // returns 1 if old value < newval // returns the coordinates of the point x void ReturnX(dVec& x); support_vector* This() {return this;}; }; // to store the list of support vectors typedef deque SVDeque; // One local minimum of function H -- as a node of the tree class SVSetNode { public: #ifdef SMALL_DIM UINT SVSetNodeData[2]; // packs children and parent 8 bytes only!!! #else UINT SVSetNodeData[3]; // packs children and parent #endif float Dval; // value of the max of vertices, use float to save space // real Dval; // end data members-------------------- SVSetNode(); // constructor, assigns NULL to pointers ~SVSetNode(); void Init(); SVSetNode* This() {return this;} int IsValid(); SVSetNodePtr GetParent() ; // how many children this node has #ifdef SMALL_DIM int GetNumChildren() { UINT a=POS_NUMCHLF(vecnumber); if((a - 15) <= 0) return -1; else return a; }; void SetNumChildren(int ncld) { if(ncld==-1) vecnumber|=0xF0000000; else { vecnumber &= 0x0FFFFFFF; vecnumber |= (ncld) << 28; }}; #else inline int GetNumChildren() {if(numchildren__ < 0xFFFFFFFF) return numchildren__; else return -1; }; inline void SetNumChildren(int ncld) {if(ncld<0) numchildren__=0xFFFFFFFF; else numchildren__ = ncld; }; #endif // attaches a child "node" to this, at position pos void AddChild(SVSetNodePtr thisnode, SVSetNodePtr node, int pos); // deletes all children. Used to clear memory when destroying the tree void Clear(); // removes just the reference to the child, not destroys the child void RemoveChild(SVSetNodePtr child, int pos);// { children[pos]=NULL; } // these two methods test cond (2) for SVector v // the first version is to test nodes other than root (index is not important) // the second version is to test root, in which case index should be the // list of indices of SV comprising this node // returns 0 if passed, 1 if failed (dominance), 2 if nonstrict dominance, and 3 if below best function value, int TestVector(dVec& v, siVec* index); int TestVectorIndex(dVec& v, siVec* index); int TestVectorIndexQ(dVec& v, siVec* index); int TestVectorQ(dVec& v, siVec* index); // for the root node generates the indices of SVectors. for ROOT returns 1,2,3,,,.n // otherwise returns the acural indices, stored in VectorPos void GenerateInitVector(siVec* initvec, SVSetNodePtr thisnode); // tests cond (1) with SV at position pos. Assumes that the parent // satisfies this condition, and hence tests only column pos // index contains the actual SV indices. Also returns the olddiag, the value // of the element on diagonal to be replaced. It will be used in updating DVal int TryNewVectorIndex(support_vector* SV, int pos, siVec* index, real &olddiag); void CopyTo(SVSetNode* copy); // computes the maximum of funvalues of the participating support vectors real ComputeMaximumF(siVec* index); // computes the value of the local minimum real ComputeFunValue(dVec& X, siVec* index); }; /*----------------------------------------------------------------------------- This class implements a tree (rather forest). Leaves are the local minima of saw-tooth cover. There are 2 types of methods, the routine insert/delete and problem-specific queries see documentation about the methods used The root keeps its participating support vectors in full ------------------------------------------------------------------------*/ struct HeadStruc { SVSetNodePtr Head; siVec* p_index; }; class Forest { public: int size, sizevirtual, sizemem; // aux. members for testing int sizepacked; siVec m_initvec, m_index, temp_index; // just not to create it in all functions // provide temp. storage passed to through pointer support_vector SVT; deque Heads; // here we keep the roots of the trees SVSetNodePtr m_TempChildren; int Initiated; // flag to indicate the forest has a root indexset m_indexset; public: // constructor Forest() {Initiated=0; m_indexset.clear();}; void Init(); // to create Heap and aux. storage // destructor void EraseAll(); // Routine methods int GetSizeMem() {return sizemem; }; // returns the size of the forest int GetSize() {return size; }; // returns the size of the forest size_t SizeRoot() {return Heads.size();}; // how many roots size_t Size() {return (SizeRoot() <<24); }; //not used int ComputeSize(SVSetNodePtr node); // size of this branch int ComputeSize(SVSetNodePtr node, int not_this_child); // same but excluding this child's branch void AddRootNode( SVSetNodePtr node); // starter: called in InitPopulate void AddTree(SVSetNodePtr root); // add a branch siVec* GetVecAddress() {return &m_initvec;}; // provides working memory void AddLeaf(SVSetNodePtr node); // called recursively to find the leafs and insert into the heap private: void ClearBranch(SVSetNodePtr branch); //like EraseBranch, but not removed from heap public: void EraseBranch(SVSetNodePtr branch, int processparent=-1); void EraseRootEntry(SVSetNodePtr branch); // like erase branch, but processes roots // these are problem-specifis methods private: // called internally from ProcessAll. This is the working horse // given new SV, and the root index vector *initvec (calculated before the first call) // returns 1 if test (2) fails (needs to split this node). If there are children, // processes them recursively // returns 0 if not affected by SV. In this case processing stops (children not processed) int ProcessNode(SVSetNodePtr node, support_vector* SV, siVec* initvec); public: // called outside. Starts at roots and processes all trees in the forest. Splits // and updates the tree automatically void ProcessAll(support_vector* SV); // as above, by the SV changes dynamically void ProcessAllDyn(support_vector* SV); int ProcessNodeDyn(SVSetNodePtr node, support_vector* SV, siVec* initvec); // these methods are to transfer branches between processors // PackBranchStart and UnPackBranchStart should be called for specified branch // void PackBranchStart(SVSetNodePtr branch, char** buffer, int* pos); void UnPackBranchStart(char** buffer, SVSetNodePtr* branch); void PackBranch(SVSetNodePtr branch, char* buffer, int& pos); void UnPackBranch(char* buffer, int& pos, SVSetNodePtr branch); }; liblip-2.0.0/src/interpol.h0000644000175000017500000002224110426015341012476 00000000000000/************************************************************************** begin : April 30 2004 version : 1.0 copyright : (C) 2004 by Gleb Beliakov email : gleb@deakin.edu.au * This file contains declarations of two classes: Interpolant and * * STCInterpolant. STCInterpolant implements the method of multivariate * * interpolation of Lipschitz functions using scattered data * * * Interpolant is a worker class which implements on-sided Lipschitz interpolation of a function (from below), from scattered data. STCInterpolant is the class that implements Lipschitz interpolation which uses upper and lower interpolation. The API interface is provided through STCInterpolant class STCInterpolant performs several functions: Receives the data for interpolation SetData(dim,K,x,y) Constructs the interpolant Construct() or ConstructExplicit() Computes the value of the interpolant Value(x) or ValueExplicit(x) Computes the Lipschitz constant of the data set DetermineLipschitz() Sets the Lipschitz constant SetConstants(LipConst) STCInterpolant works as follows: After the data is received, it computes the slack variables for all data, and constructs the upper and lower interpolants. When Value(x) is needed, it evaluates the upper and lower interpolants, and takes the average. This value is the best approximation to the function f, which it interpolates, in the worst case scenario. There are 2 modes of evaluation: explicit (exhaustive comparison of K support function to compute their maximum or minimum), and "fast" method, which involves building a tree of local minima of the lower saw-tooth cover interpolant (maxima of the upper interpolant). This method takes the logarithmic time of the number of data points, but requires preprocessing, which is exponential in dim. Can be used for small number of variables <6, because otherwise the number of local minimizers is just too big, and explicit method becomes more efficient. The explicit method takes linear time of the number of data points. Example of usage: STCInterpolant MyInt; MyInt.SetData(dim,K,x,y); where dim is dimension, K is the number of data points, x is a matrix containing data abscissae (in rows) y is a vector of function values MyInt.SetConstants(LipConst,dim); MyInt.Construct(); // or ConstructExplicit() double x[dim+1]; x[0]=1; x[1]=3; ... x[dim]=1- sum x[i] (slack variable) r=MyInt.Value(dim+1,x); // computes the value (or ValueExplicit(x)) if necessary, Lipschitz constant can be computed from the data MyInt.DetermineLipschitz(); See documentation about the methods used for further information * * * © Gleb Beliakov, 2004 * * * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * * * * This program is distributed in the hope that it will be useful, but * * WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software Foundation, * * Inc., 59 Temple Place Suite 330, Boston, MA 02111-1307 USA. * ***************************************************************************/ #if !defined(INTERPOL) #define INTERPOL #include "forest.h" #define ERR_BOTH_FAIL 3 #define ERR_LO_FAIL 1 #define ERR_UP_FAIL 2 #define ERR_LIP_LOW 10 #define ERR_WRONG_LIP_LEN 11 /* Interpolant is a worker class, and is not part of API */ class Interpolant { public: SVDeque SVectors; // here support vectors live int LastLabel; // How many support vectors are there int Dim; // problem size +1 (slack variable) int Match; // flag indicating success of a query dVec m_Constants;// here Lipschitz constants live // SVSets live here Forest HeapPossibleMin; // needs to be public, accessed directly by SVSetnode private: // aux staff SVDeque::iterator iter; SVDeque::iterator t_iter; // just iterators real C_minus; dVec temp_x; siVec m_lastindex, m_TempSiVec; int iteration, Iters; siVec m_index, m_initvec; // the index of SVs support_vector m_sv; indexset *m_indexset; // the result of a query is returned here: the subset of s.functions // to compute fValue indexsetiter m_indexiter; // iterator public: Interpolant(); virtual ~Interpolant(); void FreeMem(); void Init(int dim); // sets Lipschitz constant of the function void SetConstants(dVec& newconst); // sets Lipschitz constant of the function (allows for different values for different coordinates void SetConstants(real newconst, int dim); // create a vector, the last one *= sqrt(n-1) // computes the value of the interpolant virtual real FValueL(real* x); // "fast" method for a small number of variables <6 virtual real FValueExplicit(real* x); // just exhaustive search // construct the interpolant from the data already stored in SVectors virtual void Construct(); // inverts the sign of function values (for the upper interpolation) virtual void ConstructInv(); // as above, but does not construct the tree of local minima, will use explicit function evaluation virtual void ConstructExplicit(); // inverts the sign of function values (for the upper interpolation) virtual void ConstructInvExplicit(); private: // used by the fast method void QueryDyn(real* x); void ComputeCminus(); // processes the data points and created the tree of local minima void InitPopulateBoundaryPoints(); // points at infinity to kick start the algorithm void LoadAdditionalPoints(); }; /******************************************************************* Class STCInterpolant Computes the value of the piecewise linear interpolant to the multivariate scattered data using 2 methods: 1) fast method requiring preprocessing 2) slower direct method (no preprocessing) ********************************************************************/ #if !defined(STCINTERPOLANT) #define STCINTERPOLANT class STCInterpolant { public: int Dim; // dimension +1 (slack variable) private: Interpolant *m_lower, *m_upper; // the upper and lower interpolants real LipschitzConst; // LipschitzConstant of the function real Lo,Up; // lower and upper interpolant values int m_lasterr; double *aux, *Lip1, *Lip2; // to compute Lipschitz constant of the data set double *m_Constants; // here Lipschitz constants live public: STCInterpolant(); ~STCInterpolant(); // currently does nothing // to set the Lipschitz constant of the function void SetConstants(real newconst); void SetConstants(); // use computed lipschitz constants void SetConstants(real newconst, int dim); // internal routine // received the data set of dimension dim, of K data points // test indicates the necessity to test whether all data are different (may be slow) void SetData(int dim, int K, real* x, real* y, int test=0); // the same as above, but uses fortran conventions for storing matrices (in columns) void SetDataColumn(int dim, int K, real* x, real* y, int test=0); // compute from the data set (KxKxdim operations) real DetermineLipschitz(); // construct the interpolant (for small dimension <6) void Construct(); // does not create the ree of local minima, just preproceses support vectors for // subsequent explicit evaluation of the value void ConstructExplicit(); // the member functions below perform the same computation, but use slightly different syntaxis // computes the value of the interpolant, assuming that x already contains the slack variable real Value(dVec& x); // fast evaluation real ValueExplicit(dVec& x); // explicit evaluation, does not require preprocessing // as above, but automatically computes the slack variable real ValueSlack(dVec& x); // fast evaluation real ValueSlackExplicit(dVec& x); // computes the value without using TNT library real Value(int dim, real* x); real ValueExplicit(int dim, real* x); // computes the slack variable and stores it in Lip1 void ComputeSlack(dVec& x); void ComputeSlack(real* x); int LastError() {return m_lasterr;}; // this method is called when the interpolant is no longer needed, but is not automatically destroyed // within the scope of its definition. Since the memory occupied can be fairly large, the user may wish // to free the memory before the destructor does it. No other members can be called subsequently. void FreeMemory(); }; #endif #endif liblip-2.0.0/src/slipint.h0000644000175000017500000005070110430542021012321 00000000000000/************************************************************************** begin : Apr 19 2005 version : 2.0 copyright : (C) 2005 by Gleb Beliakov email : gleb@deakin.edu.au SLipInt.cpp: declaration of the Simple Lipschitz interpolant class. SLipInt class implements the method of Lipschitz interpolation and smoothing. The interpolant is computed as g(x)= 0.5(H_upper(x) + H_lower(x)) with H_upper(x)= min_k (y^k + LipConst d(x,x^k)) H_lower(x)= max_k (y^k - LipConst d(x,x^k)) where the input data is (x^k,y^k), k=1,...npts. This is the best interpolant in the worst case scenario, if the interpolated function is known to be Lipschitz with the Lipschitz constant LipConst. There are no restrictions on the distribution of data x^k in R^dim The enhancements in version 2 include smoothing, monotone approximation, automatic calculation of the Lipschitz constant using sample splitting and cross-validation. See documentation for more details. * * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * * * * This program is distributed in the hope that it will be useful, but * * WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software Foundation, * * Inc., 59 Temple Place Suite 330, Boston, MA 02111-1307 USA. * ***************************************************************************/ #if !defined(SLIPINTERPOL) #define SLIPINTERPOL #include #include #include #include using namespace std; #define DUAL //#define LPSOLVE #ifdef LPSOLVE #include "lp_solve/lp_lib.h" #else extern "C" { // change this line if glpk is installed on your system #include "../include/glpk/glpk.h" //#include } #endif // add procedural interface #ifndef SLIPINTERPOL1 class SLipIntBasic { public: double* LipConst, MaxLipConst; // an array of Lipschitz constants and the largest Lipschitz constant // computed automatically in ComputeLipschitz int *neighbors, *pneighbors; float *GridR, *GridVal; int *GridLim; double* Scaling; int UseOtherBounds; // diagnistics int m_lasterror; int m_number_constraints; double m_minvalue; double OptimalPenalty; SLipIntBasic() { LipConst=0; MaxLipConst=0; Dim=0; NPTS=0; Scaling=0; m_lasterror=0; KeepCVProblem=0; UseOtherBounds=0; Indexsize=IndexsizeComp=ND=0; Index=NULL; IndexComp=NULL; LocalXData=LocalYData=LocalTData=YH=NULL; // pointers type=0; LocalCons=NULL; LocalRegion=NULL; LocalW=NULL; pneighbors=neighbors=NULL; GridR=GridVal=NULL; GridLim=NULL; } ~SLipIntBasic() { free(LipConst); if(Scaling!=NULL) free(Scaling); if(pneighbors!=NULL) free(pneighbors); if(neighbors!=NULL) free(neighbors); if(GridR!=NULL) free(GridR); if(GridVal!=NULL) free(GridVal); if(GridLim!=NULL) free(GridLim); } //************* MUST be implemented in the derived class *********** // Computes the smallest Lipschitz constant, compatible with the data virtual void ComputeLipschitz(int dim, int npts, double* XData, double* YData)=0; virtual double dist(int dim, double* x, double* xk, double* param=NULL) {return 0;}; virtual double dist(int dim, double* x, double* xk, int* Cons, double* param=NULL){return 0;}; // constrained virtual double distLeftRegion(int dim, double* x, double* xk, int* Cons, double* LeftRegion, double* param=NULL){return 0;}; virtual double distRightRegion(int dim, double* x, double* xk, int* Cons, double* RightRegion, double* param=NULL){return 0;}; virtual double distAll(int dim, int type, double* x, double* xk, int* Cons, double* LeftRegion, double* param=NULL) {return 0;}; //************* MUST be implemented in the derived class *********** // entry points // type: 0 - usual interpolation, 1-constrained, 2- constrained Left , 3 - constrained right region void ComputeLipschitzSplit(int dim, int npts, double* XData, double* YData, double* TData, double ratio=0.5, int type=0, int* Cons=NULL, double* Region=NULL, double *W=NULL); void ComputeLipschitzCV(int dim, int npts, double* XData, double* YData, double* TData, int type=0, int* Cons=NULL, double* Region=NULL, double *W=NULL); // Computes the local Lipschitz constants in any norm, compatible with the data void ComputeLocalLipschitz(int dim, int npts, double* XData, double* YData); void ComputeLocalLipschitzCons(int dim, int npts, int _type, int* Cons, double* XData, double* YData, double* Region=NULL); // Returns the value of the interpolant double Value(int dim, int npts, double* x, double* XData, double* YData, double LipConst, int* index=NULL); // Returns the value of the interpolant, with the Lipschitz constant // computed from the data. Can be used after ComputeLipschitz double Value(int dim, int npts, double* x, double* XData, double* YData, int* index=NULL); // Returns the value of the interpolant, with the local Lipschitz constants // computed from the data. Can be used after ComputeLocalLipschitz double ValueLocal(int dim, int npts, double* x, double* XData, double* YData); int FindVoronoi(int dim, int npts, double* x, double* XData, double &d); int ComputeScaling(int dim, int npts, double* XData, double* YData); // *** methods below refer to Monotone interpolation ** // returns 1 if x >> y wrt Cons int Dominates(int dim, double* x, double * y, int* Cons); // Returns the value of the monotone interpolant double ValueCons(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double LipConst, int* index=NULL); // Returns the value of the monotone interpolant, with the Lipschitz constant // computed from the data. Can be used after ComputeLipschitz double ValueCons(int dim, int npts, int* Cons, double* x, double* XData, double* YData); // Returns the value of the interpolant , assuming it is monotone for x<< LeftRegion double ValueConsLeftRegion(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double LipConst, double* LeftRegion, int* index=NULL); // Returns the value of the interpolant in l_2 norm, assuming it is monotone for x>> RightRegion double ValueConsRightRegion(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double LipConst, double* RightRegion, int* index=NULL); // Returns the value of the monotone interpolant, with the local Lipschitz constants // computed from the data. Can be used after ComputeLocalLipschitz double ValueLocalCons(int dim, int npts, int* Cons, double* x, double* XData, double* YData); // same but monotonicity is for x<< LeftRegion or x>>RightRegion double ValueLocalConsLeftRegion(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double* Region); double ValueLocalConsRightRegion(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double* Region); // Verifies the data is monotone wrt specified variables int VerifyMonotonicity(int dim, int npts, int* Cons, double* XData, double* YData, double LC=10e20, double eps=1e-7); // Verifies the data is monotone wrt specified variables in the region On x<< LeftBoundary int VerifyMonotonicityLeftRegion (int dim, int npts, int* Cons, double* XData, double* YData, double* LeftRegion, double LC=10e20,double eps=1e-7); // Verifies the data is monotone wrt specified variables in the region On x >> Rightboundary int VerifyMonotonicityRightRegion (int dim, int npts, int* Cons, double* XData, double* YData, double* RightRegion, double LC=10e20,double eps=1e-7); // the working horses double ValueLocal2Consinternal(int dim, int npts, int* Cons, double* x, double* XData, double* YData, int reg, double* Region); void SmoothLipschitz2internal(int dim, int npts, double* XData, double* YData, double* TData, int LCf, int Wf,int Cf, double* LC, double* W, int* Cons, int region=0, double* Region=NULL, int* index=NULL); void SmoothLipschitz2internalUpdate(int dim, int npts, double* XData, double* YData, double* TData, int LCf, int Wf,int Cf, double* LC, double* W, int* Cons, int region=0, double* Region=NULL, int* index=NULL); // Assumes the data in XData are stored columnwise, as in Fortran. // Used for compatibility of this library with other packages, e.g.,Matlab, R, which // may use column format. void ConvertXData(int dim, int npts, double* XData); void ConvertXData(int dim, int npts, double* XData, double* auxStorage); // implement the methods for sample splitting and CV. used internally virtual int ComputeSmoothenedSplit(); virtual int ComputeLipschitzFinal(); virtual int ComputeFitLipschitzCV(int excluded); virtual double ExtraUpperBound(int dim, double* x, double * param) {return 10e20;}; // derived classes may overwrite these virtual double ExtraLowerBound(int dim, double* x, double * param) {return -10e20;}; virtual double Fun(double x); // for golden section algorithm double MinFuncSplit(double x); double MinFuncCV(double x); double MinFuncLocalSplit(double x); virtual double value(int dim, int npts, double* x, double* XData, double* YData, double LipConst, int* index=NULL, int type=0, int* Cons=NULL, double* Region=NULL ); // various parameters // interpretation depends on the derived class. In this class: // type: 0 - usual interpolation, 1-constrained, 2- constrained Left , 3 - constrained right region double valuelocal(int dim, int npts, double* x, double* XData, double* YData, int type, int* Cons, double* Region); // called internally double ComputeFitIndexCV(); double ComputeFitIndex(); void PrepareLipschitzSplit(double SplitP); void PrepareLipschitzCV(); double golden(double A, double B); int BinSearch(double r, float* Arr, int le, int ri); //these are private, but need to be inherited, so declared as public double M; // temp value of the LipConst double g1,g2,d1,d2,d3; int i,j,i1; int Dim,NPTS; int TotalNeighbors; // these vars are for the cross-validation/ sample splitting int Indexsize,IndexsizeComp,ND; int *Index, *IndexComp; double *LocalXData, *LocalYData, *LocalTData; // pointers double *YH; // parameters to be passed to value() method and other CV and splitting routines int type; int *LocalCons; double *LocalRegion, *LocalW; double *AuxXData; int TypeLipEstimate; //0 sample splitting, 1 CV int KeepCVProblem; // double Gamma; #ifdef LPSOLVE lprec *MyLP; #else LPX *MyLP; #endif }; class SLipInt:public SLipIntBasic { public: // In the methods below, XData contain the abscissae of data points x^k (arranged // in rows (C-convention)) and YData contain y^k. x is the point at which g(x) is needed. // Computes the smallest Lipschitz constant in l_2 norm, compatible with the data virtual void ComputeLipschitz(int dim, int npts, double* XData, double* YData); // Methods below refer to Lipschitz smoothing ************************** // Smooth the data subject to given Lipschitz constant in Euclidean norm void SmoothLipschitz(int dim, int npts, double* XData, double* YData, double* TData, double LC); // Smooth the data subject to given Lipschitz constant in Euclidean norm, subject to weightings void SmoothLipschitzW(int dim, int npts, double* XData, double* YData, double* TData, double LC, double* W); // same, subject to monotonicity constraints void SmoothLipschitzCons(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double LC); void SmoothLipschitzWCons(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double LC, double* W); void SmoothLipschitzConsLeftRegion(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double LC, double* LeftRegion); void SmoothLipschitzConsRightRegion(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double LC, double* RightRegion); void SmoothLipschitzWConsLeftRegion(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double LC, double* W, double* LeftRegion); void SmoothLipschitzWConsRightRegion(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double LC, double* W, double* RightRegion); virtual double dist(int dim, double* x, double* xk, double* param=NULL); virtual double dist(int dim, double* x, double* xk, int* Cons, double* param=NULL); // constrained virtual double distLeftRegion(int dim, double* x, double* xk, int* Cons, double* LeftRegion, double* param=NULL); virtual double distRightRegion(int dim, double* x, double* xk, int* Cons, double* RightRegion, double* param=NULL); virtual double distInf1(int dim, double* x, double* xk, int* dir); virtual double distAll(int dim, int type, double* x, double* xk, int* Cons, double* LeftRegion, double* param=NULL); private: // Computes the smallest Lipschitz constant in l_inf norm, compatible with the data, used internally for scaling void ComputeLipschitzInf(int dim, int npts, double* XData, double* YData); }; // Same as SLipInt, but uses l_infty rather than Euclidean norm class SLipIntInf:public SLipIntBasic { public: // In the methods below, XData contain the abscissae of data points x^k (arranged // in rows (C-convention)) and YData contain y^k. x is the point at which g(x) is needed. // Computes the smallest Lipschitz constant in l_inf norm, compatible with the data virtual void ComputeLipschitz(int dim, int npts, double* XData, double* YData); // Same, but uses an array of Lipschitz constants wrt each variable double ValueDir(int dim, int npts, double* x, double* XData, double* YData, double* LipConst, int* index=NULL); // Returns the value of the interpolant, with the Lipschitz constant // computed from the data. Can be used after ComputeLipschitz double ValueDir(int dim, int npts, double* x, double* XData, double* YData); // Returns the value of the interpolant , with the Lipschitz constant // computed from the data. Can be used after ComputeLipschitz double ValueConsDir(int dim, int npts, int* Cons, double* x, double* XData, double* YData); // Methods below refer to Lipschitz smoothing // Smooth the data subject to given Lipschitz constant in l-infy norm void SmoothLipschitz(int dim, int npts, double* XData, double* YData, double* TData, double LC); // Smooth the data subject to given Lipschitz constant in l-infy norm, subject to weightings void SmoothLipschitzW(int dim, int npts, double* XData, double* YData, double* TData, double LC, double* W); // same, subject to monotonicity constraints void SmoothLipschitzCons(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double LC); void SmoothLipschitzWCons(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double LC, double* W); // Same in simplicial distance void SmoothLipschitzSimp(int dim, int npts, double* XData, double* YData, double* TData, double LC); // Same in simplicial distance, subject to weightings void SmoothLipschitzSimpW(int dim, int npts, double* XData, double* YData, double* TData, double LC, double* W); virtual double dist(int dim, double* x, double* xk, double* param=NULL); virtual double dist(int dim, double* x, double* xk, int* Cons, double* param=NULL); // constrained virtual double distLeftRegion(int dim, double* x, double* xk, int* Cons, double* LeftRegion, double* param=NULL); virtual double distRightRegion(int dim, double* x, double* xk, int* Cons, double* RightRegion, double* param=NULL); virtual double distDir(int dim, double* x, double* xk, int* dir); // if we need the direction (just the coord) virtual double distInfDir(int dim, double* x, double* xk, int* dir); // if we need the direction + left/right virtual double distSimp(int dim, double* x, double* xk, int* dir); virtual double distAll(int dim, int type, double* x, double* xk, int* Cons, double* LeftRegion, double* param=NULL); virtual int ComputeSmoothenedSplit(); virtual int ComputeLipschitzFinal(); virtual int ComputeFitLipschitzCV(int excluded); private: // the working horses void SmoothLipschitzInfinternal(int dim, int npts, double* XData, double* YData, double* TData, int LCf, int Wf, double* LC, double* W, int* index=NULL); void SmoothLipschitzSimpinternal(int dim, int npts, double* XData, double* YData, double* TData, int Wf, double LC, double* W, int* index=NULL); }; class SLipIntLp:public SLipInt { public: double m_P, m_P1; SLipIntLp(): SLipInt() { m_P=m_P1=1;} void SetP(double p) {m_P=p; if(m_P<= 1.001) m_P=1.0; m_P1=1.0/m_P; }; double GetP() {return m_P;}; virtual double dist(int dim, double* x, double* xk, double* param=NULL); virtual double dist(int dim, double* x, double* xk, int* Cons, double* param=NULL); // constrained virtual double distLeftRegion(int dim, double* x, double* xk, int* Cons, double* LeftRegion, double* param=NULL); virtual double distRightRegion(int dim, double* x, double* xk, int* Cons, double* RightRegion, double* param=NULL); virtual double distAll(int dim, int type, double* x, double* xk, int* Cons, double* LeftRegion, double* param=NULL); }; // not documented // a classifier based on Lipschitz interpolation class SLipClass: public SLipInt { public: double Penalty, SmoothingParam; SLipClass(): SLipInt() { SmoothingParam=0; Penalty=1; } // Returns the value of the Classifier int ValueClass(int dim, int npts, double* x, double* XData, double* YData, double LipConst); int ValueConsClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double LipConst); int ValueConsLeftRegionClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double LipConst, double* LeftRegion); int ValueConsRightRegionClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double LipConst, double* RightRegion); int ValueLocalClass(int dim, int npts, double* x, double* XData, double* YData); int ValueLocalConsClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData); int ValueLocalConsLeftRegionClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double* LeftRegion); int ValueLocalConsRightRegionClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double* RightRegion); // performs large margin classifier smoothing of the data void SmoothLipschitzClass(int dim, int npts, double* XData, double* YData, double* TData, double *LC); void SmoothLipschitzWClass(int dim, int npts, double* XData, double* YData, double* TData, double *LC, double* W); void SmoothLipschitzConsClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC); void SmoothLipschitzWConsClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC, double* W); void SmoothLipschitzConsLeftRegionClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC, double* LeftRegion); void SmoothLipschitzConsRightRegionClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC, double* RightRegion); void SmoothLipschitzWConsLeftRegionClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC, double* W, double* LeftRegion); void SmoothLipschitzWConsRightRegionClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC, double* W, double* RightRegion); // the working horse void SmoothLipschitz2Classinternal(int dim, int npts, double* XData, double* YData, double* TData, int LCf, int Wf,int Cf, double* LC, double* W, int* Cons, int region=0, double* Region=NULL, int* index=NULL); }; #endif #endif /* #if defined(__cplusplus) extern "C" { #endif #include #include #include #include #include #include #include #include #if defined(__cplusplus) } #endif */ liblip-2.0.0/src/liblip.h0000644000175000017500000001534110426015341012120 00000000000000/************************************************************************** Procedural intervace to the methods of Lipschitz interpolant classes ***************************************************************************/ #ifdef __cplusplus extern "C" { #endif //#define NULL 0 /* interface to the members of SLipInt class ===================== */ double LipIntValue(int* Dim, int* Ndata, double* x, double* Xd,double* y, double* Lipconst, int* Index); double LipIntValueAuto(int* Dim, int* Ndata, double* x,double* Xd, double* y, int* Index); double LipIntValueCons(int* Dim, int* Ndata, int* Cons, double* x, double* Xd,double* y, double* Lipconst, int* Index); double LipIntValueConsLeftRegion(int* Dim, int* Ndata, int* Cons, double* x, double* Xd,double* y, double* Lipconst, double* Region, int* Index); double LipIntValueConsRightRegion(int* Dim, int* Ndata, int* Cons, double* x, double* Xd,double* y, double* Lipconst, double* Region, int* Index); double LipIntValueLocal(int *Dim, int *Ndata, double* x, double* Xd,double* y); double LipIntValueLocalCons(int *Dim, int *Ndata,int* Cons, double* x, double* Xd,double* y); double LipIntValueLocalConsLeftRegion(int *Dim, int *Ndata,int* Cons, double* x, double* Xd,double* y, double* Region); double LipIntValueLocalConsRightRegion(int *Dim, int *Ndata,int* Cons, double* x, double* Xd,double* y, double* Region); void LipIntComputeLipschitz(int *Dim, int *Ndata, double* x, double* y); void LipIntComputeLocalLipschitz(int *Dim, int *Ndata, double* x, double* y); void LipIntComputeLipschitzCV(int *Dim, int *Ndata, double* Xd, double* y, double* T, int* type, int* Cons, double* Region, double *W); void LipIntComputeLipschitzSplit(int *Dim, int *Ndata, double* Xd, double* y, double* T, double* ratio, int* type, int* Cons, double* Region, double *W); void LipIntSmoothLipschitz(int *Dim, int *Ndata, double* Xd, double* y, double* T, double* LC, int* fW, int* fC, int* fR, double* W, int* Cons, double* Region); // fR is 0, 1-left, 2-right void LipIntSetGamma(double* g); double LipIntGetLipConst() ; void LipIntGetScaling(double *S) ; int LipIntComputeScaling(int *Dim, int *Ndata, double* XData, double* YData); void ConvertXData(int *Dim, int* npts, double* XData); void ConvertXDataAux(int *Dim, int* npts, double* XData, double *auxdata); int LipIntVerifyMonotonicity(int *Dim, int* npts, int* Cons, double* XData, double* YData, double* LC, double* eps); int LipIntVerifyMonotonicityLeftRegion(int *Dim, int* npts, int* Cons, double* XData, double* YData, double* Region, double* LC, double* eps); int LipIntVerifyMonotonicityRightRegion(int *Dim, int* npts, int* Cons, double* XData, double* YData, double* Region, double* LC, double* eps); /* interface to the members of SLipIntInf class ====================================== */ double LipIntInfValue(int *Dim, int *Ndata, double* x, double* Xd,double* y, double* Lipconst, int* Index); double LipIntInfValueAuto(int *Dim, int *Ndata, double* x,double* Xd, double* y, int* Index); double LipIntInfValueCons(int *Dim, int *Ndata, int* Cons, double* x, double* Xd,double* y, double Lipconst, int* Index); double LipIntInfValueConsLeftRegion(int *Dim, int *Ndata, int* Cons, double* x, double* Xd,double* y, double* Lipconst, double* Region, int* Index); double LipIntInfValueConsRightRegion(int *Dim, int *Ndata, int* Cons, double* x, double* Xd,double* y, double* Lipconst, double* Region, int* Index); double LipIntInfValueLocal(int *Dim, int *Ndata, double* x, double* Xd,double* y); double LipIntInfValueLocalCons(int *Dim, int *Ndata,int* Cons, double* x, double* Xd,double* y); double LipIntInfValueLocalConsLeftRegion(int *Dim, int *Ndata,int* Cons, double* x, double* Xd,double* y, double* Region); double LipIntInfValueLocalConsRightRegion(int *Dim, int *Ndata,int* Cons, double* x, double* Xd,double* y, double* Region); void LipIntInfComputeLipschitz(int *Dim, int *Ndata, double* x, double* y); void LipIntInfComputeLocalLipschitz(int *Dim, int *Ndata, double* x, double* y); void LipIntInfComputeLipschitzCV(int *Dim, int *Ndata, double* Xd, double* y, double* T, int* type, int* Cons, double* Region, double *W); void LipIntInfComputeLipschitzSplit(int *Dim, int *Ndata, double* Xd, double* y, double* T, double* ratio, int* type, int* Cons, double* Region, double *W); void LipIntInfSmoothLipschitz(int *Dim, int *Ndata, double* Xd, double* y, double* T, double* LC, int* fW, int* fC, int* fR, double* W, int* Cons, double* Region); // fR is 0, 1-left, 2-right double LipIntInfGetLipConst() ; void LipIntInfGetScaling(double *S) ; int LipIntInfComputeScaling(int *Dim, int *Ndata, double* XData, double* YData); int LipIntInfVerifyMonotonicity(int *Dim, int* npts, int* Cons, double* XData, double* YData, double LC, double ep); int LipIntInfVerifyMonotonicityLeftRegion(int *Dim, int npts, int* Cons, double* XData, double* YData, double* Region, double* LC, double* eps); int LipIntInfVerifyMonotonicityRightRegion(int *Dim, int npts, int* Cons, double* XData, double* YData, double* Region, double* LC, double* eps); void LipIntInfSmoothLipschitzSimp(int *Dim, int* npts, double* XData, double* YData, double* TData, double* LC); void LipIntInfSmoothLipschitzSimpW(int *Dim, int* npts, double* XData, double* YData, double* TData, double* LC, double* W); /* interface to the members of STCInterpolant class ====================================== */ // supplies the data to Interpolant and constructs the interpolant // assuming a given Lipschitz constant, supplied by SetLipschitz // if LipConstant was not supplied, tries to find it from the data // assumes that all data are different. int STCBuildLipInterpolant(int *Dim, int *Ndata, double* x, double* y); // as above, but for explicit evaluation, needs no preprocessing, but may be slower int STCBuildLipInterpolantExplicit(int *Dim, int *Ndata, double* x, double* y); // in the methods above, the coordinates of the data points in x are stored in rows // the following methods store data in columns (like in fortran or Matlab) // they use the transposed of the matrix x int STCBuildLipInterpolantColumn(int *Dim, int *Ndata, double* x, double* y); // as above, but for explicit evaluation, needs no preprocessing, but may be slower int STCBuildLipInterpolantExplicitColumn(int *Dim, int *Ndata, double* x, double* y); // specify the Lipschitz constant for your function void STCSetLipschitz(double* x); // computes the value of the interpolant at any given point x double STCValue( double* x ); // same but using explicit evaluation with no preprocessing double STCValueExplicit( double* x ); void STCFreeMemory(); #ifdef __cplusplus } #endif liblip-2.0.0/src/liblipc.h0000644000175000017500000000060110426015341012254 00000000000000/************************************************************************** Computes the value of the piecewise linear interpolant to the multivariate scattered data ********************************************************************/ #if !defined(LIPNTERPOLANT) #define LIPNTERPOLANT #include #include #include "slipint.h" #include "interpol.h" #endif liblip-2.0.0/src/Makefile.am0000644000175000017500000000054410426532412012532 00000000000000lib_LTLIBRARIES = liblip.la liblip_la_SOURCES = forest.cpp interpol.cpp slipint.cpp liblip.cpp liblipc.h forest.h interpol.h memblock.h slipint.h liblip.h liblip_la_LDFLAGS = -version-info 2:0:0 AM_CXXFLAGS = -Wno-deprecated liblip_la_LIBADD= -lm liblip_la_CC = g++ nobase_include_HEADERS = memblock.h forest.h interpol.h slipint.h liblip.h liblipc.h liblip-2.0.0/src/Makefile.in0000644000175000017500000003744710430540454012557 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in 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. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = src DIST_COMMON = $(nobase_include_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) liblip_la_DEPENDENCIES = am_liblip_la_OBJECTS = forest.lo interpol.lo slipint.lo liblip.lo liblip_la_OBJECTS = $(am_liblip_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(liblip_la_SOURCES) DIST_SOURCES = $(liblip_la_SOURCES) nobase_includeHEADERS_INSTALL = $(install_sh_DATA) HEADERS = $(nobase_include_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBTOOL_DEPS = @LIBTOOL_DEPS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ lib_LTLIBRARIES = liblip.la liblip_la_SOURCES = forest.cpp interpol.cpp slipint.cpp liblip.cpp liblipc.h forest.h interpol.h memblock.h slipint.h liblip.h liblip_la_LDFLAGS = -version-info 2:0:0 AM_CXXFLAGS = -Wno-deprecated liblip_la_LIBADD = -lm liblip_la_CC = g++ nobase_include_HEADERS = memblock.h forest.h interpol.h slipint.h liblip.h liblipc.h all: all-am .SUFFIXES: .SUFFIXES: .cpp .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done liblip.la: $(liblip_la_OBJECTS) $(liblip_la_DEPENDENCIES) $(CXXLINK) -rpath $(libdir) $(liblip_la_LDFLAGS) $(liblip_la_OBJECTS) $(liblip_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/forest.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/interpol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblip.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/slipint.Plo@am__quote@ .cpp.o: @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cpp.obj: @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cpp.lo: @am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-nobase_includeHEADERS: $(nobase_include_HEADERS) @$(NORMAL_INSTALL) test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)" @$(am__vpath_adj_setup) \ list='$(nobase_include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ $(am__vpath_adj) \ echo " $(nobase_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ $(nobase_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ done uninstall-nobase_includeHEADERS: @$(NORMAL_UNINSTALL) @$(am__vpath_adj_setup) \ list='$(nobase_include_HEADERS)'; for p in $$list; do \ $(am__vpath_adj) \ echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ rm -f "$(DESTDIR)$(includedir)/$$f"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-nobase_includeHEADERS install-exec-am: install-libLTLIBRARIES install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \ uninstall-nobase_includeHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am \ install-libLTLIBRARIES install-man \ install-nobase_includeHEADERS install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-info-am \ uninstall-libLTLIBRARIES uninstall-nobase_includeHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: liblip-2.0.0/src/forest.cpp0000644000175000017500000004755310426015341012514 00000000000000/************************************************************************** begin : June 30 2004 version : 2.0 copyright : (C) 2004 by Gleb Beliakov email : gleb@deakin.edu.au * This file contains implementation of support_vector, SVSetNode and * * Forest. * * * * support_vector is a vector, label and a value, as used in the * * cutting angle method. * * SVSetNode represents a combination of n support vectors * * when organiser in a tree (ie it's a tree node) * * Forest is a set of trees of SVSetNodes * * Forest takes care of maintaining the tree structures, in which parent nodes have references to children nodes, and allows queries starting from the root(s) SVSetNode allows to perform certain tests on nodes and does some housekeeping These classes are not to be used directly but from within Interpolant class. These are workers which perform all computations required by Interpolant. See documentation about the methods used for further information * * * © Gleb Beliakov, 2004 * * * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * * * * This program is distributed in the hope that it will be useful, but * * WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software Foundation, * * Inc., 59 Temple Place Suite 330, Boston, MA 02111-1307 USA. * ***************************************************************************/ #include "interpol.h" extern Interpolant* Parent; // points to the parent Interpolant class extern MemoryBlock MBSV; // memory pool for SVSetNodes // some static global variables int GlobPos; SVSetNodePtr newnode; real olddiag; SVSetNode *Newnode,*tempnode; int AtLeastOneFound; // global (not in recursion) int Globvecnumber_; real Meps=1.0e-5; #define IS_VALID_PTR(a) ((a)!=NULL && (a) !=0xFFFFFFFF) void CopyNode(SVSetNode* source , SVSetNode* dest) { memcpy(dest, source, sizeof(SVSetNode)); } clock_t clockS,clockF; double TotalTime; void ResetTime() {TotalTime=0; clockS=clock();} double ElapsedTime() { clockF=clock(); double duration=(double)(clockF - clockS) / CLOCKS_PER_SEC; TotalTime += duration; clockS=clockF; return TotalTime; } /************** support_vector ********************************************/ void support_vector::SVForm(dVec& x, real val) // forms the support vector from x and value { vec.newsize(x.size()); funvalue=val; for(int i=0;im_Constants[i] - x[i]; } void support_vector::SVForm(real* x, real val) // forms the support vector from x and value { vec.newsize(Parent->Dim); funvalue=val; for(int i=0;im_Constants[i] - x[i]; } void support_vector::SVForm(int Label) { label=Label; for(int i=0;im_Constants[i] - vec[i]; } void support_vector::Increment() { ChangeF(funvalue + max_(funvalue,1)*Meps); } short int support_vector::ChangeF(real newval) { short int i; for( i=0;im_Constants[i]; i= (newval>=funvalue); funvalue=newval; return i; } void support_vector::ReturnX(dVec& x) { for(int i=0;im_Constants[i] - vec[i]; } /************** svsetnode ********************************************/ SVSetNode::SVSetNode() { Init(); } void SVSetNode::Init() { children__=MB_BADINDEX; vecnumber=MB_BADINDEX; Dval=(float) -Infinity; // for triangulation test } SVSetNode::~SVSetNode() { } void SVSetNode::CopyTo(SVSetNode* copy) { copy->Dval=Dval; copy->vecnumber= vecnumber; } void SVSetNode::Clear() { int i; if(!IsValid()) return; if(children__ != MB_BADINDEX) for(i=0;i< GetNumChildren();i++) MBSV.FreeBlock(children__ + i); // may be process all children for killers? ?????? children__=MB_BADINDEX; // shall we care? } void SVSetNode::RemoveChild(SVSetNodePtr child, int pos) { SVSetNode* n=MBSV.GetAt(children__ + pos); n->Clear(); } inline int SVSetNode::IsValid() { // if(POS_VEC(vecnumber) != 0xFF) return 1; else return 0; return 1; } inline SVSetNodePtr SVSetNode::GetParent() { return 0; } int SVSetNode::TestVectorIndex(dVec& v, siVec* index) { int i,flag=0; real u; // make them global? if(index==NULL) for(i=0; iSVectors[ i ].vec[i] - v[i]; if( u > 0) {return 0;} if(u==0) { flag +=1; } } else for(i=0; iSVectors[ (*index)[i] ].vec[i] - v[i]; if( u > 0) {return 0;} if(u==0) { flag+=1; // indicates nonstrict dominance } } if(flag==1) return 2; // nonstrict dominance, test not failed but an extra minimum (copy) is needed else return 1; // strict dominance, test failed } int SVSetNode::TestVector(dVec& v, siVec* index) { real u; int pos = POS_VEC(vecnumber); int vecnumber_ = VEC_VEC(vecnumber); if(IS_ROOT(vecnumber)) { // root, use index explicitly return TestVectorIndex(v,index); } else { // test only one diagonal element, assumes parent has passed the test u = Parent->SVectors[ vecnumber_ ].vec[pos] - v[pos]; if( u > 0) { return 0;} if( u == 0) { return 2; } // nonstrict dominance return 1; // strict dominance } // return 1; //should not get here } // as above but strict inequality int SVSetNode::TestVectorIndexQ(dVec& v, siVec* index) { int i; for(i=0; iSVectors[ (*index)[i] ].vec[i] > v[i]) {return 0;} } return 1; } int SVSetNode::TestVectorQ(dVec& v, siVec* index) { int pos = POS_VEC(vecnumber); int vecnumber_ = VEC_VEC(vecnumber); if(IS_ROOT(vecnumber)) { // root, use index explicitly return TestVectorIndex(v,index); } else { // test only one diagonal element, assumes parent has passed the test if( Parent->SVectors[ vecnumber_ ].vec[pos] > v[pos]) {return 0;} //<= return 1; } // return 1; //should not get here } //returns 0 if insuccessful, 1 if cond 1 is satisfied int SVSetNode::TryNewVectorIndex(support_vector* SV, int pos, siVec* index, real &olddiag ) { // test of cond (1). Cond (2) supposedly passed. Only one column is tested. // olddiag is returned for another method (to calculate Dval) olddiag= Parent->SVectors[ (*index)[pos]].vec[pos]; // old diagonal real val=SV->vec[pos]; for(int i=0;iDim;i++) { // if diag not smaller than this column, exit 0 if((pos!=i) && (val > Parent->SVectors[ (*index)[i]].vec[pos]) ) return 0; } return 1; } void SVSetNode::GenerateInitVector(siVec* initvec, SVSetNodePtr thisnode) { // this can be called only for one of the roots, to generate its // index set, for subsequent processing of children if(initvec==NULL) return; // will retrieve init vector from the killers list if(IS_ROOT(vecnumber) ) // means root { // attempt to find this root in the list of heads deque::iterator iter; for(iter=Parent->HeapPossibleMin.Heads.begin(); iter!=Parent->HeapPossibleMin.Heads.end(); iter++) if((*iter).Head == thisnode) { (*initvec) = *((*iter).p_index); return; } for(int i=0;iDim; i++) (*initvec)[i]=i; } } // it is possible to keep this value instead of calculating it every time real SVSetNode::ComputeMaximumF(siVec* index) { if(Dval>-Infinity) return Dval; real a=-Infinity; real b=Infinity; real c; for(int i=0;iDim;i++) { c=Parent->SVectors[ (*index)[i]].funvalue; if(ac) b=c; // min } Dval= (float) (a + 0.001 * (a - b + 0.0000001)); // max - min return (double) Dval; } real SVSetNode::ComputeFunValue(dVec& X, siVec* index) { real b,c=0,a=-Infinity; for(int i=0;iDim;i++) { b = Infinity; for(int j=0;jDim;j++){ c= Parent->m_Constants[j] * (Parent->SVectors[ (*index)[i]].vec[j] + X[j]); if(c < b) b = c; if(bDim); temp_index.newsize(Parent->Dim); m_index.newsize(Parent->Dim); SVT.vec.newsize(Parent->Dim); m_TempChildren=MBSV.GetNextFree(Parent->Dim); Initiated=1; }; /* int Forest::ComputeSize(SVSetNodePtr node) { int sz=1; int i; SVSetNode* n=MBSV.GetAt(node); if(n->IsValid()) if( n->children__!=MB_BADINDEX) { for(i=0; iGetNumChildren(); i++) { sz += ComputeSize(n->children__ + i); } } return sz; } int Forest::ComputeSize(SVSetNodePtr node, int not_this_child) { int sz=1; int i; SVSetNode* n=MBSV.GetAt(node); if(n->IsValid()) if( n->children__!=MB_BADINDEX) for(i=0;iGetNumChildren();i++) { if(i!=not_this_child) sz += ComputeSize(n->children__ + i); } return sz; } */ void Forest::AddRootNode( SVSetNodePtr node) { // this method called only once in the initpopulate SVSetNode* n=MBSV.GetAt(node); SET_ROOT(n->vecnumber); n->SetNumChildren(-1); HeadStruc Head; Head.Head=node; Head.p_index = new(siVec); *(Head.p_index) = temp_index; Heads.push_back(Head); size++; } void Forest::AddLeaf(SVSetNodePtr node) { // inserts the leaf into the heap, otherwise calls recursively int i; SVSetNode* n= MBSV.GetAt(node); if(n->GetNumChildren()<=0 /*==MB_BADINDEX*/) // means this is a leaf { size++; // size of tree return; } else { // process children if any for(i=0;iGetNumChildren();i++) { // the child can be empty AddLeaf(n->children__ +i); // where is memory allocation? } size++; } } void Forest::AddTree(SVSetNodePtr root) { if(root==MB_BADINDEX) return; HeadStruc Head; Head.Head=root; Head.p_index = new(siVec); *(Head.p_index) = temp_index; Heads.push_back(Head); // SVSetNode* R= MBSV.GetAt(root); AddLeaf(root); } void Forest::EraseBranch(SVSetNodePtr branch, int processparent) { SVSetNode* Branch= MBSV.GetAt(branch); if(!Branch->IsValid()) return; int i; if(Branch->GetNumChildren()>0/*!=MB_BADINDEX*/) { for(i=0;iGetNumChildren();i++) EraseBranch(Branch->children__ +i); } MBSV.FreeBlock(branch); } void Forest::EraseRootEntry(SVSetNodePtr branch) { // find the root in the list of roots and erase it. deque::iterator iter; for(iter=Heads.begin(); iter!=Heads.end(); iter++) if((*iter).Head == branch) { delete (*iter).p_index; iter=Heads.erase(iter); return; } } void Forest::ClearBranch(SVSetNodePtr branch) { // this method is called from destructor. It differes from EraseBranch in that // the nodes are not deleted from the heap (to save time) SVSetNode* Branch= MBSV.GetAt(branch); if(!Branch->IsValid()) return; int i; if(Branch->GetNumChildren()>0/*!=MB_BADINDEX*/) { for(i=0;iGetNumChildren();i++) ClearBranch(Branch->children__ +i); } // destructor, keeps in the heap invalid reference size--; MBSV.FreeBlock(branch); } void Forest::EraseAll() { deque::iterator iter; if(MBSV.IsValid() ) for(iter=Heads.begin(); iter!=Heads.end(); iter++) { delete (*iter).p_index; ClearBranch((*iter).Head); } // MBCL.ClearAll(); // MBSV.ClearAll(); /**/ Heads.clear(); size=0; Initiated=0; } int Forest::ProcessNode(SVSetNodePtr node, support_vector* SV, siVec* initvec) { // recursive calls SVSetNode* Node=MBSV.GetAt(node); int P,i,numchld; /*------------------- for indices --*/ #ifdef TRIANGULATION1 UINT idx=0; int Globpos; Globpos = POS_VEC(Node->vecnumber); int Globvecnumber_ = VEC_VEC(Node->vecnumber); if(!IS_ROOT(Node->vecnumber) ) { idx = (*initvec)[Globpos]; (*initvec)[Globpos]=Globvecnumber_; // update the svset } #endif /*------------------- for indices --*/ // here I can keep indexvector (starting from the top), so no computevectors is necessary. P=Node->TestVector(SV->vec, initvec); switch(P) { case 2: // remember position to restore after return // Pos=GlobPos; case 1: // dominance, split this node if(Node->GetNumChildren()<0 ) { // means leaf AtLeastOneFound++; if(P==2 ) SV->Increment(); // data not in general position, perturb the data // must be no children__ at this stage // create children__ if any numchld=0; for(i=0;iDim;i++) if(Node->TryNewVectorIndex(SV, i, initvec, olddiag)) { // cond (1) // add new node size++; newnode = m_TempChildren + numchld; numchld++; Newnode = MBSV.GetAt(newnode); Newnode->Init(); Newnode->vecnumber=POSVEC_VEC(i, SV->label); Newnode->SetNumChildren(-1); } Node->SetNumChildren(numchld); Node->children__= MBSV.GetNextFree(numchld); sizemem+=numchld; for(i=0;ichildren__ + i; tempnode= MBSV.GetAt(m_TempChildren + i); Newnode = MBSV.GetAt(newnode); CopyNode(tempnode, Newnode); } } else { // this was a branch, recursively process children for(i=0;iGetNumChildren();i++) { ProcessNode(Node->children__ + i, SV, initvec); // everything is done here } } // on exit undo IDX break; case 0: //test (2) passed // do nothing break; } /*------------------- for indices --*/ #ifdef TRIANGULATION1 if(!IS_ROOT(Node->vecnumber) ) { (*initvec)[Globpos]=idx; } #endif return 0; } void Forest::ProcessAll(support_vector* SV) { deque::iterator iter; SVSetNode *node; AtLeastOneFound=0; for(iter=Heads.begin(); iter!=Heads.end(); iter++) { node=MBSV.GetAt( (*iter).Head ); m_initvec = *((*iter).p_index); // root is not necessarily {1,2,3,...} on multiprocessor system ProcessNode( (*iter).Head, SV, &m_initvec); } if(AtLeastOneFound==0) { Parent->Match=1; // cout << SV->label <<" "<funvalue<vecnumber); int Globvecnumber_ = VEC_VEC(Node->vecnumber); if(!IS_ROOT(Node->vecnumber) ) { idx = (*initvec)[Globpos]; (*initvec)[Globpos]=Globvecnumber_; // update the svset } // need to know index in advance real avr = Node->ComputeMaximumF(initvec); // adapt SV to this node i=SV->ChangeF(avr); // need to do index , as the SV has changed!! if(i) i=Node->TestVectorQ(SV->vec, initvec)==1; else i=Node->TestVectorIndexQ(SV->vec, initvec)==1; if(i) // equivalent to the next line, but may not work on every compiler // if( (i && Node->TestVectorQ(SV->vec, initvec)==1) || (Node->TestVectorIndexQ(SV->vec, initvec)==1) ) // skips full test if avr did not decrease { // dominance, split this node if(Node->GetNumChildren()<0) { // means leaf for(i=0;iDim;i++) m_indexset.insert((*initvec)[i]); } else { // this was a branch, recursively process children for(i=0;iGetNumChildren();i++) { // save index ProcessNodeDyn(Node->children__ + i , SV, initvec); // restore index } } }// do nothing otherwise if(!IS_ROOT(Node->vecnumber) ) { (*initvec)[Globpos]=idx; } return 0; } void Forest::ProcessAllDyn(support_vector* SV) { m_indexset.clear(); if(!Initiated) return; deque::iterator iter; SVSetNode *node; for(iter=Heads.begin(); iter!=Heads.end(); iter++) { node=MBSV.GetAt( (*iter).Head ); m_initvec = *((*iter).p_index); ProcessNodeDyn( (*iter).Head, SV, &m_initvec); } } /*----------------------------------------------------------- Packing routines: to transfer branches between processors Only to be used on multiprocessor system under MPI not finished yet... */ #define CODE_EL 1 #define CODE_EL_ROOT 4 #define CODE_CHILDREN 2 #define CODE_KILLERS 3 #define CODE_INDEX 5 #define CODE_END 6 #define CODE_CONSTRAINED_MIN 7 void Forest::PackBranch(SVSetNodePtr branch, char* buffer, int& pos) { // pack itself int i,j; sizepacked++; SVSetNode* Branch=MBSV.GetAt(branch); buffer[pos++]=CODE_EL; memcpy(buffer+pos,&(Branch->vecnumber), sizeof(int)); pos +=sizeof(int); if(!Branch->IsValid()) { buffer[pos++]=CODE_END; return;} memcpy(buffer+pos,&(Branch->Dval), sizeof(Branch->Dval)); pos +=sizeof(Branch->Dval); if(pos>0x7FFFFF) {pos=0; return; } // packs children if any if(Branch->GetNumChildren()>0 /*Branch->children__!=MB_BADINDEX*/) { buffer[pos++]=CODE_CHILDREN; // recursion j=Branch->GetNumChildren(); memcpy(buffer+pos,&(j),sizeof(int)); pos +=sizeof(int); for(i=0;iGetNumChildren();i++) { PackBranch(Branch->children__ + i,buffer,pos); } } buffer[pos++]=CODE_END; // terminate this element } void Forest::PackBranchStart(SVSetNodePtr branch, char** buffer, int* pos) { // starts packing, calls pack recursively *buffer=(char*) calloc(0x7FFFFF,1); // Size??? *pos=0; sizepacked=0; if(branch==MB_BADINDEX) {(*buffer)[(*pos)++] = CODE_END; return;} // ensure this branch has no possible killers ??? SVSetNode* Branch=MBSV.GetAt(branch); siVec index(Parent->Dim); // Branch->ComputeVectors(index,&m_initvec,branch); // now index (*buffer)[(*pos)++]=CODE_INDEX; memcpy(*buffer+*pos, index.begin(), index.size()*sizeof(SVINDEX)); *pos += index.size()*sizeof(SVINDEX); int savevec=Branch->vecnumber; SET_ROOT(Branch->vecnumber); // forget the vecnumber PackBranch(branch, *buffer, *pos); if(*pos==0) { // means too many nodes return; } (*buffer)[(*pos)++]=CODE_END; Branch->vecnumber=savevec; EraseBranch(branch,1); } void Forest::UnPackBranch(char* buffer, int& pos, SVSetNodePtr branch) { int i,j,cont=1; // unsigned int k; SVSetNode* Child; SVSetNodePtr child; SVSetNode* Branch=MBSV.GetAt(branch); while(cont) { i=buffer[pos++]; switch(i) { case CODE_END: cont=0; break; case CODE_INDEX: SET_ROOT(Branch->vecnumber); Branch->parent__=MB_BADINDEX; memcpy(temp_index.begin(),buffer+pos,temp_index.size()*sizeof(SVINDEX)); pos += temp_index.size()*sizeof(SVINDEX); break; case CODE_EL: memcpy(&(Branch->vecnumber),buffer+pos, sizeof(int)); pos +=sizeof(int); if((Branch->vecnumber & 0xFFFFFF) != 0xFFFFFF) // valid {memcpy(&(Branch->Dval),buffer+pos, sizeof(Branch->Dval)); pos +=sizeof(Branch->Dval);} else EraseBranch(branch); break; case CODE_CHILDREN: memcpy(&(j),buffer+pos, sizeof(int)); pos +=sizeof(int); Branch->SetNumChildren(j); Branch->children__=MBSV.GetNextFree(j); for(i=0;ichildren__+i; Child=MBSV.GetAt(child); Child->Init(); Child->parent__=branch; Child->SetNumChildren(-1); // new(SVSetNode); UnPackBranch(buffer,pos,child); } else pos++; } break; } } } void Forest::UnPackBranchStart(char** buffer, SVSetNodePtr* branch ) { SVSetNodePtr parentnode=MBSV.GetNextFree(); SVSetNode* Parent=MBSV.GetAt(parentnode); //new(SVSetNode); Parent->Init(); int pos=0; UnPackBranch(*buffer,pos, parentnode); if(pos==1) // empty branch { MBSV.FreeBlock(parentnode); } free(*buffer); *buffer = NULL; *branch=parentnode; // for return } liblip-2.0.0/src/interpol.cpp0000644000175000017500000003375110426015341013041 00000000000000/************************************************************************** ***************************************************************************/ #include "interpol.h" // Gobal variables MemoryBlock MBSV; Interpolant* Parent; // merges 2 doubles into one, for lexicographic ordering // this helps to reduce the complexity of testing for repeated vector components double merge(double a, double b) { double c; ULINT d=(d2ulint(a) & ULLMASK) | ((d2ulint(b)>>32) & ~ULLMASK); // fixed in version 1.2 c=ulint2d(d); return c; } // aux global function, to avoid duplicating data points int TestPresent(support_vector & sv,SVDeque& seq, int Dim) { // return 0; size_t i,j; int k; support_vector* svp; for(i=Dim;i0;j--) // in the opposite direction if(sv.vec[j] != svp->vec[j]) { k=0; break;} if(k) return 1; } return 0; } // some preprocessing resulting in a faster version: check first whether there is a vector // with first component the same as that of the tested vector, using binary search in a sorted array // and then test the second component, using binary search, and only then test all other components // using linear search int TestPresent(support_vector & sv, vector &first, vector &second, SVDeque& seq, int dim) { // double* location = lower_bound(first.begin(), first.end(), sv.vec[0]) ; // g++ does not like it double* location = lower_bound(&first[0], &first[first.size()], sv.vec[0]) ; if(*location == *(location+1)) { if(dim>1) { // location = lower_bound(second.begin(), second.end(), merge(sv.vec[0],sv.vec[1])) ; location = lower_bound(&second[0], &second[second.size()], merge(sv.vec[0],sv.vec[1])) ; if(*location == *(location+1)) return TestPresent(sv,seq,dim+1); else return 0; } else return 1; // only one component, already see that it is duplicated } // not duplicated return 0; } ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// Interpolant::Interpolant() { Parent=this; C_minus=1; m_Constants.newsize(1); m_Constants=0; }; // constructor Interpolant::~Interpolant() { HeapPossibleMin.EraseAll(); } void Interpolant::FreeMem() { HeapPossibleMin.EraseAll(); SVectors.clear(); LastLabel=0; } void Interpolant::Init(int dim) { Dim=dim; m_lastindex.newsize(Dim); m_index.newsize(Dim); m_initvec.newsize(Dim); m_TempSiVec.newsize(Dim); Parent=this; } void Interpolant::QueryDyn(real* x) { Parent=this; m_sv.SVForm(x,0); HeapPossibleMin.ProcessAllDyn(&m_sv); m_indexset=&(HeapPossibleMin.m_indexset); } /*-------------------------------------------------- Calculates the value of the lower interpolant using fast query method. If query unsuccessful, uses slower and safer explicit evaluation. ----------------------------------------------------*/ real Interpolant::FValueL(real* x) { int i; real g1,g1m,t1; Match=0; // search for the triangles QueryDyn(x); g1m=-Infinity; for(i=0;ierase(i); // erase basis vectors // here explicit search if(m_indexset->empty()) { // cout<< "explicit"<begin(); // cout << m_indexset->size()<end()) { g1=Infinity; SVP = &(SVectors[*m_indexiter]); for(i=0;ivec[i]; t1=m_Constants[i] * (t1 + x[i]); if(t1=Dim) // >=Dim? { j--; g1=Infinity; for(i=0;iInit(); //new SVSetNode; for(i=0;i0) m_Constants[i]=temp[i]; else m_Constants[i]=1; for(i=j;iSetConstants(newconst,dim); m_upper->SetConstants(newconst,dim); } void STCInterpolant::SetConstants() { SetConstants(LipschitzConst,Dim); } void STCInterpolant::SetConstants(real newconst) { if(Dim>0) SetConstants(newconst,Dim); else SetConstants(newconst, 1); } void STCInterpolant::SetData(int dim, int K, real* x, real* y, int test) { m_lasterr=0; Dim=dim+1; m_lower->Init(Dim); m_upper->Init(Dim); int i,j,k; real v,u; support_vector SV; SV.vec.newsize(Dim); SV.vec=SV.funvalue=0; for(i=0;iSVectors.push_back(SV); m_upper->SVectors.push_back(SV); } /* this part is to accelerate searching for repeated data, using binary search */ vector firstcomponent; vector secondcomponent; if(test) { firstcomponent.reserve(K); if(dim>1) { // use binary search wrt the first two components, if dim>1 secondcomponent.reserve(K); for(i=0;iSVectors, dim)) { m_lower->SVectors.push_back(SV); m_upper->SVectors.push_back(SV); } } // ensure Lipschitz constants were set correctly for dim=Dim if(m_lower->m_Constants.size()m_Constants[0]>0) // if it was actually set (0 means not set before) SetConstants(m_lower->m_Constants[0]); // now we have right Dim } } void STCInterpolant::SetDataColumn(int dim, int K, real* x, real* y, int test) { m_lasterr=0; Dim=dim+1; m_lower->Init(Dim); m_upper->Init(Dim); int i,j,k; real v,u; support_vector SV; SV.vec.newsize(Dim); SV.vec=SV.funvalue=0; for(i=0;iSVectors.push_back(SV); m_upper->SVectors.push_back(SV); } /* this part is to accelerate searching for repeated data, using binary search */ vector firstcomponent; vector secondcomponent; if(test) { firstcomponent.reserve(K); if(dim>1) { // use binary search wrt the first two components, if dim>1 secondcomponent.reserve(K); for(i=0;iSVectors, dim)) { m_lower->SVectors.push_back(SV); m_upper->SVectors.push_back(SV); } } // ensure Lipschitz constants were set correctly for dim=Dim if(m_lower->m_Constants.size()m_Constants[0]>0) // if it was actually set (0 means not set before) SetConstants(m_lower->m_Constants[0]); // now we have right Dim } } void STCInterpolant::Construct() { // assumed that getData was called and there is data in both m_lower and m_upper aux=(double*) malloc(sizeof(double)*Dim) ; // just to be sure it was initiated m_lower->Construct(); m_upper->ConstructInv(); if(m_lower->Match==1 || m_upper->Match==1) // LipConst is too small m_lasterr=ERR_LIP_LOW; } void STCInterpolant::ConstructExplicit() { // assumed that getData was called and there is data in both m_lower and m_upper aux=(double*) malloc(sizeof(double)*Dim) ; // just to be sure it was initiated m_lower->ConstructExplicit(); m_upper->ConstructInvExplicit(); } void STCInterpolant::ComputeSlack(real* x) { real u=0; for(int i=0;i=Dim) // slack variable computed { Lo=m_lower->FValueL(x); // change from exhaustive to norma; Up= - m_upper->FValueL(x); return (Lo+Up)*0.5; } else { //compute slack ComputeSlack(x); Lo=m_lower->FValueL(aux); // change from exhaustive to norma; Up= - m_upper->FValueL(aux); return (Lo+Up)*0.5; } } real STCInterpolant::ValueExplicit(int dim, real* x) { m_lasterr=0; if(dim>=Dim) // slack variable computed { Lo=m_lower->FValueExplicit(x); // change from exhaustive to norma; Up= - m_upper->FValueExplicit(x); return (Lo+Up)*0.5; } else { //compute slack ComputeSlack(x); Lo=m_lower->FValueExplicit(aux); // change from exhaustive to norma; Up= - m_upper->FValueExplicit(aux); return (Lo+Up)*0.5; } } real STCInterpolant::DetermineLipschitz() { // computes an estimate of the Lipschitz constant in simplicial distance from the data // by computing distances and differences of function values for all pairs of data. Lip1=(double*) malloc(sizeof(double)*Dim) ; // just to be sure it was initiated Lip2=(double*) malloc(sizeof(double)*Dim) ; // just to be sure it was initiated support_vector *SU, *SV; unsigned int i,j,k,k1=0; real u,v; for(i=0;iSVectors.size();i++) { SU=&(m_lower->SVectors[i]); for(j=Dim;jSVectors.size();j++) if(i != j) { SV=&(m_lower->SVectors[j]); v=0; for(k=0;kvec[k]-SV->vec[k]; // v is the distance in polyhedral norm if(vfunvalue - SV->funvalue; if(v > 0) // otherwise we are in trouble { u= u/v; if(u>=0) { if(Lip1[k1] < u) Lip1[k1]=u; } else { if(Lip2[k1] < -u) Lip2[k1]=-u; } } // if v > 0 } // for j } // for i u=0; for(i=0;iFreeMem(); m_lower->FreeMem(); } liblip-2.0.0/src/slipint.cpp0000644000175000017500000025305410426015341012667 00000000000000/************************************************************************** begin : Apr 19 2005 version : 2.0 copyright : (C) 2005 by Gleb Beliakov email : gleb@deakin.edu.au SLipInt.cpp: declaration of the Simple Lipschitz interpolant class. SLipInt class implements the method of Lipschitz interpolation and smoothing. The interpolant is computed as g(x)= 0.5(H_upper(x) + H_lower(x)) with H_upper(x)= min_k (y^k + LipConst d(x,x^k)) H_lower(x)= max_k (y^k - LipConst d(x,x^k)) where the input data is (x^k,y^k), k=1,...npts. This is the best interpolant in the worst case scenario, if the interpolated function is known to be Lipschitz with the Lipschitz constant LipConst. There are no restrictions on the distribution of data x^k in R^dim The enhancements in version 2 include smoothing, monotone approximation, automatic calculation of the Lipschitz constant using sample splitting and cross-validation. See documentation for more details. * * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * * * * This program is distributed in the hope that it will be useful, but * * WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software Foundation, * * Inc., 59 Temple Place Suite 330, Boston, MA 02111-1307 USA. * ***************************************************************************/ #include "slipint.h" #ifdef _MSC_VER // if the compiler does not recognise this type, change it to another int type 8 bytes long // like long long int typedef __int64 ULINT; //this type myst be 8 bytes long #else typedef unsigned long long int ULINT; //this type myst be 8 bytes long #endif double sqr__(double a) {return a*a; } double max__(double a, double b) { return((a>b)?a:b); } double min__(double a, double b) { return((a=0; dim--) d+=sqr__(x[dim] - xk[dim]); return sqrt(d); } // l_infty double SLipIntInf::dist(int dim, double* x, double* xk, double* param) { double dk,d=-1; int i = dim-1; for( ; i>=0; i--) { dk=fabs(x[i] - xk[i]); if(dk>d) { d=dk; } } return (d); } // l_infty, also returns the direction double SLipIntInf::distInfDir(int dim, double* x, double* xk, int* dir) { double dk,d=-1; int i=dim-1; for( ; i>=0; i--) { dk=(x[i] - xk[i]); if(fabs(dk)>d) { d=fabs(dk); if(dk>=0) *dir=i; else *dir=dim+i; } } return (d); } // l_infty, returns the direction double SLipIntInf::distDir(int dim, double* x, double* xk, int* dir) { double dk,d=-1; int i = dim-1; for( ; i>=0; i--) { dk=fabs(x[i] - xk[i]); if(dk>d) { d=dk; *dir=i; } } return (d); } // Constrained distances double SLipInt::dist(int dim, double* x, double* xk, int* Cons, double* param) { //||(x-xk)V+|| double d=0; dim--; // for( ; dim>=0; dim--) d+=sqr__( max__( Cons[dim] * (x[dim] - xk[dim]), 0) ); for( ; dim>=0; dim--) d+=sqr__( Cons[dim]!=0 ? max__( Cons[dim] * (x[dim] - xk[dim]), 0) : x[dim] - xk[dim] ); return sqrt(d); } double SLipIntInf::dist(int dim, double* x, double* xk,int* Cons, double* param) { double dk,d=-1; int i = dim-1; for( ; i>=0; i--) { dk = Cons[i]!=0 ? max__( Cons[i] * (x[i] - xk[i]), 0) : fabs(x[i] - xk[i]) ; //dk=fabs(x[i] - xk[i]); if(dk>d) { d=dk; // *dir=i; } } return (d); } double SLipInt::distLeftRegion(int dim, double* x, double* xk, int* Cons, double* LeftRegion, double* param) { //||(x-xk)V+,alpha|| double d=0; dim--; for( ; dim>=0; dim--) { if( Cons[dim]==0) d+=sqr__(x[dim] - xk[dim]); else if(Cons[dim]>0) d+= sqr__ (max__( (x[dim] - xk[dim]), min__(0, (LeftRegion[dim]-xk[dim])))); else d+=sqr__(max__( (xk[dim] - x[dim]), min__(0, 1 *(LeftRegion[dim]-x[dim])) ) ); } return sqrt(d); } double SLipInt::distRightRegion(int dim, double* x, double* xk, int* Cons, double* RightRegion, double* param) { //||(x-xk)V+,beta|| double d=0; dim--; for( ; dim>=0; dim--) if( Cons[dim]==0) d+=sqr__(x[dim] - xk[dim]); else if(Cons[dim]>0) d+= sqr__ (max__((x[dim] - xk[dim]), min__(0, (x[dim]-RightRegion[dim]) ) ) ); else d+= sqr__ (max__(xk[dim] - x[dim], min__(0,xk[dim]-RightRegion[dim] ))); return sqrt(d); } double SLipInt::distAll(int dim, int type, double* x, double* xk, int* Cons, double* Region, double* param) { switch(type) { case 0: return dist(dim,x,xk,param); case 1: return dist(dim,x,xk,Cons,param); case 2: return distLeftRegion(dim,x,xk,Cons,Region,param); case 3: return distRightRegion(dim,x,xk,Cons,Region,param); } return 0; } double SLipIntInf::distLeftRegion(int dim, double* x, double* xk, int* Cons, double* LeftRegion, double* param) { //||(x-xk)V+,alpha|| double d=0; dim--; for( ; dim>=0; dim--) { if( Cons[dim]==0) d =max__(d,fabs(x[dim] - xk[dim])); else if(Cons[dim]>0) d+= max__(d, max__( (x[dim] - xk[dim]), min__(0, (LeftRegion[dim]-xk[dim])))); else d+=max__(d,max__( (xk[dim] - x[dim]), min__(0, 1 *(LeftRegion[dim]-x[dim])) ) ); } return d; } double SLipIntInf::distRightRegion(int dim, double* x, double* xk, int* Cons, double* RightRegion, double* param) { //||(x-xk)V+,beta|| double d=0; dim--; for( ; dim>=0; dim--) if( Cons[dim]==0) d+=max__(d,fabs(x[dim] - xk[dim])); else if(Cons[dim]>0) d+= max__ (d,max__((x[dim] - xk[dim]), min__(0, (x[dim]-RightRegion[dim]) ) ) ); else d+= max__ (d,max__(xk[dim] - x[dim], min__(0,xk[dim]-RightRegion[dim] ))); return sqrt(d); } double SLipIntInf::distAll(int dim, int type, double* x, double* xk, int* Cons, double* Region, double* param) { switch(type) { case 0: return dist(dim,x,xk,param); case 1: return dist(dim,x,xk,Cons,param); case 2: return distLeftRegion(dim,x,xk,Cons,Region,param); case 3: return distRightRegion(dim,x,xk,Cons,Region,param); } return 0; } // simplicial distance double SLipIntInf::distSimp(int dim, double* x, double* xk, int* dir) // int I, int J) { double d,t; double u1,u2; double uu,vv; // simplicial distance int i; d=0; u1=u2=0; for(i=0;i=0; i--) { dk=fabs(x[i] - xk[i]); if(dk>d) { d=dk; *dir=i; } } return (d); } // just procedural versions of the methods above double distInf2(int dim, double* x, double* xk, int* dir) { double dk,dka,d=-1; int i = dim-1; for( ; i>=0; i--) { dk = (x[i] - xk[i]); dka=fabs(dk); if(dka>d) { d=dka; if(dk>=0) *dir=i; else *dir=i+dim; } } return (d); } double SLipIntLp::dist(int dim, double* x, double* xk, double* param) { double d=0; dim--; for( ; dim>=0; dim--) d+=pow(x[dim] - xk[dim], m_P); return pow(d, m_P1); } // Euclidean double SLipIntLp::dist(int dim, double* x, double* xk, int* Cons, double* param) // constrained { //||(x-xk)V+|| double d=0; dim--; for( ; dim>=0; dim--) d+=pow( Cons[dim]!=0 ? max__( Cons[dim] * (x[dim] - xk[dim]), 0) : x[dim] - xk[dim] , m_P); return pow(d,m_P1); } double SLipIntLp::distLeftRegion(int dim, double* x, double* xk, int* Cons, double* LeftRegion, double* param) { //||(x-xk)V+,alpha|| double d=0; dim--; for( ; dim>=0; dim--) { if( Cons[dim]==0) d+=pow(x[dim] - xk[dim], m_P); else if(Cons[dim]>0) d+= pow (max__( (x[dim] - xk[dim]), min__(0, (LeftRegion[dim]-xk[dim]))), m_P); else d+=pow(max__( (xk[dim] - x[dim]), min__(0, 1 *(LeftRegion[dim]-x[dim])) ), m_P); } return pow(d, m_P1); } double SLipIntLp::distRightRegion(int dim, double* x, double* xk, int* Cons, double* RightRegion, double* param) { //||(x-xk)V+,beta|| double d=0; dim--; for( ; dim>=0; dim--) if( Cons[dim]==0) d+=pow(x[dim] - xk[dim], m_P1); else if(Cons[dim]>0) d+= pow (max__((x[dim] - xk[dim]), min__(0, (x[dim]-RightRegion[dim]) ) ) , m_P1); else d+= pow (max__(xk[dim] - x[dim], min__(0,xk[dim]-RightRegion[dim] )), m_P1); return pow(d, m_P1); } double SLipIntLp::distAll(int dim, int type, double* x, double* xk, int* Cons, double* Region, double* param) { switch(type) { case 0: return dist(dim,x,xk,param); case 1: return dist(dim,x,xk,Cons,param); case 2: return distLeftRegion(dim,x,xk,Cons,Region,param); case 3: return distRightRegion(dim,x,xk,Cons,Region,param); } return 0; } /* auxiliary class CLargeSet This class represents a set of integers up to K (excluding K). K can be large (of order of 10^6. The presence or absence of an element is indicated by the corresponding bit in a mask, represented by an array of 64 bit integers. Set operations are implemented though bit masks. Should be very fast. */ class CLargeSet { public: int m_size, m_sizearray; ULINT* m_els; CLargeSet(int K) {m_size=K; m_sizearray=m_size/sizeof(ULINT)/8 + 1; // els needed m_els=(ULINT*) malloc(m_sizearray*sizeof(ULINT)); Clear(); }; // how many bytes we need ~CLargeSet(){free(m_els);}; // sets the bit for element i (adds i to the set) void Set(int i); // sets the bit for element i (adds i to the set), and returns 1 if i was already there 0 otherwise int SetChanged(int i); // removes i from the set void Remove(int i); // clears the set = empty set void Clear(); // does i belong to the set? int IsPresent(int i); // what is the next element in this set int NextElement(int i); // removes from this set elements that belong to OtherSet void Remove(CLargeSet* OtherSet); // copies elements from the OtherSet to this one (OtherSet must be at least as big as this one) void Copy(CLargeSet* OtherSet); private: int pos; ULINT mask; // compute the position of the bit for element i in the mask void ComputeBit(int i); }; typedef struct s_neighbor { public: double dist; // distance from the point datum int datum; }t_neighbor; // for sorting elements wrt dist struct Less_than { bool operator()(const t_neighbor& a, const t_neighbor& b) { return a.dist < b.dist; // based on last names only } }; typedef struct s_neighborEx { public: double dist; // distance from the point datum int datum; double diff; }t_neighborEx; // for sorting elements wrt dist struct Less_thanEx { bool operator()(const t_neighborEx& a, const t_neighborEx& b) { return a.dist < b.dist; // based on last names only } }; /* auxiliary class OneRow This class represents one row of the pairwise distance matrix. Besides the distances, it also holds the information about the direction of the other data points wrt to this one. As we use simplicial distance, there are Dim+1 possible directions. The distance matrix is used to sort data points wrt to any of these directions. It also keeps information about which data points have bigger j-th coordinate. */ class OneRow { public: CLargeSet** m_sets; // an array of sets of size Dim+1, each set holding up to Ndata members t_neighbor* m_neighbors; // the distances to this data point, and their indices live here int Dim, Ndata; // dimension and the total number of data points // used internally, but needs to be public for the Pack method int* m_last, *m_first;// indices in the array m_neighbors indicating starting and ending indices for // each direction OneRow(int dim, int ndata); ~OneRow(); // add a distance d to the point J, in the direction dir (computed together with d) void AddDistance(double d, int dir, int J); // sort distances in the increasing order (in each direction) void SortAll(); // returns the next closest data point, and its direction J. Automatically increments the index, // so that the next call returns the subsequent data point. Returns a negative value if the list finished int GetNextJ(double& d, int& J); // should be called before the fist call to GetNextJ, resets the counter void ResetCounter(); // removes all members of the set m_sets[dir] which are also members of the same set in the OtherRow // does not affect the list of distances m_neighbors, just the elements of the set void RemoveReferences(OneRow* OtherRow, int dir); // Recomputes the sets m_sets from the list of distances m_neighbors void ComputeSets(); // Packs a long array of distances in temprow into a shoter array m_neighbors of this instance void Pack(OneRow* temprow); // sets all the counters/sets to their initial values void Reset(); private: int counter,dir; }; /*----------class OneRow-------------------------------------------------*/ OneRow::OneRow(int dim, int ndata) { Dim=dim; Ndata=ndata; m_sets=(CLargeSet**) malloc(dim*sizeof(CLargeSet*)); int i; for(i=0;iSet(J); m_last[dir]++; } // used only by one instance tempneighbor void OneRow::Reset() { int i; for(i=0;iClear(); } void OneRow::Pack(OneRow* temprow) { int i,j,k; for(i=0;iCopy(temprow->m_sets[i]); k=0; for(i=0;im_first[i]; jm_last[i]; j++) { m_neighbors[k]=temprow->m_neighbors[j]; k++; } m_last[i]=k; } } Less_than less_than; /* declare a comparison function object, to pass to sort and search algorithms */ Less_thanEx less_thanEx; /* declare a comparison function object, to pass to sort and search algorithms */ void OneRow::SortAll() { for(int i=0;iIsPresent(idx)) { d=m_neighbors[m_first[dir] + counter].dist; J=dir; counter++; // for the next time return idx; } else counter++; } if(dir < Dim-1) { dir++; counter=0; goto L1; } d=0; J=Dim; return -1; } //remove all indices from m_sets[dir] that are also in OtherRows's m_sets void OneRow::RemoveReferences(OneRow* OtherRow, int dir) { m_sets[dir]->Remove(OtherRow->m_sets[dir]); } void OneRow::ComputeSets() { int i,j; for(i=0;iSet( m_neighbors[j].datum ); } // I no longer need these, free memory if(m_neighbors!=NULL) free(m_neighbors); m_neighbors=NULL; } #define BMASK 0x3F; #define SHIFT 6 void CLargeSet::Set(int i) { ComputeBit(i); m_els[pos] |= mask; } int CLargeSet::SetChanged(int i) { ComputeBit(i); i=((m_els[pos] & mask) != 0); // what it was m_els[pos] |= mask; // set new return i; } void CLargeSet::Remove(int i) { ComputeBit(i); m_els[pos] &= ~mask; } void CLargeSet::Clear() { for(int i=0;i> SHIFT; mask = i & BMASK; mask = 1 << mask; } int CLargeSet::NextElement(int i) { // this can be accelerated using bit masks i++; while(i< m_size) if(IsPresent(i)) return i; else i++; return -2; // finished, no more elements } // must be of the same size void CLargeSet::Remove(CLargeSet* OtherSet) { for(int i=0;im_els[i]); } } // other set must be of larger or equal capacity! void CLargeSet::Copy(CLargeSet* OtherSet) { for(int i=0;im_els[i]); } } /*---------------------------end auxiliary classes---------------------------------------*/ // returns 1 if x >> y wrt Cons int SLipIntBasic::Dominates(int dim, double* x, double * y, int* Cons) { int i; for(i=0;id2) g2=d2; } } else { for(i1=0;i1d2) g2=d2; } } if(UseOtherBounds) { g1=max__(g1,ExtraLowerBound(dim,x,&Lipconst)); g2=min__(g2,ExtraUpperBound(dim,x,&Lipconst)); } return 0.5*(g1+g2); } int SLipIntBasic::FindVoronoi(int dim, int npts, double* x, double* XData, double &d) { // using DT int m,k; k=i=npts / 2; // just some random starting point, not efficient in 1d j=i*dim; d3 = d = dist(dim, x, &(XData[j])); while(1) { for(i1=pneighbors[i];i1d2) {k=j; d3=d2;} } if(d==d3) { // no improvement, finish return i; } i=k; // and continue d=d3; } } // Returns the value of the interpolant , with the Lipschitz constant // computed from the data. Can be used after ComputeLocalLipschitz double SLipIntBasic::ValueLocal(int dim, int npts, double* x, double* XData, double* YData) { g1=-10e20; g2=-g1; int j1,k12; int k1; int lim; double dt; for(i=0;i=GridR[k12+lim-1]) d1 = GridVal[k12 + lim-1] + (GridVal[k12 + lim-1] - ((lim>1)?GridVal[k12 + lim -2]:0) ) * (d2-GridR[k12 + lim -1]) / (GridR[k12 + lim -1]-((lim>1)?GridR[k12 + lim -2]:0)); else { j1=BinSearch(d2, &(GridR[k12]), 0, GridLim[i]); d1=(d2-GridR[k12+j1])/(GridR[k12+j1+1]-GridR[k12+j1]); d1=d1*GridVal[k12+j1+1] + (1-d1)*GridVal[k12+j1]; } dt= YData[i] - d1; d1= YData[i] + d1; if(g1d1) g2=d1; } if(UseOtherBounds) { g1=max__(g1,ExtraLowerBound(dim,x,&MaxLipConst)); g2=min__(g2,ExtraUpperBound(dim,x,&MaxLipConst)); } // return g1; return 0.5*(g1+g2); } /********************************** Monotone approximation ****************************/ double SLipIntBasic::ValueCons(int dim, int npts, int* Cons, double* x, double* XData, double* YData) { return ValueCons(dim,npts, Cons, x, XData, YData, MaxLipConst); } double SLipIntBasic::ValueCons(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double Lipconst, int* index) { g1=-10e20; g2=-g1; if(index==NULL) { for(i=0;id2) g2=d2; } } else { for(i1=0;i1d2) g2=d2; } } if(UseOtherBounds) { g1=max__(g1,ExtraLowerBound(dim,x,&Lipconst)); g2=min__(g2,ExtraUpperBound(dim,x,&Lipconst)); } return 0.5*(g1+g2); } int SLipIntBasic::BinSearch(double r, float* Arr, int le, int ri) { int l,u,mid; l=le; u=ri-1; l2: if(u-l <=1) { return l;} mid=(l+u)/2; if(r<(Arr)[mid]) u=mid; else l=mid; goto l2; } // Returns the value of the interpolant, with the Lipschitz constant // computed from the data. Can be used after ComputeLocalLipschitz2 double SLipIntBasic::ValueLocalCons(int dim, int npts, int* Cons, double* x, double* XData, double* YData) { return ValueLocal2Consinternal(dim,npts,Cons,x,XData, YData,0,NULL); } double SLipIntBasic::ValueLocalConsLeftRegion(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double* Region) { return ValueLocal2Consinternal(dim,npts,Cons,x,XData, YData,1,Region); } double SLipIntBasic::ValueLocalConsRightRegion(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double* Region) { return ValueLocal2Consinternal(dim,npts,Cons,x,XData, YData,2,Region); } // Returns the value of the interpolant in l_2 norm, with the Lipschitz constant // computed from the data. Can be used after ComputeLocalLipschitz2 double SLipIntBasic::ValueLocal2Consinternal(int dim, int npts, int* Cons, double* x, double* XData, double* YData, int reg, double* Region) { g1=-10e20; g2=-g1; int j1,k12; int k1; int lim; double dt; for(i=0;i=GridR[k12+lim-1]) d1 = GridVal[k12 + lim-1] + (GridVal[k12 + lim-1] - ((lim>1)?GridVal[k12 + lim -2]:0) ) * (d2-GridR[k12 + lim -1]) / (GridR[k12 + lim -1]-((lim>1)?GridR[k12 + lim -2]:0)); // else if(d2>=GridR[k12+GridLim[i]-1]) d1= GridVal[k12 + GridLim[i]-1]; else { j1=BinSearch(d2, &(GridR[k12]), 0, GridLim[i]); d1=(d2-GridR[k12+j1])/(GridR[k12+j1+1]-GridR[k12+j1]); d1=d1*GridVal[k12+j1+1] + (1-d1)*GridVal[k12+j1]; } dt= YData[i] - d1; switch(reg) { case 1: d2=distLeftRegion(Dim, x, &(XData[k1]), Cons, Region); break; case 2: d2=distRightRegion(Dim, x, &(XData[k1]), Cons, Region);break; default: case 0: d2 = dist(dim, x, &(XData[k1]),Cons); break; } if(d2=GridR[k12+lim-1]) d1 = GridVal[k12 + lim-1] + (GridVal[k12 + lim-1] - ((lim>1)?GridVal[k12 + lim -2]:0) ) * (d2-GridR[k12 + lim -1]) / (GridR[k12 + lim -1]-((lim>1)?GridR[k12 + lim -2]:0)); // if(d2=GridR[k12+GridLim[i]-1]) d1= GridVal[k12 + GridLim[i]-1]; else { j1=BinSearch(d2, &(GridR[k12]), 0, GridLim[i]); d1=(d2-GridR[k12+j1])/(GridR[k12+j1+1]-GridR[k12+j1]); d1=d1*GridVal[k12+j1+1] + (1-d1)*GridVal[k12+j1]; } d1= YData[i] + d1; if(g1d1) g2=d1; } if(UseOtherBounds) { g1=max__(g1,ExtraLowerBound(dim,x,&MaxLipConst)); g2=min__(g2,ExtraUpperBound(dim,x,&MaxLipConst)); } return 0.5*(g1+g2); } // Returns the value of the interpolant in l_2 norm, assuming it is monotone for x<< LeftRegion double SLipIntBasic::ValueConsLeftRegion(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double LipConst, double* LeftRegion, int* index) { g1=-10e20; g2=-g1; if(index==NULL) { for(i=0;id2) g2=d2; } } else { for(i1=0;i1d2) g2=d2; } } if(UseOtherBounds) { g1=max__(g1,ExtraLowerBound(dim,x,&LipConst)); g2=min__(g2,ExtraUpperBound(dim,x,&LipConst)); } return 0.5*(g1+g2); } // Returns the value of the interpolant in l_2 norm, assuming it is monotone for x>> RightRegion double SLipIntBasic::ValueConsRightRegion(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double LipConst, double* RightRegion, int* index) { g1=-10e20; g2=-g1; if(index==NULL) { for(i=0;id2) g2=d2; } } else { for(i1=0;i1d2) g2=d2; } } if(UseOtherBounds) { g1=max__(g1,ExtraLowerBound(dim,x,&LipConst)); g2=min__(g2,ExtraUpperBound(dim,x,&LipConst)); } return 0.5*(g1+g2); } // Verifies the data is monotone wrt specified variables int SLipIntBasic::VerifyMonotonicity(int dim, int npts, int* Cons, double* XData, double* YData, double LC, double eps) { int i,j; for(i=0;i eps ) { return 0; } } return 1; } // Verifies the data is monotone wrt specified variables in the region On x<< LeftRegion int SLipIntBasic::VerifyMonotonicityLeftRegion (int dim, int npts, int* Cons, double* XData, double* YData, double* LeftRegion,double LC, double eps) { int i,j; for(i=0;i eps ) return 0; } return 1; } // Verifies the data is monotone wrt specified variables in the region On x >> RightRegion int SLipIntBasic::VerifyMonotonicityRightRegion (int dim, int npts, int* Cons, double* XData, double* YData, double* RightRegion, double LC, double eps) { int i,j; for(i=0;i eps ) return 0; } return 1; } double SLipIntBasic::value(int dim, int npts, double* x, double* XData, double* YData, double LipConst, int* index, int type, int* Cons, double* Region) // various parameters { switch(type) { case 1: // monotonicity constraints return ValueCons(dim,npts,Cons,x,XData,YData,LipConst, index); case 2: // + left region ValueConsLeftRegion(dim,npts,Cons,x,XData,YData,LipConst,Region,index); case 3: // + Right region ValueConsRightRegion(dim,npts,Cons,x,XData,YData,LipConst,Region,index); case 0: default: return Value(dim,npts,x,XData,YData,LipConst,index); } } double SLipIntBasic::valuelocal(int dim, int npts, double* x, double* XData, double* YData, int type, int* Cons, double* Region) { switch(type) { case 1: // monotonicity constraints return ValueLocalCons(dim,npts,Cons,x,XData,YData); case 2: // + left region ValueLocalConsLeftRegion(dim,npts,Cons,x,XData,YData,Region); case 3: // + Right region ValueLocalConsRightRegion(dim,npts,Cons,x,XData,YData,Region); case 0: default: return ValueLocal(dim,npts,x,XData,YData); } } /***** Implementations of the derived classes *******/ void SLipInt::ComputeLipschitz(int dim, int npts, double* XData, double* YData) { int k1,k2; MaxLipConst=0; // for all pairs for(i=0;i0) MaxLipConst = max__(MaxLipConst, g1/d1); } } } // Computes the local Lipschitz constant in l_2 norm, compatible with the data void SLipIntBasic::ComputeLocalLipschitz(int dim, int npts, double* XData, double* YData) { if(GridR!=NULL) { if(npts!=NPTS) { free(GridR); free(GridVal); free(GridLim); GridLim=(int*)malloc(sizeof(int)*(npts*2+1)); } } else { GridLim=(int*)malloc(sizeof(int)*(npts*2+1)); } t_neighbor* m_neighbors = (t_neighbor*) malloc(sizeof(t_neighbor)*npts); vectorGridRT; vectorGridValT; GridRT.reserve(npts*3); GridValT.reserve(npts*3); MaxLipConst=0; NPTS=npts; int i,j,k, idx; int k1,k2,klim=0; double t1=0,t2=0; double r0,M0,Mt,w; double prevR, prevM; double prevprevR, prevprevVal, prevVal; GridLim[npts]=0; for(i=0;i=M0) { if(r0==0) {r0=d1; t2 = g1; klim=j; goto L1;} } } L1: if(r0==0) { r0=d1; // max dist idx=GridLim[npts + i ]; GridRT.push_back((float)d1); GridValT.push_back((float)g1); GridLim[i]=1; goto L2; // end of the loop } idx=GridLim[npts + i ]; GridRT.push_back((float)r0); GridValT.push_back((float)t2); M0=t2/r0; GridLim[i]=1; MaxLipConst=max__(M0,MaxLipConst); prevprevR=0; prevprevVal=0; prevR=r0; prevM=M0; prevVal=t2; // now all the rest for(j=klim+1;jprevR) { if(t1> (d1-prevR)*prevM + t2 ) { GridRT.push_back((float)d1); GridValT.push_back((float)t1); GridLim[i]++; prevprevR=prevR; prevprevVal=prevVal; prevM = (t1-t2) / (d1-prevR); prevR=d1; prevVal=t1; t2=t1; MaxLipConst=max__(MaxLipConst, prevM); }} else { //d1==prevR, update is LipConst > if(t1>t2) { GridValT[GridValT.size()-1]=(float)t1; prevM = (t1-prevprevVal)/(d1-prevprevR); prevprevVal=prevVal; prevVal=t1; t2=t1; MaxLipConst=max__(MaxLipConst, prevM); } } } //j loop L2: GridLim[npts+i+1]=GridLim[i]+GridLim[npts+i]; } // reallocate GridR and GridVal idx=GridLim[npts+npts]; GridR=(float*) malloc(sizeof(float)*idx); GridVal=(float*) malloc(sizeof(float)*idx); for(i=0;iGridRT; vectorGridValT; GridRT.reserve(npts*3); GridValT.reserve(npts*3); type=_type; LocalCons=Cons; LocalRegion=Region; MaxLipConst=0; NPTS=npts; int i,j,k, idx; int k1,k2,klim; double t1,t2; double r0,M0,Mt,w; double prevR, prevM; double prevprevR, prevprevVal, prevVal; GridLim[npts]=0; for(i=0;i0 || t2==0) { m_neighbors[k].dist= t1; m_neighbors[k].datum= j; m_neighbors[k].diff = g1; w=1./t1; Mt += w; M0 += g1/t1 * w; //* weight? } else { m_neighbors[k].dist= t2; m_neighbors[k].datum= j; m_neighbors[k].diff = -g1; w=1./t2; Mt += w; M0 += -g1/t2 * w; //* weight? } k++; } sort(&(m_neighbors[0]),&(m_neighbors[k]),less_thanEx); // sort(&(m_neighbors1[0]),&(m_neighbors1[k]),less_than); // now find the grid and vals M0 /= Mt; r0=0; for(j=0;j0) { t2=g1/d1; if(t2>=M0) { if(r0==0) {r0=d1; t2 = g1; klim=j; goto L1;} } } } L1: // save them if(r0==0) { r0=d1; // max dist idx=GridLim[npts + i ]; GridRT.push_back((float)d1); GridValT.push_back((float)g1); GridLim[i]=1; goto L3; // end of the loop } idx=GridLim[npts + i ]; GridRT.push_back((float)r0); GridValT.push_back((float)t2); M0=t2/r0; GridLim[i]=1; MaxLipConst=max__(M0,MaxLipConst); prevprevR=0; prevprevVal=0; prevR=r0; prevM=M0; prevVal=t2; // now all the rest for(j=klim+1;jprevR) { if(t1> (d1-prevR)*prevM + t2 ) { GridRT.push_back((float)d1); GridValT.push_back((float)t1); GridLim[i]++; prevprevR=prevR; prevprevVal=prevVal; prevM = (t1-t2) / (d1-prevR); prevR=d1; prevVal=t1; t2=t1; MaxLipConst=max__(MaxLipConst, prevM); }} else { //d1==prevR, update is LipConst > if(t1>t2) { GridValT[GridValT.size()-1]=(float)t1; prevM = (t1-prevprevVal)/(d1-prevprevR); prevprevVal=prevVal; prevVal=t1; t2=t1; MaxLipConst=max__(MaxLipConst, prevM); } } } //j loop L3: GridLim[npts+i+1]=GridLim[i]+GridLim[npts+i]; } // reallocate GridR and GridVal idx=GridLim[npts+npts]; GridR=(float*) malloc(sizeof(float)*idx); GridVal=(float*) malloc(sizeof(float)*idx); for(i=0;i0) LipConst[dir] = max__(LipConst[dir], g1/d1); } } MaxLipConst=0; for(i=0;id2) g2=d2; } } else { for(i1=0;i1d2) g2=d2; } } if(UseOtherBounds) { g1=max__(g1,ExtraLowerBound(dim,x,Lipconst)); g2=min__(g2,ExtraUpperBound(dim,x,Lipconst)); } return 0.5*(g1+g2); } void SLipIntInf::ComputeLipschitz(int dim, int npts, double* XData, double* YData) { if(LipConst!=NULL) { if(dim!=Dim) { free(LipConst); LipConst=(double*) malloc(sizeof(double)*dim); } } else LipConst=(double*) malloc(sizeof(double)*dim); for(j=0;j0) LipConst[dir] = max__(LipConst[dir], g1/d1); } } MaxLipConst=0; for(i=0;i Row,Col; vector Vals, Obj; Vals.push_back(0); Row.push_back(0); Col.push_back(0); Obj.push_back(0); double d; m_theneighbors=(OneRow**) malloc(sizeof(OneRow*)*Ndata); for(i=0;iReset(); // reset all the indices for(ii=0;iiAddDistance(d,direction,jj); } m_theneighbors[ii]->Pack(tempneigbor); tempneigbor->Reset(); } delete tempneigbor; // all distances computed // sort every row for(i=0;iSortAll(); double temp1, temp2; k=1; j=-1; int dir; #ifdef LPSOLVE MyLP = make_lp( 2*Ndata, 0); MyLP->do_presolve=FALSE; set_verbose(MyLP,0); #else MyLP = lpx_create_prob(); lpx_add_rows(MyLP, 2*Ndata); lpx_set_int_parm(MyLP,LPX_K_MSGLEV,0); int Columns=0, cnt=0; lpx_set_obj_dir(MyLP, LPX_MIN); #endif double row[5], row1[5]; int rowno[5]; row[1]=1; row[2]=-1; row[3]=-1; row[4]=1; rowno[0]=0; row1[1]=-1; row1[2]=1; row1[3]=1; row1[4]=-1; for(ii=0;iiResetCounter(); jj=m_theneighbors[ii]->GetNextJ(temp1,dir); // distance, direction i=(index==NULL) ? ii : index[ii]; while(jj>=0) { m_theneighbors[ii]->RemoveReferences(m_theneighbors[jj],dir); j=(index==NULL) ? jj : index[jj]; //temp1=dist(i,j); temp2=(YData[i]-YData[j]); if(LCf==1) m_Lip=min__(LocalLC[i],LocalLC[j]); // because the distance is symmetric // in columns row[0]=m_Lip*temp1 - temp2; // was RHS rowno[1]=ii+1; rowno[2]=jj+1; rowno[3]=ii+1+Ndata; rowno[4]=jj+1+Ndata; row1[0]=m_Lip*temp1 + temp2; // was RHS #ifdef LPSOLVE add_columnex(MyLP, 5, row, rowno); add_columnex(MyLP, 5, row1, rowno); #else Columns++; Obj.push_back(row[0]); for(it=1;it<=4;it++) { Row.push_back(rowno[it]); Col.push_back(Columns); Vals.push_back(row[it]); cnt++; } Columns++; Obj.push_back(row1[0]); for(it=1;it<=4;it++) { Row.push_back(rowno[it]); Col.push_back(Columns); Vals.push_back(row1[it]); cnt++; } #endif k+=2; jj=m_theneighbors[ii]->GetNextJ(temp1,dir); // dist, direction } m_theneighbors[ii]->ComputeSets(); // restore the sets for subseuent computations // I will never need the distances... remove them? } // clear memory, everything is already in the hash table for (i=0;i Row,Col; vector Vals, Obj; Vals.reserve(4*Ndata*(Ndata-1)+1); Row.reserve(4*Ndata*(Ndata-1)+1); Col.reserve(4*Ndata*(Ndata-1)+1); Obj.reserve(Ndata*Ndata+1); Vals.push_back(0); Row.push_back(0); Col.push_back(0); Obj.push_back(0); #ifdef LPSOLVE if(KeepCVProblem==3) { delete_lp(MyLP);KeepCVProblem=0;} MyLP = make_lp( 2*Ndata, 0); MyLP->do_presolve=FALSE; set_verbose(MyLP,0); #else if(KeepCVProblem==3) { lpx_delete_prob(MyLP);KeepCVProblem=0;} MyLP = lpx_create_prob(); lpx_add_rows(MyLP, 2*Ndata); lpx_set_int_parm(MyLP,LPX_K_MSGLEV,0); int Columns=0, cnt=0; lpx_set_obj_dir(MyLP, LPX_MIN); #endif double row[5], row1[5]; int rowno[5]; // all pairs row[1]=1; row[2]=-1; row[3]=-1; row[4]=1; rowno[0]=0; row1[1]=-1; row1[2]=1; row1[3]=1; row1[4]=-1; for(ii=0;ii Obj; Obj.reserve(Ndata*Ndata+2); Obj.push_back(0); int Columns=0; // all pairs for(ii=0;ii Row,Col; vector Vals, Obj; Vals.push_back(0); Row.push_back(0); Col.push_back(0); Obj.push_back(0); double d; m_theneighbors=(OneRow**) malloc(sizeof(OneRow*)*Ndata); for(i=0;iReset(); // reset all the indices for(ii=0;iiAddDistance(d,direction,j); tempneigbor->AddDistance(d,direction,jj); } m_theneighbors[ii]->Pack(tempneigbor); tempneigbor->Reset(); } delete tempneigbor; // all distances computed // sort every row for(i=0;iSortAll(); // use setrowmode !!! hash s memory hungry double temp1, temp2; k=1; j=-1; int dir; #ifdef LPSOLVE MyLP = make_lp( 2*Ndata, 0); MyLP->do_presolve=FALSE; set_verbose(MyLP,0); #else MyLP = lpx_create_prob(); lpx_add_rows(MyLP, 2*Ndata); lpx_set_int_parm(MyLP,LPX_K_MSGLEV,0); int Columns=0, cnt=0; lpx_set_obj_dir(MyLP, LPX_MIN); #endif double row[5], row1[5]; int rowno[5]; // all pairs row[1]=1; row[2]=-1; row[3]=-1; row[4]=1; rowno[0]=0; row1[1]=-1; row1[2]=1; row1[3]=1; row1[4]=-1; for(ii=0;iiResetCounter(); jj=m_theneighbors[ii]->GetNextJ(temp1,dir); // distance, direction i=(index==NULL) ? ii : index[ii]; while(jj>=0) { m_theneighbors[ii]->RemoveReferences(m_theneighbors[jj],dir); j=(index==NULL) ? jj : index[jj]; temp2=(YData[i]-YData[j]); // in columns row[0]=m_Lip*temp1 - temp2; // was RHS row1[0]=m_Lip*temp1 + temp2; // was RHS rowno[1]=ii+1; rowno[2]=jj+1; rowno[3]=ii+1+Ndata; rowno[4]=jj+1+Ndata; #ifdef LPSOLVE add_columnex(MyLP, 5, row, rowno); add_columnex(MyLP, 5, row1, rowno); #else Columns++; Obj.push_back(row[0]); for(it=1;it<=4;it++) { Row.push_back(rowno[it]); Col.push_back(Columns); Vals.push_back(row[it]); cnt++; } Columns++; Obj.push_back(row1[0]); for(it=1;it<=4;it++) { Row.push_back(rowno[it]); Col.push_back(Columns); Vals.push_back(row1[it]); cnt++; } #endif k+=2; jj=m_theneighbors[ii]->GetNextJ(temp1,dir); // dist, direction } m_theneighbors[ii]->ComputeSets(); // restore the sets for subseuent computations // I will never need the distances... remove them? } // clear memory, everything is already in the hash table for (i=0;i= 0) return +1; else return -1; } int SLipClass::ValueClass(int dim, int npts, double* x, double* XData, double* YData, double LipConst) { if(Value( dim, npts, x, XData, YData, LipConst) >= 0) return +1; else return -1; } int SLipClass::ValueConsLeftRegionClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double LipConst, double* LeftRegion) { if(ValueConsLeftRegion( dim, npts, Cons, x, XData, YData, LipConst, LeftRegion) >= 0) return +1; else return -1; } int SLipClass::ValueConsRightRegionClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double LipConst, double* RightRegion) { if(ValueConsRightRegion( dim, npts, Cons, x, XData, YData, LipConst, RightRegion) >= 0) return +1; else return -1;} int SLipClass::ValueLocalClass(int dim, int npts, double* x, double* XData, double* YData) { if(ValueLocal( dim, npts, x, XData, YData) >= 0) return +1; else return -1;} int SLipClass::ValueLocalConsClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData) { if(ValueLocalCons( dim, npts, Cons, x, XData, YData) >= 0) return +1; else return -1;} int SLipClass::ValueLocalConsLeftRegionClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double* LeftRegion) { if(ValueLocalConsLeftRegion( dim, npts, Cons, x, XData, YData, LeftRegion) >= 0) return +1; else return -1;} int SLipClass::ValueLocalConsRightRegionClass(int dim, int npts, int* Cons, double* x, double* XData, double* YData, double* RightRegion) { if(ValueLocalConsRightRegion( dim, npts, Cons, x, XData, YData, RightRegion) >= 0) return +1; else return -1;} void SLipClass::SmoothLipschitzClass(int dim, int npts, double* XData, double* YData, double* TData, double *LC) { SmoothLipschitz2Classinternal(dim,npts, XData, YData, TData, 0,0,0, LC, LC, NULL);} void SLipClass::SmoothLipschitzWClass(int dim, int npts, double* XData, double* YData, double* TData, double *LC, double* W) { SmoothLipschitz2Classinternal(dim,npts,XData, YData, TData, 0,1,0, LC, W, NULL);} void SLipClass::SmoothLipschitzConsClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC) { SmoothLipschitz2Classinternal(dim,npts,XData, YData, TData, 0,0, 1, LC, LC, Cons); } void SLipClass::SmoothLipschitzWConsClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC, double* W) { SmoothLipschitz2Classinternal(dim,npts,XData, YData, TData, 0,1,1, LC, W, Cons);} void SLipClass::SmoothLipschitzConsLeftRegionClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC, double* LeftRegion) { SmoothLipschitz2Classinternal(dim,npts,XData, YData, TData, 0,0, 1, LC, LC, Cons, 1, LeftRegion); } void SLipClass::SmoothLipschitzConsRightRegionClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC, double* RightRegion) { SmoothLipschitz2Classinternal(dim,npts,XData, YData, TData, 0,0, 1, LC, LC, Cons, 2, RightRegion); } void SLipClass::SmoothLipschitzWConsLeftRegionClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC, double* W, double* LeftRegion) { SmoothLipschitz2Classinternal(dim,npts,XData, YData, TData, 0,1, 1, LC, W, Cons, 1, LeftRegion); } void SLipClass::SmoothLipschitzWConsRightRegionClass(int dim, int npts, int* Cons, double* XData, double* YData, double* TData, double *LC, double* W, double* RightRegion) { SmoothLipschitz2Classinternal(dim,npts,XData, YData, TData, 0,1, 1, LC, W, Cons, 2, RightRegion); } int sign(double a) {return (a>=0)? 1:-1;} void SLipClass::SmoothLipschitz2Classinternal(int dim, int npts, double* XData, double* YData, double* TData, int LCf, int Wf,int Cf, double* LocalLC, double* W, int* Cons, int region, double* Region, int* index) {// assumes YData are + or -1 int i,j,k, iind, jind ,it, ii,jj; int Ndata=npts; int Dim=dim; double m_Lip = *LocalLC; if(SmoothingParam>0) m_Lip=0; // will find it myself double d,d1; double temp2; k=1; j=-1; MyLP = lpx_create_prob(); if(SmoothingParam==0) lpx_add_rows(MyLP, 2*Ndata); else lpx_add_rows(MyLP, 2*Ndata+1); lpx_set_int_parm(MyLP,LPX_K_MSGLEV,0); int Columns=0; lpx_set_obj_dir(MyLP, LPX_MIN); double row[3], row1[3]; int rowno[3]; row[1]=1; // jst cach these values row[2]=-1; row1[1]=-1; row1[2]=1; rowno[0]=0; { vector Row,Col; vector Vals, Obj, Lastrow; Vals.reserve(2*Ndata*(Ndata+1)+1); Row.reserve(2*Ndata*(Ndata+1)+1); Col.reserve(2*Ndata*(Ndata+1)+1); Obj.reserve(2*Ndata*(Ndata+1)+1); Lastrow.reserve(2*Ndata*Ndata+1); Vals.push_back(0); Row.push_back(0); Col.push_back(0); Obj.push_back(0); Lastrow.push_back(0); // all pairs for(ii=0;ii0) { k=2*Ndata+1; // last row for(i=1;i<=Columns;i++) { Row.push_back(k); Col.push_back(i); Vals.push_back(-Lastrow[i]); } } row[0]=0; row[2]=-1; rowno[0]=0; row[1]=1; for(ii=0;ii=0? -1 : +1);; rowno[1]=ii+1; rowno[2]=ii+1+Ndata; k++; Columns++; Obj.push_back(row[0]); for(it=1;it<=2;it++) { Row.push_back(rowno[it]); Col.push_back(Columns); Vals.push_back(row[it]); } } row[0]=Penalty; // was RHS row[2]=-1; row[1]=(Penalty+1); rowno[0]=0; for(ii=0;ii=0? -1 : +1); rowno[1]=ii+1; rowno[2]=ii+1+Ndata; k++; Columns++; Obj.push_back(row[0]); for(it=1;it<=2;it++) { Row.push_back(rowno[it]); Col.push_back(Columns); Vals.push_back(row[it]); } } k--; // total columns m_number_constraints=k; lpx_add_cols(MyLP, Columns); // how many if(SmoothingParam>0) lpx_load_matrix(MyLP, 2 * Columns+ColTem, &Row[0], &Col[0], &Vals[0]); else lpx_load_matrix(MyLP, 2 * Columns, &Row[0], &Col[0], &Vals[0]); for(it=1;it<=Columns;it++) { lpx_set_obj_coef(MyLP, it, Obj[it]); lpx_set_col_bnds(MyLP, it, LPX_LO, 0.0,0.0); //>=0 } Row.clear(); Col.clear(); Vals.clear(); Obj.clear(); Lastrow.clear(); } // rhs for(i=0;i0) lpx_set_row_bnds(MyLP, Ndata*2+1, LPX_LO, -Ndata*SmoothingParam, 0.0); m_lasterror=0; int res; double minval; double u,v; #ifdef IPT res=lpx_interior(MyLP); #else res=lpx_simplex(MyLP); #endif if(res==LPX_E_OK) { #ifdef IPT m_minvalue = minval = -lpx_ipt_obj_val(MyLP);// -get_objective(MyLP) ; // minimum #else m_minvalue = minval = -lpx_get_obj_val(MyLP);// -get_objective(MyLP) ; // minimum #endif for(i=1;i<=Ndata;i++) { #ifdef IPT u=lpx_ipt_row_dual(MyLP,i); #else u=lpx_get_row_dual(MyLP,i); #endif ii=(index==NULL) ? i-1 : index[i-1]; TData[ii] = YData[ii] + (u)*-sign(YData[ii]); } if(SmoothingParam>0) { // Optimal Lipschitz constant? #ifdef IPT LocalLC[0] = lpx_ipt_row_dual(MyLP,2*Ndata+1); #else LocalLC[0] = lpx_get_row_dual(MyLP,2*Ndata+1); #endif } } else m_lasterror=res; // LP not solved lpx_delete_prob(MyLP); } /* This function implements the golden section search algorithm. Input: A,B: the interval ends, B > A. Output: The argument that minimizes f() The makes successive calls to f() until it has found the minimum with the desired accuracy */ double SLipIntBasic::golden(double A, double B) { double alf1=0, alf2=0; double falf1=0, falf2=0; //double G=0.618034; /* The golden section */ double G=(-1.+sqrt(5.))/2.; /* The golden section */ double tol; int N1=80; //Number of Fibonacci search steps int N2=17; //Number of Golden section search steps double increment; int i,sign =0; double q0,q1,q2,alfA,alfB; double delta=0.05; //factor for determining the initial interval of uncertainty /* Make sure B > A */ if (B<=A) { // fprintf(stderr,"golden: error: Illegal interval ends\n"); return A; } /*Fibonacci search*/ q0=A; q1= q0 + delta; increment=delta*(G+1); q2=q1+increment; falf1=Fun(q1); if (falf1>(Fun(q0))) { //printf("Error: please choose a new starting point A"); //return 0; A=q0; B=q1; goto Gold; } for (i=0;ifalf1) { // Shift re-usable results left B = alf2; alf2 = alf1; falf2 = falf1; // Compute new alf1 and function value alf1 = A + (1-G)*(B-A); falf1 = (Fun)(alf1); } // otherwise, use the right hand interval else { // Shift re-usable results left A = alf1; alf1 = alf2; falf1 = falf2; // Compute new Alpha2 and function value alf2 = B - (1-G)*(B-A); falf2 = (Fun)(alf2); } } // Golden section loop /* Return the midpoint of the interval when it is small enough */ return (alf1+alf2)/2; } /* golden */ double SLipIntBasic::Fun(double x) { switch( TypeLipEstimate) { case 1: return MinFuncCV(x); case 2: return MinFuncLocalSplit(x); case 0: default: return MinFuncSplit(x); } } double SLipIntBasic::MinFuncSplit(double x) { M=x; // set up LipConst ComputeSmoothenedSplit(); return ComputeFitIndex(); } double SLipIntBasic::MinFuncCV(double x) { M=x; // set up LipConst return ComputeFitIndexCV(); } double SLipIntBasic::MinFuncLocalSplit(double x) { M=x; // set up LipConst return 0 ; // ComputeSmoothenedLocalSplit(); } /************** The methods below implement sample splitting and cross-validation ***********/ int SLipIntBasic::ComputeSmoothenedSplit() { // called by Problem.fv() // interpretation of the flags int Wf= (LocalW==0?0:1); int Tf=(type>0?1:0); int region=0; if(type ==2) region=1; else if(type==3) region=2; SmoothLipschitz2internal(Dim, Indexsize, LocalXData, LocalYData, LocalTData, 0, Wf, Tf, &M, LocalW, LocalCons, region, LocalRegion, Index); return 0; } int SLipIntBasic::ComputeFitLipschitzCV(int excluded) { // called by golden section int Wf= (LocalW==0?0:1); int Tf=(type>0?1:0); int region=0; if(type ==2) region=1; else if(type==3) region=2; int iL,iI; // set up index arrays iI=0; for(iL=0;iLexcluded) } if(KeepCVProblem==1) { SmoothLipschitz2internal(Dim, Indexsize, LocalXData, LocalYData, LocalTData, 0, Wf, Tf, &M, LocalW, LocalCons, region, LocalRegion, Index); KeepCVProblem=2; } else if (KeepCVProblem==2) SmoothLipschitz2internalUpdate(Dim, Indexsize, LocalXData, LocalYData, LocalTData, 0, Wf, Tf, &M, LocalW, LocalCons, region, LocalRegion, Index); return 0; } int SLipIntBasic::ComputeLipschitzFinal() // called once the optimal Lipschitz constant has been found. Smoothen the whole data set. { int Wf= (LocalW==0?0:1); int Tf=(type>0?1:0); int region=0; if(type ==2) region=1; else if(type==3) region=2; SmoothLipschitz2internal(Dim, NPTS, LocalXData, LocalYData, LocalTData, 0, Wf, Tf, &M, LocalW, LocalCons, region, LocalRegion,NULL); return 0; } int SLipIntInf::ComputeSmoothenedSplit() { if(Dim>=5) return SLipIntBasic::ComputeSmoothenedSplit(); int Wf= (LocalW==0?0:1); SmoothLipschitzInfinternal(Dim, Indexsize, LocalXData, LocalYData, LocalTData, 0, Wf, &M, LocalW, Index); return 0; } int SLipIntInf::ComputeFitLipschitzCV(int excluded) { if(Dim>=5) return SLipIntBasic::ComputeFitLipschitzCV(excluded); int Wf= (LocalW==0?0:1); int iL,iI; // set up index arrays iI=0; for(iL=0;iLexcluded) } SmoothLipschitzInfinternal(Dim, Indexsize, LocalXData, LocalYData, LocalTData, 0, Wf, &M, LocalW, Index); return 0; } int SLipIntInf::ComputeLipschitzFinal() // called once the optimal Lipschitz constant has been found. Smoothen the whole data set. { int Wf= (LocalW==0?0:1); if(Dim < 5) SmoothLipschitzInfinternal(Dim, NPTS, LocalXData, LocalYData, LocalTData, 0, Wf, &M, LocalW, NULL); else return SLipIntBasic::ComputeLipschitzFinal(); return 0; } /********* Generic methods for CV and sample splitting ******/ double SLipIntBasic::ComputeFitIndex() {// compute goodness of fit int i,idx; double r1,r=0; for(i=0;i< IndexsizeComp; i++) { idx=IndexComp[i]*Dim; r1=value(Dim, Indexsize, &(LocalXData[idx]), LocalXData, LocalTData, M, Index, type, LocalCons, LocalRegion); r+= sqr__(LocalYData[IndexComp[i]] - r1); } return r; } double SLipIntBasic::ComputeFitIndexCV() {// compute goodness of fit using CV, called from golden section int i,idx, excl; double r1,r=0; for(excl=0;excl=IndexsizeComp || RandomBin(SplitP)) ) { Index[j]=i; j++;} else { IndexComp[k]=i; k++; } } } void SLipIntBasic::PrepareLipschitzCV() { // prepares the arrays for CV Indexsize= NPTS - 1; ND=Indexsize; IndexsizeComp=NPTS-Indexsize; Index=(int*) malloc(Indexsize*sizeof(int)); IndexComp=(int*) malloc(IndexsizeComp*sizeof(int)); for(i=0;i. -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPAVL_H #define _GLPAVL_H #include "glpdmp.h" #define avl_create_tree glp_avl_create_tree #define avl_strcmp glp_avl_strcmp #define avl_insert_by_key glp_avl_insert_by_key #define avl_find_next_node glp_avl_find_next_node #define avl_find_prev_node glp_avl_find_prev_node #define avl_find_by_key glp_avl_find_by_key #define avl_next_by_key glp_avl_next_by_key #define avl_insert_by_pos glp_avl_insert_by_pos #define avl_find_by_pos glp_avl_find_by_pos #define avl_delete_node glp_avl_delete_node #define avl_rotate_subtree glp_avl_rotate_subtree #define avl_delete_tree glp_avl_delete_tree typedef struct AVLTREE AVLTREE; typedef struct AVLNODE AVLNODE; struct AVLTREE { /* AVL tree (Adelson-Velsky & Landis binary search tree) */ DMP *pool; /* memory pool for allocating nodes */ void *info; /* transit pointer passed to the routine fcmp */ int (*fcmp)(void *info, void *key1, void *key2); /* user-defined key comparison routine; if this field is NULL, ordering by keys is not used */ int size; /* size of the tree = total number of nodes */ AVLNODE *root; /* pointer to the root node */ int height; /* height of the tree */ }; struct AVLNODE { /* node of AVL tree */ void *key; /* pointer to node key (data structure for representing keys is supplied by the user) */ int rank; /* node rank = relative position of the node in its own subtree = number of nodes in the left subtree plus one */ int type; /* reserved for application specific information */ void *link; /* reserved for application specific information */ AVLNODE *up; /* pointer to the parent node */ short int flag; /* node flag: 0 - this node is the left child of its parent (or this node is the root of the tree and has no parent) 1 - this node is the right child of its parent */ short int bal; /* node balance = the difference between heights of the right and left subtrees: -1 - the left subtree is higher than the right one; 0 - the left and right subtrees have the same height; +1 - the left subtree is lower than the right one */ AVLNODE *left; /* pointer to the root of the left subtree */ AVLNODE *right; /* pointer to the root of the right subtree */ }; AVLTREE *avl_create_tree(void *info, int (*fcmp)(void *info, void *key1, void *key2)); /* create AVL tree */ int avl_strcmp(void *info, void *key1, void *key2); /* compare keys of character string type */ AVLNODE *avl_insert_by_key(AVLTREE *tree, void *key); /* insert new node with given key into AVL tree */ AVLNODE *avl_find_next_node(AVLTREE *tree, AVLNODE *node); /* find next node in AVL tree */ AVLNODE *avl_find_prev_node(AVLTREE *tree, AVLNODE *node); /* find previous node in AVL tree */ AVLNODE *avl_find_by_key(AVLTREE *tree, void *key); /* find first node with given key in AVL tree */ AVLNODE *avl_next_by_key(AVLTREE *tree, AVLNODE *node); /* find next node with same key in AVL tree */ AVLNODE *avl_insert_by_pos(AVLTREE *tree, int pos); /* insert new node into given position of AVL tree */ AVLNODE *avl_find_by_pos(AVLTREE *tree, int pos); /* find node placed in given position of AVL tree */ void avl_delete_node(AVLTREE *tree, AVLNODE *node); /* delete specified node from AVL tree */ AVLNODE *avl_rotate_subtree(AVLTREE *tree, AVLNODE *node); /* restore balance of AVL subtree */ void avl_delete_tree(AVLTREE *tree); /* delete AVL tree */ #endif /* eof */ liblip-2.0.0/include/glpk/glpinv.h0000644000175000017500000001646610426015340013745 00000000000000/* glpinv.h (invertable form of basis matrix) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPINV_H #define _GLPINV_H #include "glpluf.h" #define inv_create glp_inv_create #define inv_decomp glp_inv_decomp #define inv_h_solve glp_inv_h_solve #define inv_ftran glp_inv_ftran #define inv_btran glp_inv_btran #define inv_update glp_inv_update #define inv_delete glp_inv_delete /*---------------------------------------------------------------------- -- The structure INV defines an invertable form of the basis matrix B, -- which is based on LU-factorization and is the following sextet: -- -- [B] = (F, H, V, P0, P, Q), (1) -- -- where F, H, and V are such matrices that -- -- B = F * H * V, (2) -- -- and P0, P, and Q are such permutation matrices that the matrix -- -- L = P0 * F * inv(P0) (3) -- -- is lower triangular with unity diagonal, and the matrix -- -- U = P * V * Q (4) -- -- is upper triangular. All the matrices have the same order m, which -- is the order of the basis matrix B. -- -- The matrices F, V, P, and Q are stored in the structure LUF (see the -- section GLPLUF), which is a member of the structure INV. -- -- The matrix H is stored in the form of eta file using row-like format -- as follows: -- -- H = H[1] * H[2] * ... * H[nfs], (5) -- -- where H[k], k = 1, 2, ..., nfs, is a row-like factor, which differs -- from the unity matrix only by one row, nfs is current number of row- -- like factors. After the factorization has been built for some given -- basis matrix B the matrix H has no factors and thus it is the unity -- matrix. Then each time when the factorization is recomputed for an -- adjacent basis matrix, the next factor H[k], k = 1, 2, ... is built -- and added to the end of the eta file H. -- -- Being sparse vectors non-trivial rows of the factors H[k] are stored -- in the right part of the sparse vector area (SVA) in the same manner -- as rows and columns of the matrix F. -- -- For more details see the program documentation. */ typedef struct INV INV; struct INV { /* invertable (factorized) form of the basis matrix */ int m; /* order of the matrices B, F, H, V, P0, P, Q */ int valid; /* if this flag is not set, the invertable form is invalid and can't be updated nor used in ftran and btran operations */ LUF *luf; /* LU-factorization (holds the matrices F, V, P, Q) */ /*--------------------------------------------------------------*/ /* matrix H in the form of eta file */ int hh_max; /* maximal number of row-like factors (that limits maximal number of updates of the factorization) */ int hh_nfs; /* current number of row-like factors (0 <= hh_nfs <= hh_max) */ int *hh_ndx; /* int hh_ndx[1+hh_max]; */ /* hh_ndx[0] is not used; hh_ndx[k], k = 1, ..., nfs, is number of a non-trivial row of the factor H[k] */ int *hh_ptr; /* int hh_ptr[1+hh_max]; */ /* hh_ptr[0] is not used; hh_ptr[k], k = 1, ..., nfs, is a pointer to the first element of the non-trivial row of the factor H[k] in the sparse vector area */ int *hh_len; /* int hh_len[1+hh_max]; */ /* hh_len[0] is not used; hh_len[k], k = 1, ..., nfs, is total number of elements in the non-trivial row of the factor H[k] */ /*--------------------------------------------------------------*/ /* matrix P0 */ int *p0_row; /* int p0_row[1+n]; */ /* p0_row[0] is not used; p0_row[i] = j means that p0[i,j] = 1 */ int *p0_col; /* int p0_col[1+n]; */ /* p0_col[0] is not used; p0_col[j] = i means that p0[i,j] = 1 */ /* if i-th row or column of the matrix F corresponds to i'-th row or column of the matrix L = P0*F*inv(P0), then p0_row[i'] = i and p0_col[i] = i' */ /*--------------------------------------------------------------*/ /* partially transformed column is inv(F*H)*B[j], where B[j] is a new column, which will replace the existing j-th column of the basis matrix */ int cc_len; /* number of (non-zero) elements in the partially transformed column; if cc_len < 0, the column has been not prepared yet */ int *cc_ndx; /* int cc_ndx[1+m]; */ /* cc_ndx[0] is not used; cc_ndx[k], k = 1, ..., cc_len, is a row index of the partially transformed column element */ double *cc_val; /* double cc_val[1+m]; */ /* cc_val[0] is not used; cc_val[k], k = 1, ..., cc_len, is a numerical (non-zero) value of the column element */ /*--------------------------------------------------------------*/ /* control parameters */ double upd_tol; #if 0 /* update tolerance; if on updating the factorization absolute value of some diagonal element of the matrix U = P*V*Q is less than upd_tol, the factorization is considered as inaccurate */ #else /* update tolerance; if after the factorization has been updated absolute value of some diagonal element u[k,k] of the matrix U = P*V*Q is less than upd_tol * max(|u[k,*]|, |u[*,k]|), the factorization is considered as inaccurate */ #endif /*--------------------------------------------------------------*/ /* some statistics */ int nnz_h; /* current number of non-zeros in all factors of the matrix H */ }; INV *inv_create(int m, int max_upd); /* create factorization of the basis matrix */ int inv_decomp(INV *inv, void *info, int (*col)(void *info, int j, int rn[], double bj[])); /* compute factorization of the basis matrix */ void inv_h_solve(INV *inv, int tr, double x[]); /* solve system H*x = b or H'*x = b */ void inv_ftran(INV *inv, double x[], int save); /* perform forward transformation (FTRAN) */ void inv_btran(INV *inv, double x[]); /* perform backward transformation (BTRAN) */ int inv_update(INV *inv, int j); /* update factorization for adjacent basis matrix */ void inv_delete(INV *inv); /* delete factorization of the basis matrix */ #endif /* eof */ liblip-2.0.0/include/glpk/glpk.h0000644000175000017500000000233110426015340013365 00000000000000/* glpk.h */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPK_H #define _GLPK_H #include "glpios.h" #include "glplib.h" #include "glplpx.h" #endif /* eof */ liblip-2.0.0/include/glpk/glplpx.h0000644000175000017500000013466510426015340013756 00000000000000/* glplpx.h (LP/MIP problem object) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPLPX_H #define _GLPLPX_H #include "glpavl.h" #include "glpinv.h" #include "glpstr.h" #define lpx_create_prob glp_lpx_create_prob #define lpx_set_prob_name glp_lpx_set_prob_name #define lpx_set_class glp_lpx_set_class #define lpx_set_obj_name glp_lpx_set_obj_name #define lpx_set_obj_dir glp_lpx_set_obj_dir #define lpx_add_rows glp_lpx_add_rows #define lpx_add_cols glp_lpx_add_cols #define lpx_set_row_name glp_lpx_set_row_name #define lpx_set_col_name glp_lpx_set_col_name #define lpx_set_col_kind glp_lpx_set_col_kind #define lpx_set_row_bnds glp_lpx_set_row_bnds #define lpx_set_col_bnds glp_lpx_set_col_bnds #define lpx_set_obj_coef glp_lpx_set_obj_coef #define lpx_set_mat_row glp_lpx_set_mat_row #define lpx_set_mat_col glp_lpx_set_mat_col #define lpx_load_matrix glp_lpx_load_matrix #define lpx_order_matrix glp_lpx_order_matrix #define lpx_set_rii glp_lpx_set_rii #define lpx_set_sjj glp_lpx_set_sjj #define lpx_set_row_stat glp_lpx_set_row_stat #define lpx_set_col_stat glp_lpx_set_col_stat #define lpx_del_rows glp_lpx_del_rows #define lpx_del_cols glp_lpx_del_cols #define lpx_delete_prob glp_lpx_delete_prob #if 1 /* 15/VIII-2004 */ #define lpx_create_index glp_lpx_create_index #define lpx_find_row glp_lpx_find_row #define lpx_find_col glp_lpx_find_col #define lpx_delete_index glp_lpx_delete_index #endif #define lpx_put_lp_basis glp_lpx_put_lp_basis #define lpx_put_solution glp_lpx_put_solution #define lpx_put_ray_info glp_lpx_put_ray_info #define lpx_put_ipt_soln glp_lpx_put_ipt_soln #define lpx_put_mip_soln glp_lpx_put_mip_soln #define lpx_get_prob_name glp_lpx_get_prob_name #define lpx_get_class glp_lpx_get_class #define lpx_get_obj_name glp_lpx_get_obj_name #define lpx_get_obj_dir glp_lpx_get_obj_dir #define lpx_get_num_rows glp_lpx_get_num_rows #define lpx_get_num_cols glp_lpx_get_num_cols #define lpx_get_num_int glp_lpx_get_num_int #define lpx_get_num_bin glp_lpx_get_num_bin #define lpx_get_row_name glp_lpx_get_row_name #define lpx_get_col_name glp_lpx_get_col_name #define lpx_get_col_kind glp_lpx_get_col_kind #define lpx_get_row_type glp_lpx_get_row_type #define lpx_get_row_lb glp_lpx_get_row_lb #define lpx_get_row_ub glp_lpx_get_row_ub #define lpx_get_col_type glp_lpx_get_col_type #define lpx_get_col_lb glp_lpx_get_col_lb #define lpx_get_col_ub glp_lpx_get_col_ub #define lpx_get_obj_coef glp_lpx_get_obj_coef #define lpx_get_num_nz glp_lpx_get_num_nz #define lpx_get_mat_row glp_lpx_get_mat_row #define lpx_get_mat_col glp_lpx_get_mat_col #define lpx_get_rii glp_lpx_get_rii #define lpx_get_sjj glp_lpx_get_sjj #define lpx_is_b_avail glp_lpx_is_b_avail #define lpx_get_b_info glp_lpx_get_b_info #define lpx_get_row_b_ind glp_lpx_get_row_b_ind #define lpx_get_col_b_ind glp_lpx_get_col_b_ind #define lpx_access_inv glp_lpx_access_inv #define lpx_get_status glp_lpx_get_status #define lpx_get_prim_stat glp_lpx_get_prim_stat #define lpx_get_dual_stat glp_lpx_get_dual_stat #define lpx_get_obj_val glp_lpx_get_obj_val #define lpx_get_row_stat glp_lpx_get_row_stat #define lpx_get_row_prim glp_lpx_get_row_prim #define lpx_get_row_dual glp_lpx_get_row_dual #define lpx_get_col_stat glp_lpx_get_col_stat #define lpx_get_col_prim glp_lpx_get_col_prim #define lpx_get_col_dual glp_lpx_get_col_dual #define lpx_get_ray_info glp_lpx_get_ray_info #define lpx_ipt_status glp_lpx_ipt_status #define lpx_ipt_obj_val glp_lpx_ipt_obj_val #define lpx_ipt_row_prim glp_lpx_ipt_row_prim #define lpx_ipt_row_dual glp_lpx_ipt_row_dual #define lpx_ipt_col_prim glp_lpx_ipt_col_prim #define lpx_ipt_col_dual glp_lpx_ipt_col_dual #define lpx_mip_status glp_lpx_mip_status #define lpx_mip_obj_val glp_lpx_mip_obj_val #define lpx_mip_row_val glp_lpx_mip_row_val #define lpx_mip_col_val glp_lpx_mip_col_val #define lpx_get_row_bnds glp_lpx_get_row_bnds /* obsolete */ #define lpx_get_col_bnds glp_lpx_get_col_bnds /* obsolete */ #define lpx_get_row_info glp_lpx_get_row_info /* obsolete */ #define lpx_get_col_info glp_lpx_get_col_info /* obsolete */ #define lpx_reset_parms glp_lpx_reset_parms #define lpx_set_int_parm glp_lpx_set_int_parm #define lpx_get_int_parm glp_lpx_get_int_parm #define lpx_set_real_parm glp_lpx_set_real_parm #define lpx_get_real_parm glp_lpx_get_real_parm #define lpx_scale_prob glp_lpx_scale_prob #define lpx_unscale_prob glp_lpx_unscale_prob #define lpx_std_basis glp_lpx_std_basis #define lpx_adv_basis glp_lpx_adv_basis #define lpx_simplex glp_lpx_simplex #define lpx_check_kkt glp_lpx_check_kkt #define lpx_interior glp_lpx_interior #define lpx_integer glp_lpx_integer #define lpx_intopt glp_lpx_intopt #define lpx_invert glp_lpx_invert #define lpx_ftran glp_lpx_ftran #define lpx_btran glp_lpx_btran #define lpx_eval_b_prim glp_lpx_eval_b_prim #define lpx_eval_b_dual glp_lpx_eval_b_dual #define lpx_warm_up glp_lpx_warm_up #define lpx_eval_tab_row glp_lpx_eval_tab_row #define lpx_eval_tab_col glp_lpx_eval_tab_col #define lpx_transform_row glp_lpx_transform_row #define lpx_transform_col glp_lpx_transform_col #define lpx_prim_ratio_test glp_lpx_prim_ratio_test #define lpx_dual_ratio_test glp_lpx_dual_ratio_test #define lpx_read_mps glp_lpx_read_mps #define lpx_write_mps glp_lpx_write_mps #define lpx_read_bas glp_lpx_read_bas #define lpx_write_bas glp_lpx_write_bas #define lpx_read_freemps glp_lpx_read_freemps #define lpx_write_freemps glp_lpx_write_freemps #define lpx_print_prob glp_lpx_print_prob #define lpx_print_sol glp_lpx_print_sol #define lpx_print_ips glp_lpx_print_ips #define lpx_print_mip glp_lpx_print_mip #define lpx_print_sens_bnds glp_lpx_print_sens_bnds #define lpx_read_cpxlp glp_lpx_read_cpxlp #define lpx_write_cpxlp glp_lpx_write_cpxlp #define lpx_extract_prob glp_lpx_extract_prob #define lpx_read_model glp_lpx_read_model #define lpx_read_prob glp_lpx_read_prob #define lpx_write_prob glp_lpx_write_prob /*---------------------------------------------------------------------- -- The structure LPX is an LP/MIP problem object, which corresponds to -- the following problem statement: -- -- minimize (or maximize) -- -- Z = c[1]*x[m+1] + c[2]*x[m+2] + ... + c[n]*x[m+n] + c[0] (1) -- -- subject to linear constraints -- -- x[1] = a[1,1]*x[m+1] + a[1,2]*x[m+1] + ... + a[1,n]*x[m+n] -- x[2] = a[2,1]*x[m+1] + a[2,2]*x[m+1] + ... + a[2,n]*x[m+n] (2) -- . . . . . . -- x[m] = a[m,1]*x[m+1] + a[m,2]*x[m+1] + ... + a[m,n]*x[m+n] -- -- and bounds of variables -- -- l[1] <= x[1] <= u[1] -- l[2] <= x[2] <= u[2] (3) -- . . . . . . -- l[m+n] <= x[m+n] <= u[m+n] -- -- where: -- x[1], ..., x[m] - rows (auxiliary variables); -- x[m+1], ..., x[m+n] - columns (structural variables); -- Z - objective function; -- c[1], ..., c[n] - coefficients of the objective function; -- c[0] - constant term of the objective function; -- a[1,1], ..., a[m,n] - constraint coefficients; -- l[1], ..., l[m+n] - lower bounds of variables; -- u[1], ..., u[m+n] - upper bounds of variables. -- -- Using vector-matrix notations the LP problem (1)-(3) can be written -- as follows: -- -- minimize (or maximize) -- -- Z = c * x + c[0] (4) -- -- subject to linear constraints -- -- xR = A * xS (5) -- -- and bounds of variables -- -- l <= x <= u (6) -- -- where: -- xR - vector of auxiliary variables; -- xS - vector of structural variables; -- x = (xR, xS) - vector of all variables; -- c - vector of objective coefficients; -- A - constraint matrix (has m rows and n columns); -- l - vector of lower bounds of variables; -- u - vector of upper bounds of variables. -- -- The system of constraints (5) can be written in homogeneous form as -- follows: -- -- A~ * x = 0, (7) -- -- where -- -- A~ = (I | -A) (8) -- -- is an augmented constraint matrix (has m rows and m+n columns), I is -- the unity matrix of the order m. Note that in the structure LPX only -- the original constraint matrix A is explicitly stored. -- -- The current basis is defined by partitioning columns of the matrix -- A~ into basic and non-basic ones, in which case the system (7) can -- be written as -- -- B * xB + N * xN = 0, (9) -- -- where B is a square non-sigular mxm matrix built of basic columns -- and called the basis matrix, N is a mxn matrix built of non-basic -- columns, xB is vector of basic variables, xN is vector of non-basic -- variables. -- -- Using the partitioning (9) the LP problem (4)-(6) can be written in -- a form, which defines components of the corresponding basic solution -- and is called the simplex table: -- -- Z = d * xN + c[0] (10) -- -- xB = A^ * xN (11) -- -- lB <= xB <= uB (12) -- -- lN <= xN <= uN (13) -- -- where: -- -- A^ = (alfa[i,j]) = - inv(B) * N (14) -- -- is the mxn matrix of influence coefficients; -- -- d = (d[j]) = cN - N' * pi (15) -- -- is the vector of reduced costs of non-basic variables; and -- -- pi = (pi[i]) = inv(B') * cB (16) -- -- is the vector of simplex (Lagrange) multipliers, which correspond to -- the equiality constraints (5). -- -- Note that signs of the reduced costs d are determined by the formula -- (15) in both cases of minimization and maximization. -- -- The structure LPX allows scaling the problem. In the scaled problem -- the constraint matrix is scaled and has the form: -- -- A" = R * A * S, (17) -- -- where A is the constraint matrix of the original (unscaled) problem, -- R and S are, respectively, diagonal scaling mxm and nxn matrices with -- positive diagonal elements used to scale rows and columns of A. -- -- The connection between the original and scaled components is defined -- by (17) and expressed with the following formulae: -- -- c" = S * c (objective coefficients) -- -- xR" = R * xR (values of auxiliary variables) -- lR" = R * lR (lower bounds of auxiliary variables) -- uR" = R * uR (upper bounds of auxiliary variables) -- -- xS" = inv(S) * xS (values of structural variables) -- lS" = inv(S) * lS (lower bounds of structural variables) -- uS" = inv(S) * uS (upper bounds of structural variables) -- -- A" = R * A * S (constraint matrix) -- -- Note that substitution scaled components into (4)-(6) gives the same -- LP problem. */ typedef struct LPX LPX; typedef struct LPXROW LPXROW; typedef struct LPXCOL LPXCOL; typedef struct LPXAIJ LPXAIJ; #ifndef _GLPLPX_UNLOCK struct LPX { int none_; }; struct LPX_LOCKED #else struct LPX #endif { /* LP/MIP problem object */ /*--------------------------------------------------------------*/ /* memory management */ DMP *row_pool; /* memory pool for LPXROW objects */ DMP *col_pool; /* memory pool for LPXCOL objects */ DMP *aij_pool; /* memory pool for LPXAIJ objects */ DMP *str_pool; /* memory pool for segmented character strings */ char *str_buf; /* char str_buf[255+1]; */ /* working buffer to store character strings */ /*--------------------------------------------------------------*/ /* LP/MIP data */ STR *name; /* problem name (1 to 255 chars); NULL means no name is assigned to the problem */ int klass; /* problem class: */ #define LPX_LP 100 /* linear programming (LP) */ #define LPX_MIP 101 /* mixed integer programming (MIP) */ STR *obj; /* objective function name (1 to 255 chars); NULL means no name is assigned to the objective function */ int dir; /* optimization direction flag (objective "sense"): */ #define LPX_MIN 120 /* minimization */ #define LPX_MAX 121 /* maximization */ double c0; /* constant term of the objective function ("shift") */ int m_max; /* length of the array of rows (enlarged automatically) */ int n_max; /* length of the array of columns (enlarged automatically) */ int m; /* number of rows, 0 <= m <= m_max */ int n; /* number of columns, 0 <= n <= n_max */ LPXROW **row; /* LPXROW *row[1+m_max]; */ /* row[0] is not used; row[i], 1 <= i <= m, is a pointer to i-th row */ LPXCOL **col; /* LPXCOL *col[1+n_max]; */ /* col[0] is not used; col[j], 1 <= j <= n, is a pointer to j-th column */ #if 1 /* 15/VIII-2004 */ AVLTREE *r_tree; /* row index to find rows by their names; NULL means this index does not exist */ AVLTREE *c_tree; /* column index to find columns by their names; NULL means this index does not exist */ #endif /*--------------------------------------------------------------*/ /* LP basis */ int b_stat; /* basis status: */ #define LPX_B_UNDEF 130 /* current basis is undefined */ #define LPX_B_VALID 131 /* current basis is valid */ int *basis; /* int basis[1+m_max]; */ /* basis header (valid only if the basis status is LPX_B_VALID): basis[0] is not used; basis[i] = k is the ordinal number of auxiliary (1 <= k <= m) or structural (m+1 <= k <= m+n) variable which corresponds to i-th basic variable xB[i], 1 <= i <= m */ INV *b_inv; /* INV b_inv[1:m,1:m]; */ /* factorization (invertable form) of the current basis matrix; NULL means the factorization does not exist; it is valid only if the basis status is LPX_B_VALID */ /*--------------------------------------------------------------*/ /* LP/MIP solution */ int p_stat; /* status of primal basic solution: */ #define LPX_P_UNDEF 132 /* primal solution is undefined */ #define LPX_P_FEAS 133 /* solution is primal feasible */ #define LPX_P_INFEAS 134 /* solution is primal infeasible */ #define LPX_P_NOFEAS 135 /* no primal feasible solution exists */ int d_stat; /* status of dual basic solution: */ #define LPX_D_UNDEF 136 /* dual solution is undefined */ #define LPX_D_FEAS 137 /* solution is dual feasible */ #define LPX_D_INFEAS 138 /* solution is dual infeasible */ #define LPX_D_NOFEAS 139 /* no dual feasible solution exists */ int some; /* ordinal number of some auxiliary or structural variable which has certain property, 0 <= some <= m+n */ int t_stat; /* status of interior-point solution: */ #define LPX_T_UNDEF 150 /* interior solution is undefined */ #define LPX_T_OPT 151 /* interior solution is optimal */ int i_stat; /* status of integer solution: */ #define LPX_I_UNDEF 170 /* integer solution is undefined */ #define LPX_I_OPT 171 /* integer solution is optimal */ #define LPX_I_FEAS 172 /* integer solution is feasible */ #define LPX_I_NOFEAS 173 /* no integer solution exists */ /*--------------------------------------------------------------*/ /* control parameters and statistics */ int msg_lev; /* level of messages output by the solver: 0 - no output 1 - error messages only 2 - normal output 3 - full output (includes informational messages) */ int scale; /* scaling option: 0 - no scaling 1 - equilibration scaling 2 - geometric mean scaling 3 - geometric mean scaling, then equilibration scaling */ int dual; /* dual simplex option: 0 - do not use the dual simplex 1 - if the initial basic solution being primal infeasible is dual feasible, use the dual simplex */ int price; /* pricing option (for both primal and dual simplex): 0 - textbook pricing 1 - steepest edge pricing */ double relax; /* relaxation parameter used in the ratio test; if it is zero, the textbook ratio test is used; if it is non-zero (should be positive), Harris' two-pass ratio test is used; in the latter case on the first pass basic variables (in the case of primal simplex) or reduced costs of non-basic variables (in the case of dual simplex) are allowed to slightly violate their bounds, but not more than (relax * tol_bnd) or (relax * tol_dj) (thus, relax is a percentage of tol_bnd or tol_dj) */ double tol_bnd; /* relative tolerance used to check if the current basic solution is primal feasible */ double tol_dj; /* absolute tolerance used to check if the current basic solution is dual feasible */ double tol_piv; /* relative tolerance used to choose eligible pivotal elements of the simplex table in the ratio test */ int round; /* solution rounding option: 0 - report all computed values and reduced costs "as is" 1 - if possible (allowed by the tolerances), replace computed values and reduced costs which are close to zero by exact zeros */ double obj_ll; /* lower limit of the objective function; if on the phase II the objective function reaches this limit and continues decreasing, the solver stops the search */ double obj_ul; /* upper limit of the objective function; if on the phase II the objective function reaches this limit and continues increasing, the solver stops the search */ int it_lim; /* simplex iterations limit; if this value is positive, it is decreased by one each time when one simplex iteration has been performed, and reaching zero value signals the solver to stop the search; negative value means no iterations limit */ int it_cnt; /* simplex iterations count; this count is increased by one each time when one simplex iteration has been performed */ double tm_lim; /* searching time limit, in seconds; if this value is positive, it is decreased each time when one simplex iteration has been performed by the amount of time spent for the iteration, and reaching zero value signals the solver to stop the search; negative value means no time limit */ int out_frq; /* output frequency, in iterations; this parameter specifies how frequently the solver sends information about the solution to the standard output */ double out_dly; /* output delay, in seconds; this parameter specifies how long the solver should delay sending information about the solution to the standard output; zero value means no delay */ int branch; /* MIP */ /* branching heuristic: 0 - branch on first variable 1 - branch on last variable 2 - branch using heuristic by Driebeck and Tomlin 3 - branch on most fractional variable */ int btrack; /* MIP */ /* backtracking heuristic: 0 - select most recent node (depth first search) 1 - select earliest node (breadth first search) 2 - select node using the best projection heuristic 3 - select node with best local bound */ double tol_int; /* MIP */ /* absolute tolerance used to check if the current basic solution is integer feasible */ double tol_obj; /* MIP */ /* relative tolerance used to check if the value of the objective function is not better than in the best known integer feasible solution */ int mps_info; /* lpx_write_mps */ /* if this flag is set, the routine lpx_write_mps outputs several comment cards that contains some information about the problem; otherwise the routine outputs no comment cards */ int mps_obj; /* lpx_write_mps */ /* this parameter tells the routine lpx_write_mps how to output the objective function row: 0 - never output objective function row 1 - always output objective function row 2 - output objective function row if and only if the problem has no free rows */ int mps_orig; /* lpx_write_mps */ /* if this flag is set, the routine lpx_write_mps uses original row and column symbolic names; otherwise the routine generates plain names using ordinal numbers of rows and columns */ int mps_wide; /* lpx_write_mps */ /* if this flag is set, the routine lpx_write_mps uses all data fields; otherwise the routine keeps fields 5 and 6 empty */ int mps_free; /* lpx_write_mps */ /* if this flag is set, the routine lpx_write_mps omits column and vector names everytime if possible (free style); otherwise the routine never omits these names (pedantic style) */ int mps_skip; /* lpx_write_mps */ /* if this flag is set, the routine lpx_write_mps skips empty columns (i.e. which has no constraint coefficients); otherwise the routine outputs all columns */ int lpt_orig; /* lpx_write_lpt */ /* if this flag is set, the routine lpx_write_lpt uses original row and column symbolic names; otherwise the routine generates plain names using ordinal numbers of rows and columns */ int presol; /* lpx_simplex */ /* LP presolver option: 0 - do not use LP presolver 1 - use LP presolver */ }; struct LPXROW { /* LP row (auxiliary variable) */ int i; /* ordinal number (1 to m) assigned to this row */ STR *name; /* row name (1 to 255 chars); NULL means no name is assigned to this row */ #if 1 /* 15/VIII-2004 */ AVLNODE *node; /* pointer to corresponding node in the row index; NULL means that either the row index does not exist or this row has no name assigned */ #endif int type; /* type of the auxiliary variable: */ #define LPX_FR 110 /* free variable */ #define LPX_LO 111 /* variable with lower bound */ #define LPX_UP 112 /* variable with upper bound */ #define LPX_DB 113 /* double-bounded variable */ #define LPX_FX 114 /* fixed variable */ double lb; /* non-scaled */ /* lower bound; if the row has no lower bound, lb is zero */ double ub; /* non-scaled */ /* upper bound; if the row has no upper bound, ub is zero */ /* if the row type is LPX_FX, ub is equal to lb */ LPXAIJ *ptr; /* non-scaled */ /* pointer to doubly linked list of constraint coefficients which are placed in this row */ double rii; /* diagonal element r[i,i] of the scaling matrix R (see (17)) for this row; if the scaling is not used, r[i,i] is 1 */ int stat; /* status of the auxiliary variable: */ #define LPX_BS 140 /* basic variable */ #define LPX_NL 141 /* non-basic variable on lower bound */ #define LPX_NU 142 /* non-basic variable on upper bound */ #define LPX_NF 143 /* non-basic free variable */ #define LPX_NS 144 /* non-basic fixed variable */ int b_ind; /* if the auxiliary variable is basic (LPX_BS), lpx.basis[b_ind] refers to this row; if the auxiliary variable is non-basic, b_ind is 0; this attribute is valid only if the basis status is LPX_B_VALID */ double prim; /* non-scaled */ /* primal value of the auxiliary variable in basic solution */ double dual; /* non-scaled */ /* dual value of the auxiliary variable in basic solution */ double pval; /* non-scaled */ /* primal value of the auxiliary variable in interior solution */ double dval; /* non-scaled */ /* dual value of the auxiliary variable in interior solution */ double mipx; /* non-scaled */ /* primal value of the auxiliary variable in integer solution */ }; struct LPXCOL { /* LP column (structural variable) */ int j; /* ordinal number (1 to n) assigned to this column */ STR *name; /* column name (1 to 255 chars); NULL means no name is assigned to this column */ #if 1 /* 15/VIII-2004 */ AVLNODE *node; /* pointer to corresponding node in the column index; NULL means that either the column index does not exist or the column has no name assigned */ #endif int kind; /* kind of the structural variable: */ #define LPX_CV 160 /* continuous variable */ #define LPX_IV 161 /* integer variable */ int type; /* type of the structural variable: */ #define LPX_FR 110 /* free variable */ #define LPX_LO 111 /* variable with lower bound */ #define LPX_UP 112 /* variable with upper bound */ #define LPX_DB 113 /* double-bounded variable */ #define LPX_FX 114 /* fixed variable */ double lb; /* non-scaled */ /* lower bound; if the column has no lower bound, lb is zero */ double ub; /* non-scaled */ /* upper bound; if the column has no upper bound, ub is zero */ /* if the column type is LPX_FX, ub is equal to lb */ double coef; /* non-scaled */ /* objective coefficient at the structural variable */ LPXAIJ *ptr; /* non-scaled */ /* pointer to doubly linked list of constraint coefficients which are placed in this column */ double sjj; /* diagonal element s[j,j] of the scaling matrix S (see (17)) for this column; if the scaling is not used, s[j,j] is 1 */ int stat; /* status of the structural variable: */ #define LPX_BS 140 /* basic variable */ #define LPX_NL 141 /* non-basic variable on lower bound */ #define LPX_NU 142 /* non-basic variable on upper bound */ #define LPX_NF 143 /* non-basic free variable */ #define LPX_NS 144 /* non-basic fixed variable */ int b_ind; /* if the structural variable is basic (LPX_BS), lpx.basis[b_ind] refers to this column; if the structural variable is non-basic, b_ind is 0; this attribute is valid only if the basis status is LPX_B_VALID */ double prim; /* non-scaled */ /* primal value of the structural variable in basic solution */ double dual; /* non-scaled */ /* dual value of the structural variable in basic solution */ double pval; /* non-scaled */ /* primal value of the structural variable in interior solution */ double dval; /* non-scaled */ /* dual value of the structural variable in interior solution */ double mipx; /* primal value of the structural variable in integer solution */ }; struct LPXAIJ { /* constraint coefficient a[i,j]; see (2) and (5) */ LPXROW *row; /* pointer to row, where this coefficient is placed */ LPXCOL *col; /* pointer to column, where this coefficient is placed */ double val; /* numeric (non-zero) value of this coefficient */ LPXAIJ *r_prev; /* pointer to previous coefficient in the same row */ LPXAIJ *r_next; /* pointer to next coefficient in the same row */ LPXAIJ *c_prev; /* pointer to previous coefficient in the same column */ LPXAIJ *c_next; /* pointer to next coefficient in the same column */ }; /* status codes reported by the routine lpx_get_status: */ #define LPX_OPT 180 /* optimal */ #define LPX_FEAS 181 /* feasible */ #define LPX_INFEAS 182 /* infeasible */ #define LPX_NOFEAS 183 /* no feasible */ #define LPX_UNBND 184 /* unbounded */ #define LPX_UNDEF 185 /* undefined */ /* exit codes returned by solver routines: */ #define LPX_E_OK 200 /* success */ #define LPX_E_EMPTY 201 /* empty problem */ #define LPX_E_BADB 202 /* invalid initial basis */ #define LPX_E_INFEAS 203 /* infeasible initial solution */ #define LPX_E_FAULT 204 /* unable to start the search */ #define LPX_E_OBJLL 205 /* objective lower limit reached */ #define LPX_E_OBJUL 206 /* objective upper limit reached */ #define LPX_E_ITLIM 207 /* iterations limit exhausted */ #define LPX_E_TMLIM 208 /* time limit exhausted */ #define LPX_E_NOFEAS 209 /* no feasible solution */ #define LPX_E_INSTAB 210 /* numerical instability */ #define LPX_E_SING 211 /* problems with basis matrix */ #define LPX_E_NOCONV 212 /* no convergence (interior) */ #define LPX_E_NOPFS 213 /* no primal feas. sol. (LP presolver) */ #define LPX_E_NODFS 214 /* no dual feas. sol. (LP presolver) */ /* control parameter identifiers: */ #define LPX_K_MSGLEV 300 /* lp->msg_lev */ #define LPX_K_SCALE 301 /* lp->scale */ #define LPX_K_DUAL 302 /* lp->dual */ #define LPX_K_PRICE 303 /* lp->price */ #define LPX_K_RELAX 304 /* lp->relax */ #define LPX_K_TOLBND 305 /* lp->tol_bnd */ #define LPX_K_TOLDJ 306 /* lp->tol_dj */ #define LPX_K_TOLPIV 307 /* lp->tol_piv */ #define LPX_K_ROUND 308 /* lp->round */ #define LPX_K_OBJLL 309 /* lp->obj_ll */ #define LPX_K_OBJUL 310 /* lp->obj_ul */ #define LPX_K_ITLIM 311 /* lp->it_lim */ #define LPX_K_ITCNT 312 /* lp->it_cnt */ #define LPX_K_TMLIM 313 /* lp->tm_lim */ #define LPX_K_OUTFRQ 314 /* lp->out_frq */ #define LPX_K_OUTDLY 315 /* lp->out_dly */ #define LPX_K_BRANCH 316 /* lp->branch */ #define LPX_K_BTRACK 317 /* lp->btrack */ #define LPX_K_TOLINT 318 /* lp->tol_int */ #define LPX_K_TOLOBJ 319 /* lp->tol_obj */ #define LPX_K_MPSINFO 320 /* lp->mps_info */ #define LPX_K_MPSOBJ 321 /* lp->mps_obj */ #define LPX_K_MPSORIG 322 /* lp->mps_orig */ #define LPX_K_MPSWIDE 323 /* lp->mps_wide */ #define LPX_K_MPSFREE 324 /* lp->mps_free */ #define LPX_K_MPSSKIP 325 /* lp->mps_skip */ #define LPX_K_LPTORIG 326 /* lp->lpt_orig */ #define LPX_K_PRESOL 327 /* lp->presol */ typedef struct LPXKKT LPXKKT; struct LPXKKT { /* this structure contains results reported by the routines which checks Karush-Kuhn-Tucker conditions (for details see comments to those routines) */ /*--------------------------------------------------------------*/ /* xR - A * xS = 0 (KKT.PE) */ double pe_ae_max; /* largest absolute error */ int pe_ae_row; /* number of row with largest absolute error */ double pe_re_max; /* largest relative error */ int pe_re_row; /* number of row with largest relative error */ int pe_quality; /* quality of primal solution: 'H' - high 'M' - medium 'L' - low '?' - primal solution is wrong */ /*--------------------------------------------------------------*/ /* l[k] <= x[k] <= u[k] (KKT.PB) */ double pb_ae_max; /* largest absolute error */ int pb_ae_ind; /* number of variable with largest absolute error */ double pb_re_max; /* largest relative error */ int pb_re_ind; /* number of variable with largest relative error */ int pb_quality; /* quality of primal feasibility: 'H' - high 'M' - medium 'L' - low '?' - primal solution is infeasible */ /*--------------------------------------------------------------*/ /* A' * (dR - cR) + (dS - cS) = 0 (KKT.DE) */ double de_ae_max; /* largest absolute error */ int de_ae_col; /* number of column with largest absolute error */ double de_re_max; /* largest relative error */ int de_re_col; /* number of column with largest relative error */ int de_quality; /* quality of dual solution: 'H' - high 'M' - medium 'L' - low '?' - dual solution is wrong */ /*--------------------------------------------------------------*/ /* d[k] >= 0 or d[k] <= 0 (KKT.DB) */ double db_ae_max; /* largest absolute error */ int db_ae_ind; /* number of variable with largest absolute error */ double db_re_max; /* largest relative error */ int db_re_ind; /* number of variable with largest relative error */ int db_quality; /* quality of dual feasibility: 'H' - high 'M' - medium 'L' - low '?' - dual solution is infeasible */ /*--------------------------------------------------------------*/ /* (x[k] - bound of x[k]) * d[k] = 0 (KKT.CS) */ double cs_ae_max; /* largest absolute error */ int cs_ae_ind; /* number of variable with largest absolute error */ double cs_re_max; /* largest relative error */ int cs_re_ind; /* number of variable with largest relative error */ int cs_quality; /* quality of complementary slackness: 'H' - high 'M' - medium 'L' - low '?' - primal and dual solutions are not complementary */ }; /* problem creating and modifying routines ---------------------------*/ LPX *lpx_create_prob(void); /* create problem object */ void lpx_set_prob_name(LPX *lp, char *name); /* assign (change) problem name */ void lpx_set_class(LPX *lp, int klass); /* set (change) problem class */ void lpx_set_obj_name(LPX *lp, char *name); /* assign (change) objective function name */ void lpx_set_obj_dir(LPX *lp, int dir); /* set (change) optimization direction flag */ int lpx_add_rows(LPX *lp, int nrs); /* add new rows to problem object */ int lpx_add_cols(LPX *lp, int ncs); /* add new columns to problem object */ void lpx_set_row_name(LPX *lp, int i, char *name); /* assign (change) row name */ void lpx_set_col_name(LPX *lp, int j, char *name); /* assign (change) column name */ void lpx_set_col_kind(LPX *lp, int j, int kind); /* set (change) column kind */ void lpx_set_row_bnds(LPX *lp, int i, int type, double lb, double ub); /* set (change) row bounds */ void lpx_set_col_bnds(LPX *lp, int j, int type, double lb, double ub); /* set (change) column bounds */ void lpx_set_obj_coef(LPX *lp, int j, double coef); /* set (change) obj. coefficient or constant term */ void lpx_set_mat_row(LPX *lp, int i, int len, int ind[], double val[]); /* set (replace) row of the constraint matrix */ void lpx_set_mat_col(LPX *lp, int j, int len, int ind[], double val[]); /* set (replace) column of the constraint matrix */ void lpx_load_matrix(LPX *lp, int ne, int ia[], int ja[], double ar[]); /* load (replace) the whole constraint matrix */ void lpx_order_matrix(LPX *lp); /* order rows and columns of the constraint matrix */ void lpx_set_rii(LPX *lp, int i, double rii); /* set (change) row scale factor */ void lpx_set_sjj(LPX *lp, int j, double sjj); /* set (change) column scale factor */ void lpx_set_row_stat(LPX *lp, int i, int stat); /* set (change) row status */ void lpx_set_col_stat(LPX *lp, int j, int stat); /* set (change) column status */ void lpx_del_rows(LPX *lp, int nrs, int num[]); /* delete specified rows from problem object */ void lpx_del_cols(LPX *lp, int ncs, int num[]); /* delete specified columns from problem object */ void lpx_delete_prob(LPX *lp); /* delete problem object */ #if 1 /* 15/VIII-2004 */ void lpx_create_index(LPX *lp); int lpx_find_row(LPX *lp, char *name); int lpx_find_col(LPX *lp, char *name); void lpx_delete_index(LPX *lp); #endif void lpx_put_lp_basis(LPX *lp, int b_stat, int basis[], INV *b_inv); /* store LP basis information */ void lpx_put_solution(LPX *lp, int p_stat, int d_stat, int row_stat[], double row_prim[], double row_dual[], int col_stat[], double col_prim[], double col_dual[]); /* store basic solution components */ void lpx_put_ray_info(LPX *lp, int k); /* store row/column which causes unboundness */ void lpx_put_ipt_soln(LPX *lp, int t_stat, double row_pval[], double row_dval[], double col_pval[], double col_dval[]); /* store interior-point solution components */ void lpx_put_mip_soln(LPX *lp, int i_stat, double row_mipx[], double col_mipx[]); /* store mixed integer solution components */ /* problem retrieving routines ---------------------------------------*/ char *lpx_get_prob_name(LPX *lp); /* retrieve problem name */ int lpx_get_class(LPX *lp); /* retrieve problem class */ char *lpx_get_obj_name(LPX *lp); /* retrieve objective function name */ int lpx_get_obj_dir(LPX *lp); /* retrieve optimization direction flag */ int lpx_get_num_rows(LPX *lp); /* retrieve number of rows */ int lpx_get_num_cols(LPX *lp); /* retrieve number of columns */ int lpx_get_num_int(LPX *lp); /* retrieve number of integer columns */ int lpx_get_num_bin(LPX *lp); /* retrieve number of binary columns */ char *lpx_get_row_name(LPX *lp, int i); /* retrieve row name */ char *lpx_get_col_name(LPX *lp, int j); /* retrieve column name */ int lpx_get_col_kind(LPX *lp, int j); /* retrieve column kind */ int lpx_get_row_type(LPX *lp, int i); /* retrieve row type */ double lpx_get_row_lb(LPX *lp, int i); /* retrieve row lower bound */ double lpx_get_row_ub(LPX *lp, int i); /* retrieve row upper bound */ int lpx_get_col_type(LPX *lp, int j); /* retrieve column type */ double lpx_get_col_lb(LPX *lp, int j); /* retrieve column lower bound */ double lpx_get_col_ub(LPX *lp, int j); /* retrieve column upper bound */ double lpx_get_obj_coef(LPX *lp, int j); /* retrieve obj. coefficient or constant term */ int lpx_get_num_nz(LPX *lp); /* retrieve number of constraint coefficients */ int lpx_get_mat_row(LPX *lp, int i, int ind[], double val[]); /* retrieve row of the constraint matrix */ int lpx_get_mat_col(LPX *lp, int j, int ind[], double val[]); /* retrieve column of the constraint matrix */ double lpx_get_rii(LPX *lp, int i); /* retrieve row scale factor */ double lpx_get_sjj(LPX *lp, int j); /* retrieve column scale factor */ int lpx_is_b_avail(LPX *lp); /* check if LP basis is available */ int lpx_get_b_info(LPX *lp, int i); /* retrieve LP basis information */ int lpx_get_row_b_ind(LPX *lp, int i); /* retrieve row index in LP basis */ int lpx_get_col_b_ind(LPX *lp, int j); /* retrieve column index in LP basis */ INV *lpx_access_inv(LPX *lp); /* access factorization of basis matrix */ int lpx_get_status(LPX *lp); /* retrieve generic status of basic solution */ int lpx_get_prim_stat(LPX *lp); /* retrieve primal status of basic solution */ int lpx_get_dual_stat(LPX *lp); /* retrieve dual status of basic solution */ double lpx_get_obj_val(LPX *lp); /* retrieve objective value (basic solution) */ int lpx_get_row_stat(LPX *lp, int i); /* retrieve row status (basic solution) */ double lpx_get_row_prim(LPX *lp, int i); /* retrieve row primal value (basic solution) */ double lpx_get_row_dual(LPX *lp, int i); /* retrieve row dual value (basic solution) */ int lpx_get_col_stat(LPX *lp, int j); /* retrieve column status (basic solution) */ double lpx_get_col_prim(LPX *lp, int j); /* retrieve column primal value (basic solution) */ double lpx_get_col_dual(LPX *lp, int j); /* retrieve column dual value (basic solution) */ int lpx_get_ray_info(LPX *lp); /* determine what causes primal unboundness */ int lpx_ipt_status(LPX *lp); /* retrieve status of interior-point solution */ double lpx_ipt_obj_val(LPX *lp); /* retrieve objective value (interior point) */ double lpx_ipt_row_prim(LPX *lp, int i); /* retrieve row primal value (interior point) */ double lpx_ipt_row_dual(LPX *lp, int i); /* retrieve row dual value (interior point) */ double lpx_ipt_col_prim(LPX *lp, int j); /* retrieve column primal value (interior point) */ double lpx_ipt_col_dual(LPX *lp, int j); /* retrieve column dual value (interior point) */ int lpx_mip_status(LPX *lp); /* retrieve status of MIP solution */ double lpx_mip_obj_val(LPX *lp); /* retrieve objective value (MIP solution) */ double lpx_mip_row_val(LPX *lp, int i); /* retrieve row value (MIP solution) */ double lpx_mip_col_val(LPX *lp, int j); /* retrieve column value (MIP solution) */ void lpx_get_row_bnds(LPX *lp, int i, int *typx, double *lb, double *ub); /* obtain row bounds */ void lpx_get_col_bnds(LPX *lp, int j, int *typx, double *lb, double *ub); /* obtain column bounds */ void lpx_get_row_info(LPX *lp, int i, int *tagx, double *vx, double *dx); /* obtain row solution information */ void lpx_get_col_info(LPX *lp, int j, int *tagx, double *vx, double *dx); /* obtain column solution information */ /* control parameters and statistics routines ------------------------*/ void lpx_reset_parms(LPX *lp); /* reset control parameters to default values */ void lpx_set_int_parm(LPX *lp, int parm, int val); /* set (change) integer control parameter */ int lpx_get_int_parm(LPX *lp, int parm); /* query integer control parameter */ void lpx_set_real_parm(LPX *lp, int parm, double val); /* set (change) real control parameter */ double lpx_get_real_parm(LPX *lp, int parm); /* query real control parameter */ /* problem scaling routines ------------------------------------------*/ void lpx_scale_prob(LPX *lp); /* scale problem data */ void lpx_unscale_prob(LPX *lp); /* unscale problem data */ /* LP basis constructing routines ------------------------------------*/ void lpx_std_basis(LPX *lp); /* construct standard initial LP basis */ void lpx_adv_basis(LPX *lp); /* construct advanced initial LP basis */ /* solver routines ---------------------------------------------------*/ int lpx_simplex(LPX *lp); /* easy-to-use driver to the simplex method */ void lpx_check_kkt(LPX *lp, int scaled, LPXKKT *kkt); /* check Karush-Kuhn-Tucker conditions */ int lpx_interior(LPX *lp); /* easy-to-use driver to the interior point method */ int lpx_integer(LPX *lp); /* easy-to-use driver to the branch-and-bound method */ int lpx_intopt(LPX *mip); /* easy-to-use driver to the branch-and-bound method */ /* LP basis and simplex table routines -------------------------------*/ int lpx_invert(LPX *lp); /* compute factorization of basis matrix */ void lpx_ftran(LPX *lp, double x[]); /* forward transformation (solve system B*x = b) */ void lpx_btran(LPX *lp, double x[]); /* backward transformation (solve system B'*x = b) */ void lpx_eval_b_prim(LPX *lp, double row_prim[], double col_prim[]); /* compute primal basic solution components */ void lpx_eval_b_dual(LPX *lp, double row_dual[], double col_dual[]); /* compute dual basic solution components */ int lpx_warm_up(LPX *lp); /* "warm up" LP basis */ int lpx_eval_tab_row(LPX *lp, int k, int ind[], double val[]); /* compute row of the simplex table */ int lpx_eval_tab_col(LPX *lp, int k, int ind[], double val[]); /* compute column of the simplex table */ int lpx_transform_row(LPX *lp, int len, int ind[], double val[]); /* transform explicitly specified row */ int lpx_transform_col(LPX *lp, int len, int ind[], double val[]); /* transform explicitly specified column */ int lpx_prim_ratio_test(LPX *lp, int len, int ind[], double val[], int how, double tol); /* perform primal ratio test */ int lpx_dual_ratio_test(LPX *lp, int len, int ind[], double val[], int how, double tol); /* perform dual ratio test */ /* additional utility routines ---------------------------------------*/ LPX *lpx_read_mps(char *fname); /* read problem data in fixed MPS format */ int lpx_write_mps(LPX *lp, char *fname); /* write problem data in fixed MPS format */ int lpx_read_bas(LPX *lp, char *fname); /* read LP basis in fixed MPS format */ int lpx_write_bas(LPX *lp, char *fname); /* write LP basis in fixed MPS format */ LPX *lpx_read_freemps(char *fname); /* read problem data in free MPS format */ int lpx_write_freemps(LPX *lp, char *fname); /* write problem data in free MPS format */ int lpx_print_prob(LPX *lp, char *fname); /* write problem data in plain text format */ int lpx_print_sol(LPX *lp, char *fname); /* write LP problem solution in printable format */ int lpx_print_ips(LPX *lp, char *fname); /* write interior point solution in printable format */ int lpx_print_mip(LPX *lp, char *fname); /* write MIP problem solution in printable format */ int lpx_print_sens_bnds(LPX *lp, char *fname); /* write bounds sensitivity information */ LPX *lpx_read_cpxlp(char *fname); /* read problem data in CPLEX LP format */ int lpx_write_cpxlp(LPX *lp, char *fname); /* write problem data in CPLEX LP format */ LPX *lpx_extract_prob(void *mpl); /* extract problem instance from MathProg model */ LPX *lpx_read_model(char *model, char *data, char *output); /* read LP/MIP model written in GNU MathProg language */ LPX *lpx_read_prob(char *fname); /* read problem data in GNU LP format */ int lpx_write_prob(LPX *lp, char *fname); /* write problem data in GNU LP format */ #endif /* eof */ liblip-2.0.0/include/glpk/glpmip.h0000644000175000017500000003331710426015340013730 00000000000000/* glpmip.h (branch-and-bound method) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPMIP_H #define _GLPMIP_H #include "glplpx.h" #define mip_create_tree glp_mip_create_tree #define mip_revive_node glp_mip_revive_node #define mip_freeze_node glp_mip_freeze_node #define mip_clone_node glp_mip_clone_node #define mip_delete_node glp_mip_delete_node #define mip_delete_tree glp_mip_delete_tree #define mip_pseudo_root glp_mip_pseudo_root #define mip_best_node glp_mip_best_node #define mip_relative_gap glp_mip_relative_gap #define mip_solve_node glp_mip_solve_node #define mip_driver glp_mip_driver typedef struct MIPTREE MIPTREE; /* branch-and-bound tree */ typedef struct MIPSLOT MIPSLOT; /* node subproblem slot */ typedef struct MIPNODE MIPNODE; /* node subproblem descriptor */ typedef struct MIPBNDS MIPBNDS; /* bounds change entry */ typedef struct MIPSTAT MIPSTAT; /* status change entry */ struct MIPTREE { /* branch-and-bound tree */ /*--------------------------------------------------------------*/ /* global information (valid for all subproblems) */ int m; /* number of rows */ int n; /* number of columns */ int dir; /* optimization direction: LPX_MIN - minimization LPX_MAX - maximization */ int int_obj; /* if this flag is set, the objective function is integral */ int *int_col; /* int int_col[1+n]; */ /* integer column flags; int_col[0] is not used; int_col[j], 1 <= j <= n, is the flag of j-th column; if this flag is set, corresponding structural variable is required to be integer */ /*--------------------------------------------------------------*/ /* memory management */ DMP *node_pool; /* memory pool for MIPNODE objects */ DMP *bnds_pool; /* memory pool for MIPBNDS objects */ DMP *stat_pool; /* memory pool for MIPSTAT objects */ /*--------------------------------------------------------------*/ /* branch-and-bound tree */ int nslots; /* length of the array of slots (increased automatically) */ int avail; /* index of first free slot; 0 means all slots are in use */ MIPSLOT *slot; /* MIPSLOT slot[1+nslots]; */ /* array of slots: slot[0] is never used; slot[p], 1 <= p <= nslots, either contains a pointer to some node of the branch-and-bound tree, in which case p is used on api level as the reference number of corresponding subproblem, or is free; all free slots are linked into single linked list; slot[1] always contains a pointer to the root node (it is free only if the tree is empty) */ MIPNODE *head; /* pointer to the head of the active list */ MIPNODE *tail; /* pointer to the tail of the active list */ /* the active list is a doubly linked list of active subproblems which correspond to leaves of the tree; all subproblems in the active list are ordered chronologically (each a new subproblem is always added to the tail of the list) */ int a_cnt; /* current number of active nodes (including the current one) */ int n_cnt; /* current number of all (active and inactive) nodes */ int t_cnt; /* total number of nodes including those which have been already removed from the tree; this count is increased whenever a new node is created and never decreased */ /*--------------------------------------------------------------*/ /* best known integer feasible solution */ int found; /* if this flag is set, at least one integer feasible solution has been found */ double best; /* incumbent objective value, that is the objective value which corresponds to the best known integer feasible solution (it is undefined if the flag found is not set); this value is a global upper (minimization) or lower (maximization) bound for integer optimal solution of the original problem being solved */ double *mipx; /* double mipx[1+m+n]; */ /* values of auxiliary and structural variables which correspond to the best known integer feasible solution (these are values are undefined if the flag found is not set): mipx[0] is not used; mipx[i], 1 <= i <= m, is a value of i-th auxiliary variable; mipx[m+j], 1 <= j <= n, is a value of j-th structural variable note: if j-th structural variable is required to be integer, its value mipx[m+j] is provided to be integral */ /*--------------------------------------------------------------*/ /* current subproblem and its LP relaxation */ MIPNODE *curr; /* pointer to the current subproblem (which can be only active); NULL means the current subproblem does not exist */ LPX *lp; /* LP relaxation of the current subproblem (this problem object contains global data valid for all subproblems, namely, the sets of rows and columns, objective coefficients, as well as the constraint matrix; only bounds and statuses of some rows and/or columns may be changed for a particular subproblem) */ int *old_type; /* int old_type[1+m+n]; */ double *old_lb; /* double old_lb[1+m+n]; */ double *old_ub; /* double old_ub[1+m+n]; */ int *old_stat; /* int old_stat[1+m+n]; */ /* these four arrays contain attributes of rows and columns which they have in the parent subproblem (types, lower bounds, upper bounds, and statuses); this information is used to build change lists on freezing the current subproblem; note that if the root subproblem is current, standard attributes of rows and columns are used (all rows are free and basic, all columns are fixed at zero and non-basic) */ int *non_int; /* int non_int[1+n]; */ /* these column flags are set once LP relaxation of the current subproblem has been solved; non_int[0] is not used; non_int[j], 1 <= j <= n, is the flag of j-th column; if this flag is set, corresponding structural variable is required to be integer, but its value in basic solution is fractional */ /*--------------------------------------------------------------*/ /* control parameters and statistics */ int msg_lev; /* level of messages issued by the solver: 0 - no output 1 - error messages only 2 - normal output 3 - detailed step-by-step output */ int branch; /* MIP */ /* branching heuristic: 0 - branch on first variable 1 - branch on last variable 2 - branch using heuristic by Driebeck and Tomlin 3 - branch on most fractional variable */ int btrack; /* MIP */ /* backtracking heuristic: 0 - select most recent node (depth first search) 1 - select earliest node (breadth first search) 2 - select node using the best projection heuristic 3 - select node with best local bound */ double tol_int; /* absolute tolerance used to check if the current basic solution is integer feasible */ double tol_obj; /* relative tolerance used to check if the value of the objective function is better than the incumbent objective value */ double tm_lim; /* searching time limit, in seconds; if this value is positive, it is decreased whenever one complete round of the search is performed by the amount of time spent for the round, and reaching zero value signals the solver to stop the search; negative value means no time limit */ double out_frq; /* output frequency, in seconds; this parameter specifies how frequently the solver sends information about the progress of the search to the standard output */ double out_dly; /* output delay, in seconds; this parameter specifies how long output from the LP solver is delayed on solving LP relaxation of the current subproblem; zero value means no delay */ double tm_beg; /* starting time of the search, in seconds; the total time of the search is the difference between utime() and tm_beg */ double tm_lag; /* the most recent time, in seconds, at which the progress of the the search was displayed */ }; struct MIPSLOT { /* node subproblem slot */ MIPNODE *node; /* pointer to subproblem descriptor; NULL means free slot */ int next; /* index of another free slot (only if this slot is free) */ }; struct MIPNODE { /* node subproblem descriptor */ int p; /* subproblem reference number (it is the index to corresponding slot, i.e. slot[p] points to this descriptor) */ MIPNODE *up; /* pointer to parent subproblem; NULL means this node is the root of the tree, in which case p = 1 */ int level; /* node level (the root node has level 0) */ int count; /* if count = 0, this subproblem is active; if count > 0, this subproblem is inactive, in which case count is the number of its child subproblems */ MIPBNDS *bnds; /* linked list of rows and columns whose types and bounds were changed; this list is destroyed on reviving and built anew on freezing the subproblem */ MIPSTAT *stat; /* linked list of rows and columns whose statuses were changed; this list is destroyed on reviving and built anew on freezing the subproblem */ double bound; /* local lower (minimization) or upper (maximization) bound of integer optimal solution of *this* subproblem; this bound is local in the sense that only subproblems in the subtree rooted at this node cannot have better integer feasible solutions; on creating a subproblem its local bound is inherited from its parent and then can be made stronger (never weaker); for the root subproblem its local bound is initially set to -DBL_MAX (minimization) or +DBL_MAX (maximization) and then improved as the root LP relaxation has been solved */ /* if this subproblem is inactive, the following two quantities correspond to final optimal solution of its LP relaxation; for active subproblems these quantities are undefined */ int ii_cnt; /* number of columns (structural variables) of integer kind whose primal values are fractional */ double ii_sum; /* the sum of integer infeasibilities */ MIPNODE *temp; /* auxiliary pointer used by some routines */ MIPNODE *prev; /* pointer to previous subproblem in the active list */ MIPNODE *next; /* pointer to next subproblem in the active list */ }; struct MIPBNDS { /* bounds change entry */ int k; /* ordinal number of corresponding row (1 <= k <= m) or column (m+1 <= k <= m+n) */ int type; /* new type */ double lb; /* new lower bound */ double ub; /* new upper bound */ MIPBNDS *next; /* pointer to next entry for the same subproblem */ }; struct MIPSTAT { /* status change entry */ int k; /* ordinal number of corresponding row (1 <= k <= m) or column (m+1 <= k <= m+n) */ int stat; /* new status */ MIPSTAT *next; /* pointer to next entry for the same subproblem */ }; /* exit codes returned by the routine mip_driver: */ #define MIP_E_OK 1200 /* the search is completed */ #define MIP_E_ITLIM 1201 /* iterations limit exhausted */ #define MIP_E_TMLIM 1202 /* time limit exhausted */ #define MIP_E_ERROR 1203 /* error on solving LP relaxation */ MIPTREE *mip_create_tree(int m, int n, int dir); /* create branch-and-bound tree */ void mip_revive_node(MIPTREE *tree, int p); /* revive specified subproblem */ void mip_freeze_node(MIPTREE *tree); /* freeze current subproblem */ void mip_clone_node(MIPTREE *tree, int p, int nnn, int ref[]); /* clone specified subproblem */ void mip_delete_node(MIPTREE *tree, int p); /* delete specified subproblem */ void mip_delete_tree(MIPTREE *tree); /* delete branch-and-bound tree */ int mip_pseudo_root(MIPTREE *tree); /* find pseudo-root of the branch-and-bound tree */ int mip_best_node(MIPTREE *tree); /* find active node with best local bound */ double mip_relative_gap(MIPTREE *tree); /* compute relative mip gap */ int mip_solve_node(MIPTREE *tree); /* solve LP relaxation of current subproblem */ int mip_driver(MIPTREE *tree); /* branch-and-bound driver */ #endif /* eof */ liblip-2.0.0/include/glpk/glprng.h0000644000175000017500000000404210426015340013722 00000000000000/* glprng.h (pseudo-random number generator) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPRNG_H #define _GLPRNG_H #define rng_create_rand glp_rng_create_rand #define rng_init_rand glp_rng_init_rand #define rng_next_rand glp_rng_next_rand #define rng_unif_rand glp_rng_unif_rand #define rng_delete_rand glp_rng_delete_rand typedef struct RNG RNG; struct RNG { /* Knuth's portable pseudo-random number generator */ int A[56]; /* pseudo-random values */ int *fptr; /* the next A value to be exported */ }; RNG *rng_create_rand(void); /* create pseudo-random number generator */ void rng_init_rand(RNG *rand, int seed); /* initialize pseudo-random number generator */ int rng_next_rand(RNG *rand); /* obtain pseudo-random integer in [0, 2^31-1] */ int rng_unif_rand(RNG *rand, int m); /* obtain pseudo-random integer in [0, m-1] */ void rng_delete_rand(RNG *rand); /* delete pseudo-random number generator */ #endif /* eof */ liblip-2.0.0/include/glpk/glptsp.h0000644000175000017500000001060610426015340013745 00000000000000/* glptsp.h (TSP format) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPTSP_H #define _GLPTSP_H #define tsp_read_data glp_tsp_read_data #define tsp_free_data glp_tsp_free_data #define tsp_distance glp_tsp_distance typedef struct TSP TSP; struct TSP { /* TSP (or related problem) instance in the format described in the report [G.Reinelt, TSPLIB 95] */ /*--------------------------------------------------------------*/ /* the specification part */ char *name; /* identifies the data file */ int type; /* specifies the type of data: */ #define TSP_UNDEF 0 /* undefined */ #define TSP_TSP 1 /* symmetric TSP */ #define TSP_ATSP 2 /* asymmetric TSP */ #define TSP_TOUR 3 /* collection of tours */ char *comment; /* additional comments (usually the name of the contributor or creator of the problem instance is given here) */ int dimension; /* for a TSP or ATSP, the dimension is the number of its nodes for a TOUR it is the dimension of the corresponding problem */ int edge_weight_type; /* specifies how the edge weights (or distances) are given: */ #define TSP_UNDEF 0 /* undefined */ #define TSP_EXPLICIT 1 /* listed explicitly */ #define TSP_EUC_2D 2 /* Eucl. distances in 2-D */ #define TSP_CEIL_2D 3 /* Eucl. distances in 2-D rounded up */ #define TSP_GEO 4 /* geographical distances */ #define TSP_ATT 5 /* special distance function */ int edge_weight_format; /* describes the format of the edge weights if they are given explicitly: */ #define TSP_UNDEF 0 /* undefined */ #define TSP_FUNCTION 1 /* given by a function */ #define TSP_FULL_MATRIX 2 /* given by a full matrix */ #define TSP_UPPER_ROW 3 /* upper triangulat matrix (row-wise without diagonal entries) */ #define TSP_LOWER_DIAG_ROW 4 /* lower triangular matrix (row-wise including diagonal entries) */ int display_data_type; /* specifies how a graphical display of the nodes can be obtained: */ #define TSP_UNDEF 0 /* undefined */ #define TSP_COORD_DISPLAY 1 /* display is generated from the node coordinates */ #define TSP_TWOD_DISPLAY 2 /* explicit coordinates in 2-D are given */ /*--------------------------------------------------------------*/ /* data part */ /* NODE_COORD_SECTION: */ double *node_x_coord; /* double node_x_coord[1+dimension]; */ double *node_y_coord; /* double node_y_coord[1+dimension]; */ /* DISPLAY_DATA_SECTION: */ double *dply_x_coord; /* double dply_x_coord[1+dimension]; */ double *dply_y_coord; /* double dply_y_coord[1+dimension]; */ /* TOUR_SECTION: */ int *tour; /* int tour[1+dimension]; */ /* EDGE_WEIGHT_SECTION: */ int *edge_weight; /* int edge_weight[1+dimension*dimension]; */ }; TSP *tsp_read_data(char *fname); /* read TSP instance data */ void tsp_free_data(TSP *tsp); /* free TSP instance data */ int tsp_distance(TSP *tsp, int i, int j); /* compute distance between two nodes */ #endif /* eof */ liblip-2.0.0/include/glpk/glpdmp.h0000644000175000017500000000543510426015340013723 00000000000000/* glpdmp.h (dynamic memory pool) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPDMP_H #define _GLPDMP_H #define dmp_create_pool glp_dmp_create_pool #define dmp_get_atom glp_dmp_get_atom #define dmp_free_atom glp_dmp_free_atom #define dmp_get_atomv glp_dmp_get_atomv #define dmp_free_all glp_dmp_free_all #define dmp_delete_pool glp_dmp_delete_pool typedef struct DMP DMP; struct DMP { /* dynamic memory pool (set of atoms) */ int size; /* size of each atom, in bytes (1 <= size <= 256); if size is 0, atoms may have different sizes */ void *avail; /* pointer to the linked list of free atoms (not used in the case of variable-sized pools) */ void *link; /* pointer to the linked list of allocated blocks (it points to the most recently allocated block) */ int used; /* number of bytes used in the most recently allocated block */ void *stock; /* pointer to the linked list of free blocks */ int count; /* total number of allocated atoms */ }; #define DMP_BLK_SIZE 8000 /* the size of memory blocks, in bytes, allocated for dynamic memory pools (all pools use memory blocks of the same size) */ DMP *dmp_create_pool(int size); /* create dynamic memory pool */ void *dmp_get_atom(DMP *pool); /* obtain free atom from fixed-sized memory pool */ void dmp_free_atom(DMP *pool, void *atom); /* return specified atom to fixed-sized memory pool */ void *dmp_get_atomv(DMP *pool, int size); /* obtain free atom from variable-sized memory pool */ void dmp_free_all(DMP *pool); /* return all atoms to dynamic memory pool */ void dmp_delete_pool(DMP *pool); /* delete dynamic memory pool */ #endif /* eof */ liblip-2.0.0/include/glpk/glpios.h0000644000175000017500000006150010426015340013730 00000000000000/* glpios.h (integer optimization suite) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPIOS_H #define _GLPIOS_H #include "glpiet.h" #define ios_attach_npd glp_ios_attach_npd #define ios_attach_rgd glp_ios_attach_rgd #define ios_attach_cgd glp_ios_attach_cgd #define ios_attach_row glp_ios_attach_row #define ios_attach_col glp_ios_attach_col #define ios_detach_row glp_ios_detach_row #define ios_detach_col glp_ios_detach_col #define ios_hook_routine glp_ios_hook_routine #define ios_create_tree glp_ios_create_tree #define ios_revive_node glp_ios_revive_node #define ios_freeze_node glp_ios_freeze_node #define ios_clone_node glp_ios_clone_node #define ios_delete_node glp_ios_delete_node #define ios_delete_tree glp_ios_delete_tree #define ios_get_curr_node glp_ios_get_curr_node #define ios_get_next_node glp_ios_get_next_node #define ios_get_prev_node glp_ios_get_prev_node #define ios_get_up_node glp_ios_get_up_node #define ios_get_node_lev glp_ios_get_node_lev #define ios_get_node_cnt glp_ios_get_node_cnt #define ios_pseudo_root glp_ios_pseudo_root #define ios_set_obj_dir glp_ios_set_obj_dir #define ios_add_rows glp_ios_add_rows #define ios_add_cols glp_ios_add_cols #define ios_check_name glp_ios_check_name #define ios_set_row_name glp_ios_set_row_name #define ios_set_col_name glp_ios_set_col_name #define ios_set_row_attr glp_ios_set_row_attr #define ios_set_col_attr glp_ios_set_col_attr #define ios_set_col_kind glp_ios_set_col_kind #define ios_set_row_bnds glp_ios_set_row_bnds #define ios_set_col_bnds glp_ios_set_col_bnds #define ios_set_obj_coef glp_ios_set_obj_coef #define ios_set_mat_row glp_ios_set_mat_row #define ios_set_mat_col glp_ios_set_mat_col #define ios_set_row_stat glp_ios_set_row_stat #define ios_set_col_stat glp_ios_set_col_stat #define ios_del_rows glp_ios_del_rows #define ios_del_cols glp_ios_del_cols #define ios_get_obj_dir glp_ios_get_obj_dir #define ios_get_num_rows glp_ios_get_num_rows #define ios_get_num_cols glp_ios_get_num_cols #define ios_get_num_nz glp_ios_get_num_nz #define ios_get_row_name glp_ios_get_row_name #define ios_get_col_name glp_ios_get_col_name #define ios_get_row_mark glp_ios_get_row_mark #define ios_get_row_link glp_ios_get_row_link #define ios_get_col_mark glp_ios_get_col_mark #define ios_get_col_link glp_ios_get_col_link #define ios_get_col_kind glp_ios_get_col_kind #define ios_get_row_bnds glp_ios_get_row_bnds #define ios_get_col_bnds glp_ios_get_col_bnds #define ios_get_obj_coef glp_ios_get_obj_coef #define ios_get_mat_row glp_ios_get_mat_row #define ios_get_mat_col glp_ios_get_mat_col #define ios_p_status glp_ios_p_status #define ios_d_status glp_ios_d_status #define ios_get_row_soln glp_ios_get_row_soln #define ios_get_col_soln glp_ios_get_col_soln #define ios_get_row_pi glp_ios_get_row_pi #define ios_is_col_frac glp_ios_is_col_frac #define ios_extract_lp glp_ios_extract_lp #define ios_put_lp_soln glp_ios_put_lp_soln #define ios_solve_root glp_ios_solve_root #define ios_solve_node glp_ios_solve_node #define ios_branch_first glp_ios_branch_first #define ios_branch_last glp_ios_branch_last #define ios_branch_drtom glp_ios_branch_drtom #define ios_branch_on glp_ios_branch_on #define ios_select_fifo glp_ios_select_fifo #define ios_select_lifo glp_ios_select_lifo #define ios_select_node glp_ios_select_node #define ios_driver glp_ios_driver typedef struct IOS IOS; /* integer optimization suite */ typedef struct IOSNPD IOSNPD; /* node (sub)problem descriptor */ typedef struct IOSRGD IOSRGD; /* row global descriptor */ typedef struct IOSCGD IOSCGD; /* column global descriptor */ typedef struct IOSROW IOSROW; /* row local descriptor */ typedef struct IOSCOL IOSCOL; /* column local descriptor */ struct IOS { /* integer optimization suite */ /*--------------------------------------------------------------*/ /* memory management */ DMP *npd_pool; /* memory pool for IOSNPD objects */ DMP *rgd_pool; /* memory pool for IOSRGD objects */ DMP *cgd_pool; /* memory pool for IOSCGD objects */ DMP *row_pool; /* memory pool for IOSROW objects */ DMP *col_pool; /* memory pool for IOSCOL objects */ /*--------------------------------------------------------------*/ /* enumeration tree interface */ IET *iet; /* implicit enumeration tree */ char *hook_name; /* pointer to a symbolic name passed to the hook routine */ union { IOSNPD *npd; IOSRGD *rgd; IOSCGD *cgd; } hook_link; /* pointer to a global extension passed to the hook routine */ /*--------------------------------------------------------------*/ /* main options */ int dir; /* optimization direction flag (objective sense): */ #define IOS_MIN 501 /* minimization */ #define IOS_MAX 502 /* maximization */ int int_obj; /* if this flag is set, the objective function is integral */ int row_gen; /* if this flag is set, row generation is enabled */ int col_gen; /* if this flag is set, column generation is enabled */ int cut_gen; /* if this flag is set, cut generation is enabled */ /*--------------------------------------------------------------*/ /* incumbent objective value */ int found; /* if this flag is set, at least one integer feasible solution has been found */ double best; /* incumbent objective value, that is the objective value which corresponds to the best known integer feasible solution (it is undefined if the flag found is not set); this value is a global upper (minimization) or lower (maximization) bound for integer optimal solution of the original problem being solved */ /*--------------------------------------------------------------*/ /* basic solution of LP relaxation of the current subproblem */ int p_stat; /* primal status: */ #define IOS_UNDEF 511 /* undefined */ #define IOS_FEAS 512 /* feasible */ #define IOS_INFEAS 513 /* infeasible (intermediate) */ #define IOS_NOFEAS 514 /* infeasible (final) */ int d_stat; /* dual status: */ #define IOS_UNDEF 511 /* undefined */ #define IOS_FEAS 512 /* feasible */ #define IOS_INFEAS 513 /* infeasible (intermediate) */ #define IOS_NOFEAS 514 /* infeasible (final) */ double lp_obj; /* value of the objective function */ double lp_sum; /* the sum of primal infeasibilites */ int ii_cnt; /* number of columns (structural variables) of integer kind whose primal values are fractional */ double ii_sum; /* the sum of integer infeasibilities */ /*--------------------------------------------------------------*/ /* control parameters and statistics */ int msg_lev; /* level of messages issued by the solver: 0 - no output 1 - error messages only 2 - normal output 3 - detailed step-by-step output */ int init_lp; /* option to solve initial LP relaxation of the root subproblem: 0 - solve starting from the standard basis of all slacks 1 - solve starting from an advanced basis 2 - solve starting from the basis provided by the application procedure */ int scale; /* option to scale LP relaxation of the current subproblem before solving: 0 - do not scale 1 - scale using default settings */ double tol_int; /* absolute tolerance used to check if the current basic solution is integer feasible */ double tol_obj; /* relative tolerance used to check if the value of the objective function is better than the incumbent objective value */ double out_frq; /* output frequency, in seconds; this parameter specifies how frequently the solver sends information about the progress of the search to the standard output */ double out_dly; /* output delay, in seconds; this parameter specifies how long output from the LP solver is delayed on solving LP relaxation of the current subproblem; zero value means no delay */ int it_cnt; /* simplex iterations count, that is the total number of simplex iterations performed by the LP solver */ double tm_beg; /* starting time of the search, in seconds; the total time of the search is the difference between utime() and tm_beg */ double tm_lag; /* the most recent time, in seconds, at which the progress of the the search was displayed */ /*--------------------------------------------------------------*/ /* application procedure interface */ void (*appl)(IOS *ios, void *info); /* entry point to the event-driven application procedure */ void *info; /* transitional pointer passed to the application procedure */ int event; /* current event code: */ #define IOS_V_NONE 601 /* dummy event (never raised) */ #define IOS_V_INIT 602 /* initializing */ #define IOS_V_GENROW 603 /* row generation required */ #define IOS_V_GENCOL 604 /* column generation required */ #define IOS_V_GENCUT 605 /* cut generation required */ #define IOS_V_BINGO 606 /* better integer solution found */ #define IOS_V_BRANCH 607 /* branching required */ #define IOS_V_SELECT 608 /* subproblem selection required */ #define IOS_V_DELSUB 609 /* subproblem is being deleted */ #define IOS_V_DELROW 610 /* row is being deleted */ #define IOS_V_DELCOL 611 /* column is being deleted */ #define IOS_V_TERM 612 /* terminating */ int r_flag; /* reoptimization flag; if this flag is set, LP relaxation of the current subproblem needs to be re-optimized */ int b_flag; /* branching flag; if this flag is set, branching is done */ int t_flag; /* backtracking flag; if this flag is set, some active subproblem has been selected */ }; struct IOSNPD { /* extension of node (sub)problem descriptor */ double bound; /* local lower (minimization) or upper (maximization) bound of integer optimal solution of *this* subproblem; this bound is local in the sense that only subproblems in the subtree rooted at this node cannot have better integer feasible solutions; on creating a subproblem its local bound is inherited from its parent and then can be made stronger (never weaker); note that for the root subproblem until its complete LP relaxation has been solved, the local bound is set to -DBL_MAX (minimization) or +DBL_MAX (maximization) */ /* if this subproblem is inactive, the following two quantities correspond to final optimal solution of its LP relaxation; for active subproblems these quantities are undefined */ int ii_cnt; /* number of columns (structural variables) of integer kind whose primal values are fractional */ double ii_sum; /* the sum of integer infeasibilities */ }; struct IOSRGD { /* extension of row global descriptor */ int mark; /* row mark (reserved for application) */ void *link; /* row link (reserved for application) */ }; struct IOSCGD { /* extension of column global descriptor */ int kind; /* column kind: */ #define IOS_NUM 521 /* continuous column */ #define IOS_INT 522 /* integer column */ int mark; /* column mark (reserved for application) */ void *link; /* column link (reserved for application) */ }; struct IOSROW { /* extension of row local descriptor */ /* type of the auxiliary variable: */ #define IOS_FR IET_FR /* free variable */ #define IOS_LO IET_LO /* variable with lower bound */ #define IOS_UP IET_UP /* variable with upper bound */ #define IOS_DB IET_DB /* double-bounded variable */ #define IOS_FX IET_FX /* fixed variable */ /* status of the auxiliary variable: */ #define IOS_BS IET_BS /* basic variable */ #define IOS_NL IET_NL /* non-basic variable on lower bound */ #define IOS_NU IET_NU /* non-basic variable on upper bound */ #define IOS_NF IET_NF /* non-basic free variable */ #define IOS_NS IET_NS /* non-basic fixed variable */ double prim; /* primal value of the auxiliary variable */ double dual; /* dual value (reduced cost) of the auxiliary variable */ double pi; /* Lagrange multiplier for this row which is intended for using in the application procedure to generate columns; if the basic solution of LP relaxation of the current subproblem is optimal, this multiplier corresponds to the original objective function; if the LP relaxation has no (primal) feasible solutions, this multiplier corresponds to the sum of primal infeasibilities; in the latter case, if the original objective function has to be maximized, the sum of primal infeasibilities is taken with the minus sign in order to keep the original objective sense */ }; struct IOSCOL { /* extension of column local descriptor */ /* type of the structural variable: */ #define IOS_FR IET_FR /* free variable */ #define IOS_LO IET_LO /* variable with lower bound */ #define IOS_UP IET_UP /* variable with upper bound */ #define IOS_DB IET_DB /* double-bounded variable */ #define IOS_FX IET_FX /* fixed variable */ /* status of the structural variable: */ #define IOS_BS IET_BS /* basic variable */ #define IOS_NL IET_NL /* non-basic variable on lower bound */ #define IOS_NU IET_NU /* non-basic variable on upper bound */ #define IOS_NF IET_NF /* non-basic free variable */ #define IOS_NS IET_NS /* non-basic fixed variable */ double prim; /* primal value of the structural variable */ double dual; /* dual value (reduced cost) of the structural variable */ int frac; /* if this flag is set, the column is fractional-valued, i.e. it is of integer kind, but its primal value is integer infeasible within given tolerance */ }; /**********************************************************************/ /* * * LOW-LEVEL MAINTENANCE ROUTINES * * */ /**********************************************************************/ #define ios_get_npd_ptr(ios, p) \ ((IOSNPD *)iet_get_node_link(ios->iet, p)) /* obtain pointer to extension of subproblem descriptor */ #define ios_get_rgd_ptr(ios, i) \ ((IOSRGD *)iet_get_row_link(ios->iet, i)) /* obtain pointer to extension of row global descriptor */ #define ios_get_cgd_ptr(ios, j) \ ((IOSCGD *)iet_get_col_link(ios->iet, j)) /* obtain pointer to extension of column global descriptor */ #define ios_get_row_ptr(ios, i) \ ((IOSROW *)iet_get_row_locl(ios->iet, i)) /* obtain pointer to extension of row local descriptor */ #define ios_get_col_ptr(ios, j) \ ((IOSCOL *)iet_get_col_locl(ios->iet, j)) /* obtain pointer to extension of column local descriptor */ #define ios_set_npd_ptr(ios, p, node) \ iet_set_node_link(ios->iet, p, node) /* store pointer to extension of subproblem descriptor */ #define ios_set_rgd_ptr(ios, i, rgd) \ iet_set_row_link(ios->iet, i, rgd) /* store pointer to extension of row global descriptor */ #define ios_set_cgd_ptr(ios, j, cgd) \ iet_set_col_link(ios->iet, j, cgd) /* store pointer to extension of column global descriptor */ #define ios_set_row_ptr(ios, i, row) \ iet_set_row_locl(ios->iet, i, row) /* store pointer to extension of row local descriptor */ #define ios_set_col_ptr(ios, j, col) \ iet_set_col_locl(ios->iet, j, col) /* store pointer to extension of column local descriptor */ void ios_attach_npd(IOS *ios, int p); /* attach extension to subproblem descriptor */ void ios_attach_rgd(IOS *ios, int i); /* attach extension to row global descriptor */ void ios_attach_cgd(IOS *ios, int j); /* attach extension to column global descriptor */ void ios_attach_row(IOS *ios, int i); /* attach extension to row local descriptor */ void ios_attach_col(IOS *ios, int j); /* attach extension to column local descriptor */ void ios_detach_row(IOS *ios, int i); /* detach extension from row local descriptor */ void ios_detach_col(IOS *ios, int j); /* detach extension from column local descriptor */ void ios_hook_routine(void *info, int what, char *name, void *link); /* callback interface to enumeration tree */ /**********************************************************************/ /* * * TREE MANAGEMENT ROUTINES * * */ /**********************************************************************/ IOS *ios_create_tree(void (*appl)(IOS *ios, void *info), void *info); /* create integer optimization suite */ void ios_revive_node(IOS *ios, int p); /* revive specified subproblem */ void ios_freeze_node(IOS *ios); /* freeze current subproblem */ void ios_clone_node(IOS *ios, int p, int nnn, int ref[]); /* clone specified subproblem */ void ios_delete_node(IOS *ios, int p); /* delete specified subproblem */ void ios_delete_tree(IOS *ios); /* delete integer optimization suite */ /**********************************************************************/ /* * * TREE EXPLORING ROUTINES * * */ /**********************************************************************/ int ios_get_curr_node(IOS *ios); /* determine current active subproblem */ int ios_get_next_node(IOS *ios, int p); /* determine next active subproblem */ int ios_get_prev_node(IOS *ios, int p); /* determine previous active subproblem */ int ios_get_up_node(IOS *ios, int p); /* determine parent subproblem */ int ios_get_node_lev(IOS *ios, int p); /* determine subproblem level */ int ios_get_node_cnt(IOS *ios, int p); /* determine number of child subproblems */ int ios_pseudo_root(IOS *ios); /* find pseudo-root of the tree */ /**********************************************************************/ /* * * SUBPROBLEM MODIFYING ROUTINES * * */ /**********************************************************************/ void ios_set_obj_dir(IOS *ios, int dir); /* set optimization direction flag */ void ios_add_rows(IOS *ios, int nrs); /* add new rows to current subproblem */ void ios_add_cols(IOS *ios, int ncs); /* add new columns to current subproblem */ int ios_check_name(IOS *ios, char *name); /* check correctness of symbolic name */ void ios_set_row_name(IOS *ios, int i, char *name); /* assign symbolic name to row */ void ios_set_col_name(IOS *ios, int j, char *name); /* assign symbolic name to column */ void ios_set_row_attr(IOS *ios, int i, int mark, void *link); /* assign attributes to row */ void ios_set_col_attr(IOS *ios, int j, int mark, void *link); /* assign attributes to column */ void ios_set_col_kind(IOS *ios, int j, int kind); /* set column kind */ void ios_set_row_bnds(IOS *ios, int i, int type, double lb, double ub); /* set row type and bounds */ void ios_set_col_bnds(IOS *ios, int j, int type, double lb, double ub); /* set column type and bounds */ void ios_set_obj_coef(IOS *ios, int j, double coef); /* set objective coefficient or constant term */ void ios_set_mat_row(IOS *ios, int i, int len, int ind[], double val[]); /* replace row of constraint matrix */ void ios_set_mat_col(IOS *ios, int j, int len, int ind[], double val[]); /* replace column of constraint matrix */ void ios_set_row_stat(IOS *ios, int i, int stat); /* set row status */ void ios_set_col_stat(IOS *ios, int j, int stat); /* set column status */ void ios_del_rows(IOS *ios, int nrs, int num[]); /* delete specified rows from current subproblem */ void ios_del_cols(IOS *ios, int ncs, int num[]); /* delete specified columns from current subproblem */ /**********************************************************************/ /* * * SUBPROBLEM QUERYING ROUTINES * * */ /**********************************************************************/ int ios_get_obj_dir(IOS *ios); /* determine optimization direction flag */ int ios_get_num_rows(IOS *ios); /* determine number of rows */ int ios_get_num_cols(IOS *ios); /* determine number of columns */ int ios_get_num_nz(IOS *ios); /* determine number of constraint coefficients */ char *ios_get_row_name(IOS *ios, int i); /* obtain row name */ char *ios_get_col_name(IOS *ios, int j); /* obtain column name */ int ios_get_row_mark(IOS *ios, int i); /* obtain row mark */ void *ios_get_row_link(IOS *ios, int i); /* obtain row link */ int ios_get_col_mark(IOS *ios, int j); /* obtain column mark */ void *ios_get_col_link(IOS *ios, int j); /* obtain column link */ int ios_get_col_kind(IOS *ios, int j); /* determine column kind */ int ios_get_row_bnds(IOS *ios, int i, double *lb, double *ub); /* determine row type and bounds */ int ios_get_col_bnds(IOS *ios, int j, double *lb, double *ub); /* determine column type and bounds */ double ios_get_obj_coef(IOS *ios, int j); /* determine objective coefficient */ int ios_get_mat_row(IOS *ios, int i, int ind[], double val[]); /* obtain row of constraint matrix */ int ios_get_mat_col(IOS *ios, int j, int ind[], double val[]); /* obtain column of constraint matrix */ /**********************************************************************/ /* * * BASIC SOLUTION QUERYING ROUTINES * * */ /**********************************************************************/ int ios_p_status(IOS *ios); /* determine primal status of basic solution */ int ios_d_status(IOS *ios); /* determine dual status of basic solution */ int ios_get_row_soln(IOS *ios, int i, double *prim, double *dual); /* obtain basic solution for given row */ int ios_get_col_soln(IOS *ios, int j, double *prim, double *dual); /* obtain basic solution for given column */ double ios_get_row_pi(IOS *ios, int i); /* determine Lagrange multiplier for given row */ int ios_is_col_frac(IOS *ios, int j); /* check if specified column has fractional value */ /**********************************************************************/ /* * * LP SOLVER INTERFACE ROUTINES * * */ /**********************************************************************/ void *ios_extract_lp(IOS *ios); /* extract LP relaxation of current subproblem */ void ios_put_lp_soln(IOS *ios, void *lp); /* store basic solution of LP relaxation */ int ios_solve_root(IOS *ios); /* solve initial LP relaxation */ int ios_solve_node(IOS *ios); /* solve LP relaxation of current subproblem */ /**********************************************************************/ /* * * IOS FUNCTIONARY ROUTINES * * */ /**********************************************************************/ int ios_branch_first(IOS *ios, int *next); /* choose first column to branch on */ int ios_branch_last(IOS *ios, int *next); /* choose last column to branch on */ int ios_branch_drtom(IOS *ios, int *next); /* choose column using Driebeck-Tomlin heuristic */ void ios_branch_on(IOS *ios, int j, int next); /* perform branching on specified column */ int ios_select_fifo(IOS *ios); /* select subproblem using FIFO heuristic */ int ios_select_lifo(IOS *ios); /* select subproblem using LIFO heuristic */ void ios_select_node(IOS *ios, int p); /* select subproblem to continue the search */ int ios_driver(void (*appl)(IOS *ios, void *info), void *info); /* integer optimization driver routine */ #endif /* eof */ liblip-2.0.0/include/glpk/glplib.h0000644000175000017500000001454710426015340013715 00000000000000/* glplib.h (miscellaneous low-level routines) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPLIB_H #define _GLPLIB_H #define lib_set_ptr glp_lib_set_ptr #define lib_get_ptr glp_lib_get_ptr #define lib_get_time glp_lib_get_time #define lib_init_env glp_lib_init_env #define lib_env_ptr glp_lib_env_ptr #define lib_free_env glp_lib_free_env #define print glp_lib_print #define lib_set_print_hook glp_lib_set_print_hook #define fault glp_lib_fault #define lib_set_fault_hook glp_lib_set_fault_hook #define _insist glp_lib_insist #define umalloc glp_lib_umalloc #define ucalloc glp_lib_ucalloc #define ufree glp_lib_ufree #define ufopen glp_lib_ufopen #define ufclose glp_lib_ufclose #define str2int glp_lib_str2int #define str2dbl glp_lib_str2dbl #define strspx glp_lib_strspx #define strtrim glp_lib_strtrim #define fp2rat glp_lib_fp2rat typedef struct LIBENV LIBENV; typedef struct LIBMEM LIBMEM; #define LIB_MAX_OPEN 20 /* maximal number of simultaneously open i/o streams */ struct LIBENV { /* library environmental block */ /*--------------------------------------------------------------*/ /* user-defined hook routines */ void *print_info; /* transit pointer passed to the routine print_hook */ int (*print_hook)(void *info, char *msg); /* user-defined print hook routine */ void *fault_info; /* transit pointer passed to the routine fault_hook */ int (*fault_hook)(void *info, char *msg); /* user-defined fault hook routine */ /*--------------------------------------------------------------*/ /* dynamic memory registration */ LIBMEM *mem_ptr; /* pointer to the linked list of allocated memory blocks */ int mem_limit; /* maximal amount of memory (in bytes) available for dynamic allocation */ int mem_total; /* total amount of currently allocated memory (in bytes; is the sum of the size fields over all memory block descriptors) */ int mem_tpeak; /* peak value of mem_total */ int mem_count; /* total number of currently allocated memory blocks */ int mem_cpeak; /* peak value of mem_count */ /*--------------------------------------------------------------*/ /* input/output streams registration */ void *file_slot[LIB_MAX_OPEN]; /* FILE *file_slot[]; */ /* file_slot[k], 0 <= k <= LIB_MAX_OPEN-1, is a pointer to k-th i/o stream; if k-th slot is free, file_slot[k] is NULL */ }; struct LIBMEM { /* memory block descriptor */ int size; /* size of block (in bytes, including descriptor) */ int flag; /* descriptor flag */ LIBMEM *prev; /* pointer to the previous memory block descriptor */ LIBMEM *next; /* pointer to the next memory block descriptor */ /* actual data start here (there may be a "hole" between the next field and actual data due to data alignment) */ }; #define LIB_MEM_FLAG 0x20101960 /* value used as memory block descriptor flag */ void lib_set_ptr(void *ptr); /* store a pointer */ void *lib_get_ptr(void); /* retrieve a pointer */ double lib_get_time(void); /* determine the current universal time */ int lib_init_env(void); /* initialize library environment */ LIBENV *lib_env_ptr(void); /* retrieve a pointer to the environmental block */ int lib_free_env(void); /* free library environment */ void print(char *fmt, ...); /* print informative message */ void lib_set_print_hook(void *info, int (*hook)(void *info, char *msg)); /* install print hook routine */ void fault(char *fmt, ...); /* print error message and terminate program execution */ void lib_set_fault_hook(void *info, int (*hook)(void *info, char *msg)); /* install fault hook routine */ #define insist(expr) \ ((void)((expr) || (_insist(#expr, __FILE__, __LINE__), 1))) void _insist(char *expr, char *file, int line); /* check for logical condition */ /* some processors need data to be properly aligned; the align_boundary macro defines the boundary, which should fit for all data types; the align_datasize macro allows enlarging size of data item in order the immediately following data of any type should be properly aligned */ #define align_boundary sizeof(double) #define align_datasize(size) \ ((((size) + (align_boundary - 1)) / align_boundary) * align_boundary) void *umalloc(int size); /* allocate memory block */ void *ucalloc(int nmemb, int size); /* allocate memory block */ void ufree(void *ptr); /* free memory block */ void *ufopen(char *fname, char *mode); /* open file */ void ufclose(void *fp); /* close file */ #define utime lib_get_time /* determine the current universal time */ int str2int(char *str, int *val); /* convert character string to value of integer type */ int str2dbl(char *str, double *val); /* convert character string to value of double type */ char *strspx(char *str); /* remove all spaces from character string */ char *strtrim(char *str); /* remove trailing spaces from character string */ int fp2rat(double x, double eps, double *p, double *q); /* convert floating-point number to rational number */ #endif /* eof */ liblip-2.0.0/include/glpk/glpluf.h0000644000175000017500000004005210426015340013723 00000000000000/* glpluf.h (LU-factorization) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPLUF_H #define _GLPLUF_H #define luf_create glp_luf_create #define luf_defrag_sva glp_luf_defrag_sva #define luf_enlarge_row glp_luf_enlarge_row #define luf_enlarge_col glp_luf_enlarge_col #define luf_alloc_wa glp_luf_alloc_wa #define luf_free_wa glp_luf_free_wa #define luf_decomp glp_luf_decomp #define luf_f_solve glp_luf_f_solve #define luf_v_solve glp_luf_v_solve #define luf_solve glp_luf_solve #define luf_delete glp_luf_delete /*---------------------------------------------------------------------- -- The structure LUF defines LU-factorization of a square matrix A, -- which is the following quartet: -- -- [A] = (F, V, P, Q), (1) -- -- where F and V are such matrices that -- -- A = F * V, (2) -- -- and P and Q are such permutation matrices that the matrix -- -- L = P * F * inv(P) (3) -- -- is lower triangular with unity diagonal, and the matrix -- -- U = P * V * Q (4) -- -- is upper triangular. All the matrices have the order n. -- -- The matrices F and V are stored in row/column-wise sparse format as -- row and column linked lists of non-zero elements. Unity elements on -- the main diagonal of the matrix F are not stored. Pivot elements of -- the matrix V (that correspond to diagonal elements of the matrix U) -- are also missing from the row and column lists and stored separately -- in an ordinary array. -- -- The permutation matrices P and Q are stored as ordinary arrays using -- both row- and column-like formats. -- -- The matrices L and U being completely defined by the matrices F, V, -- P, and Q are not stored explicitly. -- -- It can easily be shown that the factorization (1)-(3) is a version of -- LU-factorization. Indeed, from (3) and (4) it follows that -- -- F = inv(P) * L * P, -- -- V = inv(P) * U * inv(Q), -- -- and substitution into (2) gives -- -- A = F * V = inv(P) * L * U * inv(Q). -- -- For more details see the program documentation. */ typedef struct LUF LUF; typedef struct LUF_WA LUF_WA; struct LUF { /* LU-factorization of a square matrix */ int n; /* order of the matrices A, F, V, P, Q */ int valid; /* if this flag is not set, the factorization is invalid */ /*--------------------------------------------------------------*/ /* matrix F in row-wise format */ int *fr_ptr; /* int fr_ptr[1+n]; */ /* fr_ptr[0] is not used; fr_ptr[i], i = 1, ..., n, is a pointer to the first element of the i-th row in the sparse vector area */ int *fr_len; /* int fr_len[1+n]; */ /* fr_len[0] is not used; fr_len[i], i = 1, ..., n, is number of elements in the i-th row (except unity diagonal element) */ /*--------------------------------------------------------------*/ /* matrix F in column-wise format */ int *fc_ptr; /* int fc_ptr[1+n]; */ /* fc_ptr[0] is not used; fc_ptr[j], j = 1, ..., n, is a pointer to the first element of the j-th column in the sparse vector area */ int *fc_len; /* int fc_len[1+n]; */ /* fc_len[0] is not used; fc_len[j], j = 1, ..., n, is number of elements in the j-th column (except unity diagonal element) */ /*--------------------------------------------------------------*/ /* matrix V in row-wise format */ int *vr_ptr; /* int vr_ptr[1+n]; */ /* vr_ptr[0] is not used; vr_ptr[i], i = 1, ..., n, is a pointer to the first element of the i-th row in the sparse vector area */ int *vr_len; /* int vr_len[1+n]; */ /* vr_len[0] is not used; vr_len[i], i = 1, ..., n, is number of elements in the i-th row (except pivot element) */ int *vr_cap; /* int vr_cap[1+n]; */ /* vr_cap[0] is not used; vr_cap[i], i = 1, ..., n, is capacity of the i-th row, i.e. maximal number of elements, which can be stored there without relocating the row, vr_cap[i] >= vr_len[i] */ double *vr_piv; /* double vr_piv[1+n]; */ /* vr_piv[0] is not used; vr_piv[p], p = 1, ..., n, is the pivot element v[p,q], which corresponds to a diagonal element of the matrix U = P*V*Q */ /*--------------------------------------------------------------*/ /* matrix V in column-wise format */ int *vc_ptr; /* int vc_ptr[1+n]; */ /* vc_ptr[0] is not used; vc_ptr[j], j = 1, ..., n, is a pointer to the first element of the j-th column in the sparse vector area */ int *vc_len; /* int vc_len[1+n]; */ /* vc_len[0] is not used; vc_len[j], j = 1, ..., n, is number of elements in the j-th column (except pivot element) */ int *vc_cap; /* int vc_cap[1+n]; */ /* vc_cap[0] is not used; vc_cap[j], j = 1, ..., n, is capacity of the j-th column, i.e. maximal number of elements, which can be stored there without relocating the column, vc_cap[j] >= vc_len[j] */ /*--------------------------------------------------------------*/ /* matrix P */ int *pp_row; /* int pp_row[1+n]; */ /* pp_row[0] is not used; pp_row[i] = j means that p[i,j] = 1 */ int *pp_col; /* int pp_col[1+n]; */ /* pp_col[0] is not used; pp_col[j] = i means that p[i,j] = 1 */ /* if i-th row or column of the matrix F corresponds to i'-th row or column of the matrix L = P*F*inv(P), or if i-th row of the matrix V corresponds to i'-th row of the matrix U = P*V*Q, then pp_row[i'] = i and pp_col[i] = i' */ /*--------------------------------------------------------------*/ /* matrix Q */ int *qq_row; /* int qq_row[1+n]; */ /* qq_row[0] is not used; qq_row[i] = j means that q[i,j] = 1 */ int *qq_col; /* int qq_col[1+n]; */ /* qq_col[0] is not used; qq_col[j] = i means that q[i,j] = 1 */ /* if j-th column of the matrix V corresponds to j'-th column of the matrix U = P*V*Q, then qq_row[j] = j' and qq_col[j'] = j */ /*--------------------------------------------------------------*/ /* sparse vector area (SVA) is a set of locations intended to store sparse vectors that represent rows and columns of the matrices F and V; each location is the doublet (ndx, val), where ndx is an index and val is a numerical value of a sparse vector element; in the whole each sparse vector is a set of adjacent locations defined by a pointer to the first element and number of elements; these pointer and number are stored in the corresponding matrix data structure (see above); the left part of SVA is used to store rows and columns of the matrix V, the right part is used to store rows and columns of the matrix F; between the left and right parts there is the middle part, locations of which are free */ int sv_size; /* total size of the sparse vector area, in locations; locations are numbered by integers 1, 2, ..., sv_size, and location with the number 0 is not used; if it is necessary, the size of SVA is automatically increased */ int sv_beg, sv_end; /* SVA partitioning pointers: locations 1, ..., sv_beg-1 belong to the left part; locations sv_beg, ..., sv_end-1 belong to the middle part; locations sv_end, ..., sv_size belong to the right part; number of free locations, i.e. locations that belong to the middle part, is (sv_end - sv_beg) */ int *sv_ndx; /* int sv_ndx[1+sv_size]; */ /* sv_ndx[0] is not used; sv_ndx[k], 1 <= k <= sv_size, is the index field of the k-th location */ double *sv_val; /* double sv_val[1+sv_size]; */ /* sv_val[0] is not used; sv_val[k], 1 <= k <= sv_size, is the value field of the k-th location */ /* in order to efficiently defragment the left part of SVA there is a double linked list of rows and columns of the matrix V, where rows have numbers 1, ..., n, and columns have numbers n+1, ..., n+n, due to that each row and column can be uniquely identified by one integer; in this list rows and columns are ordered by ascending their pointers vr_ptr[i] and vc_ptr[j] */ int sv_head; /* the number of the leftmost row/column */ int sv_tail; /* the number of the rightmost row/column */ int *sv_prev; /* int sv_prev[1+n+n]; */ /* sv_prev[k], k = 1, ..., n+n, is the number of a row/column, which precedes the k-th row/column */ int *sv_next; /* int sv_next[1+n+n]; */ /* sv_next[k], k = 1, ..., n+n, is the number of a row/column, which succedes the k-th row/column */ /*--------------------------------------------------------------*/ /* working arrays */ int *flag; /* int flag[1+n]; */ /* integer working array */ double *work; /* double work[1+n]; */ /* floating-point working array */ /*--------------------------------------------------------------*/ /* control parameters */ int new_sva; /* new required size of the sparse vector area, in locations; set automatically by the factorizing routine */ double piv_tol; /* threshold pivoting tolerance, 0 < piv_tol < 1; element v[i,j] of the active submatrix fits to be pivot if it satisfies to the stability condition |v[i,j]| >= piv_tol * max|v[i,*]|, i.e. if this element is not very small (in absolute value) among other elements in the same row; decreasing this parameter involves better sparsity at the expense of numerical accuracy and vice versa */ int piv_lim; /* maximal allowable number of pivot candidates to be considered; if piv_lim pivot candidates have been considered, the pivoting routine terminates the search with the best candidate found */ int suhl; /* if this flag is set, the pivoting routine applies a heuristic rule proposed by Uwe Suhl: if a column of the active submatrix has no eligible pivot candidates (i.e. all its elements don't satisfy to the stability condition), the routine excludes such column from the futher consideration until it becomes a column singleton; in many cases this reduces a time needed for pivot searching */ double eps_tol; /* epsilon tolerance; each element of the matrix V with absolute value less than eps_tol is replaced by exact zero */ double max_gro; /* maximal allowable growth of elements of the matrix V during all the factorization process; if on some elimination step the ratio big_v / max_a (see below) becomes greater than max_gro, the matrix A is considered as ill-conditioned (it is assumed that the tolerance piv_tol has an adequate value) */ /*--------------------------------------------------------------*/ /* some statistics */ int nnz_a; /* number of non-zeros in the matrix A */ int nnz_f; /* number of non-zeros in the matrix F (except diagonal elements, which are always equal to one and therefore not stored) */ int nnz_v; /* number of non-zeros in the matrix V (except pivot elements, which correspond to diagonal elements of the matrix U = P*V*Q and which are stored separately in the array vr_piv) */ double max_a; /* largest of absolute values of elements of the matrix A */ double big_v; /* estimated largest of absolute values of elements appeared in the active submatrix during all the factorization process */ int rank; /* estimated rank of the matrix A */ }; struct LUF_WA { /* working area (used only during factorization) */ double *rs_max; /* double rs_max[1+n]; */ /* rs_max[0] is not used; rs_max[i], 1 <= i <= n, is used only if the i-th row of the matrix V belongs to the active submatrix and is the largest of absolute values of elements in this row; rs_max[i] < 0.0 means that the largest value is not known yet and should be determined by the pivoting routine */ /*--------------------------------------------------------------*/ /* in order to efficiently implement Markowitz strategy and Duff search technique there are two families {R[0], R[1], ..., R[n]} and {C[0], C[1], ..., C[n]}; member R[k] is a set of active rows of the matrix V, which have k non-zeros; similarly, member C[k] is a set of active columns of the matrix V, which have k non-zeros (in the active submatrix); each set R[k] and C[k] is implemented as a separate doubly linked list */ int *rs_head; /* int rs_head[1+n]; */ /* rs_head[k], 0 <= k <= n, is number of the first active row, which has k non-zeros */ int *rs_prev; /* int rs_prev[1+n]; */ /* rs_prev[0] is not used; rs_prev[i], 1 <= i <= n, is number of the previous active row, which has the same number of non-zeros as the i-th row */ int *rs_next; /* int rs_next[1+n]; */ /* rs_next[0] is not used; rs_next[i], 1 <= i <= n, is number of the next active row, which has the same number of non-zeros as the i-th row */ int *cs_head; /* int cs_head[1+n]; */ /* cs_head[k], 0 <= k <= n, is number of the first active column, which has k non-zeros (in the active submatrix) */ int *cs_prev; /* int cs_prev[1+n]; */ /* cs_prev[0] is not used; cs_prev[j], 1 <= j <= n, is number of the previous active column, which has the same number of non-zeros (in the active submatrix) as the j-th column */ int *cs_next; /* int cs_next[1+n]; */ /* cs_next[0] is not used; cs_next[j], 1 <= j <= n, is number of the next active column, which has the same number of non-zeros (in the active submatrix) as the j-th column */ }; LUF *luf_create(int n, int sv_size); /* create LU-factorization */ void luf_defrag_sva(LUF *luf); /* defragment the sparse vector area */ int luf_enlarge_row(LUF *luf, int i, int cap); /* enlarge row capacity */ int luf_enlarge_col(LUF *luf, int j, int cap); /* enlarge column capacity */ LUF_WA *luf_alloc_wa(LUF *luf); /* pre-allocate working area */ void luf_free_wa(LUF_WA *wa); /* free working area */ int luf_decomp(LUF *luf, void *info, int (*col)(void *info, int j, int rn[], double aj[]), LUF_WA *wa); /* compute LU-factorization */ void luf_f_solve(LUF *luf, int tr, double x[]); /* solve system F*x = b or F'*x = b */ void luf_v_solve(LUF *luf, int tr, double x[]); /* solve system V*x = b or V'*x = b */ void luf_solve(LUF *luf, int tr, double x[]); /* solve system A*x = b or A'*x = b */ void luf_delete(LUF *luf); /* delete LU-factorization */ #endif /* eof */ liblip-2.0.0/include/glpk/glpmpl.h0000644000175000017500000024173610426015340013741 00000000000000/* glpmpl.h (GNU MathProg translator) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPMPL_H #define _GLPMPL_H #include #include #include "glpavl.h" #include "glprng.h" #define enter_context glp_mpl_enter_context #define print_context glp_mpl_print_context #define get_char glp_mpl_get_char #define append_char glp_mpl_append_char #define get_token glp_mpl_get_token #define unget_token glp_mpl_unget_token #define is_keyword glp_mpl_is_keyword #define is_reserved glp_mpl_is_reserved #define make_code glp_mpl_make_code #define make_unary glp_mpl_make_unary #define make_binary glp_mpl_make_binary #define make_ternary glp_mpl_make_ternary #define numeric_literal glp_mpl_numeric_literal #define string_literal glp_mpl_string_literal #define create_arg_list glp_mpl_create_arg_list #define expand_arg_list glp_mpl_expand_arg_list #define arg_list_len glp_mpl_arg_list_len #define subscript_list glp_mpl_subscript_list #define object_reference glp_mpl_object_reference #define numeric_argument glp_mpl_numeric_argument #define function_reference glp_mpl_function_reference #define create_domain glp_mpl_create_domain #define create_block glp_mpl_create_block #define append_block glp_mpl_append_block #define append_slot glp_mpl_append_slot #define expression_list glp_mpl_expression_list #define literal_set glp_mpl_literal_set #define indexing_expression glp_mpl_indexing_expression #define close_scope glp_mpl_close_scope #define iterated_expression glp_mpl_iterated_expression #define domain_arity glp_mpl_domain_arity #define set_expression glp_mpl_set_expression #define branched_expression glp_mpl_branched_expression #define primary_expression glp_mpl_primary_expression #define error_preceding glp_mpl_error_preceding #define error_following glp_mpl_error_following #define error_dimension glp_mpl_error_dimension #define expression_0 glp_mpl_expression_0 #define expression_1 glp_mpl_expression_1 #define expression_2 glp_mpl_expression_2 #define expression_3 glp_mpl_expression_3 #define expression_4 glp_mpl_expression_4 #define expression_5 glp_mpl_expression_5 #define expression_6 glp_mpl_expression_6 #define expression_7 glp_mpl_expression_7 #define expression_8 glp_mpl_expression_8 #define expression_9 glp_mpl_expression_9 #define expression_10 glp_mpl_expression_10 #define expression_11 glp_mpl_expression_11 #define expression_12 glp_mpl_expression_12 #define expression_13 glp_mpl_expression_13 #define set_statement glp_mpl_set_statement #define parameter_statement glp_mpl_parameter_statement #define variable_statement glp_mpl_variable_statement #define constraint_statement glp_mpl_constraint_statement #define objective_statement glp_mpl_objective_statement #define solve_statement glp_mpl_solve_statement #define check_statement glp_mpl_check_statement #define display_statement glp_mpl_display_statement #define printf_statement glp_mpl_printf_statement #define for_statement glp_mpl_for_statement #define end_statement glp_mpl_end_statement #define simple_statement glp_mpl_simple_statement #define model_section glp_mpl_model_section #define create_slice glp_mpl_create_slice #define expand_slice glp_mpl_expand_slice #define slice_dimen glp_mpl_slice_dimen #define slice_arity glp_mpl_slice_arity #define fake_slice glp_mpl_fake_slice #define delete_slice glp_mpl_delete_slice #define is_number glp_mpl_is_number #define is_symbol glp_mpl_is_symbol #define is_literal glp_mpl_is_literal #define read_number glp_mpl_read_number #define read_symbol glp_mpl_read_symbol #define read_slice glp_mpl_read_slice #define select_set glp_mpl_select_set #define simple_format glp_mpl_simple_format #define matrix_format glp_mpl_matrix_format #define set_data glp_mpl_set_data #define select_parameter glp_mpl_select_parameter #define set_default glp_mpl_set_default #define read_value glp_mpl_read_value #define plain_format glp_mpl_plain_format #define tabular_format glp_mpl_tabular_format #define tabbing_format glp_mpl_tabbing_format #define parameter_data glp_mpl_parameter_data #define data_section glp_mpl_data_section #define fp_add glp_mpl_fp_add #define fp_sub glp_mpl_fp_sub #define fp_less glp_mpl_fp_less #define fp_mul glp_mpl_fp_mul #define fp_div glp_mpl_fp_div #define fp_idiv glp_mpl_fp_idiv #define fp_mod glp_mpl_fp_mod #define fp_power glp_mpl_fp_power #define fp_exp glp_mpl_fp_exp #define fp_log glp_mpl_fp_log #define fp_log10 glp_mpl_fp_log10 #define fp_sqrt glp_mpl_fp_sqrt #define fp_round glp_mpl_fp_round #define fp_trunc glp_mpl_fp_trunc #define fp_irand224 glp_mpl_fp_irand224 #define fp_uniform01 glp_mpl_fp_uniform01 #define fp_uniform glp_mpl_uniform #define fp_normal01 glp_mpl_fp_normal01 #define fp_normal glp_mpl_fp_normal #define create_string glp_mpl_create_string #define copy_string glp_mpl_copy_string #define compare_strings glp_mpl_compare_strings #define fetch_string glp_mpl_fetch_string #define delete_string glp_mpl_delete_string #define create_symbol_num glp_mpl_create_symbol_num #define create_symbol_str glp_mpl_create_symbol_str #define copy_symbol glp_mpl_copy_symbol #define compare_symbols glp_mpl_compare_symbols #define delete_symbol glp_mpl_delete_symbol #define format_symbol glp_mpl_format_symbol #define concat_symbols glp_mpl_concat_symbols #define create_tuple glp_mpl_create_tuple #define expand_tuple glp_mpl_expand_tuple #define tuple_dimen glp_mpl_tuple_dimen #define copy_tuple glp_mpl_copy_tuple #define compare_tuples glp_mpl_compare_tuples #define build_subtuple glp_mpl_build_subtuple #define delete_tuple glp_mpl_delete_tuple #define format_tuple glp_mpl_format_tuple #define create_elemset glp_mpl_create_elemset #define find_tuple glp_mpl_find_tuple #define add_tuple glp_mpl_add_tuple #define check_then_add glp_mpl_check_then_add #define copy_elemset glp_mpl_copy_elemset #define delete_elemset glp_mpl_delete_elemset #define arelset_size glp_mpl_arelset_size #define arelset_member glp_mpl_arelset_member #define create_arelset glp_mpl_create_arelset #define set_union glp_mpl_set_union #define set_diff glp_mpl_set_diff #define set_symdiff glp_mpl_set_symdiff #define set_inter glp_mpl_set_inter #define set_cross glp_mpl_set_cross #define constant_term glp_mpl_constant_term #define single_variable glp_mpl_single_variable #define copy_formula glp_mpl_copy_formula #define delete_formula glp_mpl_delete_formula #define linear_comb glp_mpl_linear_comb #define remove_constant glp_mpl_remove_constant #define reduce_terms glp_mpl_reduce_terms #define delete_value glp_mpl_delete_value #define create_array glp_mpl_create_array #define find_member glp_mpl_find_member #define add_member glp_mpl_add_member #define delete_array glp_mpl_delete_array #define assign_dummy_index glp_mpl_assign_dummy_index #define update_dummy_indices glp_mpl_update_dummy_indices #define enter_domain_block glp_mpl_enter_domain_block #define eval_within_domain glp_mpl_eval_within_domain #define loop_within_domain glp_mpl_loop_within_domain #define out_of_domain glp_mpl_out_of_domain #define get_domain_tuple glp_mpl_get_domain_tuple #define clean_domain glp_mpl_clean_domain #define check_elem_set glp_mpl_check_elem_set #define take_member_set glp_mpl_take_member_set #define eval_member_set glp_mpl_eval_member_set #define eval_whole_set glp_mpl_eval_whole_set #define clean_set glp_mpl_clean_set #define check_value_num glp_mpl_check_value_num #define take_member_num glp_mpl_take_member_num #define eval_member_num glp_mpl_eval_member_num #define check_value_sym glp_mpl_check_value_sym #define take_member_sym glp_mpl_take_member_sym #define eval_member_sym glp_mpl_eval_member_sym #define eval_whole_par glp_mpl_eval_whole_par #define clean_parameter glp_mpl_clean_parameter #define take_member_var glp_mpl_take_member_var #define eval_member_var glp_mpl_eval_member_var #define eval_whole_var glp_mpl_eval_whole_var #define clean_variable glp_mpl_clean_variable #define take_member_con glp_mpl_take_member_con #define eval_member_con glp_mpl_eval_member_con #define eval_whole_con glp_mpl_eval_whole_con #define clean_constraint glp_mpl_clean_constraint #define eval_numeric glp_mpl_eval_numeric #define eval_symbolic glp_mpl_eval_symbolic #define eval_logical glp_mpl_eval_logical #define eval_tuple glp_mpl_eval_tuple #define eval_elemset glp_mpl_eval_elemset #define is_member glp_mpl_is_member #define eval_formula glp_mpl_eval_formula #define clean_code glp_mpl_clean_code #define execute_check glp_mpl_execute_check #define clean_check glp_mpl_clean_check #define execute_display glp_mpl_execute_display #define clean_display glp_mpl_clean_display #define execute_printf glp_mpl_execute_printf #define clean_printf glp_mpl_clean_printf #define execute_for glp_mpl_execute_for #define clean_for glp_mpl_clean_for #define execute_statement glp_mpl_execute_statement #define clean_statement glp_mpl_clean_statement #define alloc_content glp_mpl_alloc_content #define generate_model glp_mpl_generate_model #define build_problem glp_mpl_build_problem #define postsolve_model glp_mpl_postsolve_model #define clean_model glp_mpl_clean_model #define open_input glp_mpl_open_input #define read_char glp_mpl_read_char #define close_input glp_mpl_close_input #define open_output glp_mpl_open_output #define write_char glp_mpl_write_char #define write_text glp_mpl_write_text #define flush_output glp_mpl_flush_output #define error glp_mpl_error #define warning glp_mpl_warning #define mpl_initialize glp_mpl_initialize #define mpl_read_model glp_mpl_read_model #define mpl_read_data glp_mpl_read_data #define mpl_generate glp_mpl_generate #define mpl_get_prob_name glp_mpl_get_prob_name #define mpl_get_num_rows glp_mpl_get_num_rows #define mpl_get_num_cols glp_mpl_get_num_cols #define mpl_get_row_name glp_mpl_get_row_name #define mpl_get_row_kind glp_mpl_get_row_kind #define mpl_get_row_bnds glp_mpl_get_row_bnds #define mpl_get_mat_row glp_mpl_get_mat_row #define mpl_get_row_c0 glp_mpl_get_row_c0 #define mpl_get_col_name glp_mpl_get_col_name #define mpl_get_col_kind glp_mpl_get_col_kind #define mpl_get_col_bnds glp_mpl_get_col_bnds #define mpl_has_solve_stmt glp_mpl_has_solve_stmt #define mpl_put_col_value glp_mpl_put_col_value #define mpl_postsolve glp_mpl_postsolve #define mpl_terminate glp_mpl_terminate typedef struct MPL MPL; typedef struct STRING STRING; typedef struct SYMBOL SYMBOL; typedef struct TUPLE TUPLE; typedef struct ARRAY ELEMSET; typedef struct ELEMVAR ELEMVAR; typedef struct FORMULA FORMULA; typedef struct ELEMCON ELEMCON; typedef union VALUE VALUE; typedef struct ARRAY ARRAY; typedef struct MEMBER MEMBER; #if 1 /* many C compilers have DOMAIN declared in :+( */ #undef DOMAIN #define DOMAIN DOMAIN1 #endif typedef struct DOMAIN DOMAIN; typedef struct DOMAIN_BLOCK DOMAIN_BLOCK; typedef struct DOMAIN_SLOT DOMAIN_SLOT; typedef struct SET SET; typedef struct WITHIN WITHIN; typedef struct PARAMETER PARAMETER; typedef struct CONDITION CONDITION; typedef struct VARIABLE VARIABLE; typedef struct CONSTRAINT CONSTRAINT; typedef union OPERANDS OPERANDS; typedef struct ARG_LIST ARG_LIST; typedef struct CODE CODE; typedef struct CHECK CHECK; typedef struct DISPLAY DISPLAY; typedef struct DISPLAY1 DISPLAY1; typedef struct PRINTF PRINTF; typedef struct PRINTF1 PRINTF1; typedef struct FOR FOR; typedef struct STATEMENT STATEMENT; typedef struct TUPLE SLICE; /**********************************************************************/ /* * * TRANSLATOR DATABASE * * */ /**********************************************************************/ #define A_BINARY 101 /* something binary */ #define A_CHECK 102 /* check statement */ #define A_CONSTRAINT 103 /* model constraint */ #define A_DISPLAY 104 /* display statement */ #define A_ELEMCON 105 /* elemental constraint/objective */ #define A_ELEMSET 106 /* elemental set */ #define A_ELEMVAR 107 /* elemental variable */ #define A_EXPRESSION 108 /* expression */ #define A_FOR 109 /* for statement */ #define A_FORMULA 110 /* formula */ #define A_INDEX 111 /* dummy index */ #define A_INTEGER 112 /* something integer */ #define A_LOGICAL 113 /* something logical */ #define A_MAXIMIZE 114 /* objective has to be maximized */ #define A_MINIMIZE 115 /* objective has to be minimized */ #define A_NONE 116 /* nothing */ #define A_NUMERIC 117 /* something numeric */ #define A_PARAMETER 118 /* model parameter */ #define A_PRINTF 119 /* printf statement */ #define A_SET 120 /* model set */ #define A_SOLVE 121 /* solve statement */ #define A_SYMBOLIC 122 /* something symbolic */ #define A_TUPLE 123 /* n-tuple */ #define A_VARIABLE 124 /* model variable */ #define MAX_LENGTH 100 /* maximal length of any symbolic value (this includes symbolic names, numeric and string literals, and all symbolic values that may appear during the evaluation phase) */ #define CONTEXT_SIZE 60 /* size of the context queue, in characters */ #define OUTBUF_SIZE 1024 /* size of the output buffer, in characters */ struct MPL { /* translator database */ /*--------------------------------------------------------------*/ /* scanning segment */ int line; /* number of the current text line */ int c; /* the current character or EOF */ int token; /* the current token: */ #define T_EOF 201 /* end of file */ #define T_NAME 202 /* symbolic name (model section only) */ #define T_SYMBOL 203 /* symbol (data section only) */ #define T_NUMBER 204 /* numeric literal */ #define T_STRING 205 /* string literal */ #define T_AND 206 /* and && */ #define T_BY 207 /* by */ #define T_CROSS 208 /* cross */ #define T_DIFF 209 /* diff */ #define T_DIV 210 /* div */ #define T_ELSE 211 /* else */ #define T_IF 212 /* if */ #define T_IN 213 /* in */ #define T_INTER 214 /* inter */ #define T_LESS 215 /* less */ #define T_MOD 216 /* mod */ #define T_NOT 217 /* not ! */ #define T_OR 218 /* or || */ #define T_SPTP 219 /* s.t. */ #define T_SYMDIFF 220 /* symdiff */ #define T_THEN 221 /* then */ #define T_UNION 222 /* union */ #define T_WITHIN 223 /* within */ #define T_PLUS 224 /* + */ #define T_MINUS 225 /* - */ #define T_ASTERISK 226 /* * */ #define T_SLASH 227 /* / */ #define T_POWER 228 /* ^ ** */ #define T_LT 229 /* < */ #define T_LE 230 /* <= */ #define T_EQ 231 /* = == */ #define T_GE 232 /* >= */ #define T_GT 233 /* > */ #define T_NE 234 /* <> != */ #define T_CONCAT 235 /* & */ #define T_BAR 236 /* | */ #define T_POINT 237 /* . */ #define T_COMMA 238 /* , */ #define T_COLON 239 /* : */ #define T_SEMICOLON 240 /* ; */ #define T_ASSIGN 241 /* := */ #define T_DOTS 242 /* .. */ #define T_LEFT 243 /* ( */ #define T_RIGHT 244 /* ) */ #define T_LBRACKET 245 /* [ */ #define T_RBRACKET 246 /* ] */ #define T_LBRACE 247 /* { */ #define T_RBRACE 248 /* } */ int imlen; /* length of the current token */ char *image; /* char image[MAX_LENGTH+1]; */ /* image of the current token */ double value; /* value of the current token (for T_NUMBER only) */ int b_token; /* the previous token */ int b_imlen; /* length of the previous token */ char *b_image; /* char b_image[MAX_LENGTH+1]; */ /* image of the previous token */ double b_value; /* value of the previous token (if token is T_NUMBER) */ int f_dots; /* if this flag is set, the next token should be recognized as T_DOTS, not as T_POINT */ int f_scan; /* if this flag is set, the next token is already scanned */ int f_token; /* the next token */ int f_imlen; /* length of the next token */ char *f_image; /* char f_image[MAX_LENGTH+1]; */ /* image of the next token */ double f_value; /* value of the next token (if token is T_NUMBER) */ char *context; /* char context[CONTEXT_SIZE]; */ /* context circular queue (not null-terminated!) */ int c_ptr; /* pointer to the current position in the context queue */ int flag_d; /* if this flag is set, the data section is being processed */ /*--------------------------------------------------------------*/ /* translating segment */ DMP *pool; /* memory pool used to allocate all data instances created during the translation phase */ AVLTREE *tree; /* symbolic name table: node.type = A_INDEX => node.link -> DOMAIN_SLOT node.type = A_SET => node.link -> SET node.type = A_PARAMETER => node.link -> PARAMETER node.type = A_VARIABLE => node.link -> VARIABLE node.type = A_CONSTRANT => node.link -> CONSTRAINT */ STATEMENT *model; /* linked list of model statements in the original order */ int flag_x; /* if this flag is set, the current token being left parenthesis begins a slice that allows recognizing any undeclared symbolic names as dummy indices; this flag is automatically reset once the next token has been scanned */ int as_within; /* the warning "in understood as within" has been issued */ int as_in; /* the warning "within understood as in" has been issued */ int as_binary; /* the warning "logical understood as binary" has been issued */ #if 1 /* 01/VIII-2004 */ int flag_s; /* if this flag is set, the solve statement has been parsed */ #endif /*--------------------------------------------------------------*/ /* common segment */ DMP *strings; /* memory pool to allocate STRING data structures */ DMP *symbols; /* memory pool to allocate SYMBOL data structures */ DMP *tuples; /* memory pool to allocate TUPLE data structures */ DMP *arrays; /* memory pool to allocate ARRAY data structures */ DMP *members; /* memory pool to allocate MEMBER data structures */ DMP *elemvars; /* memory pool to allocate ELEMVAR data structures */ DMP *formulae; /* memory pool to allocate FORMULA data structures */ DMP *elemcons; /* memory pool to allocate ELEMCON data structures */ ARRAY *a_list; /* linked list of all arrays in the database */ char *sym_buf; /* char sym_buf[255+1]; */ /* working buffer used by the routine format_symbol */ char *tup_buf; /* char tup_buf[255+1]; */ /* working buffer used by the routine format_tuple */ /*--------------------------------------------------------------*/ /* generating/postsolving segment */ #if 1 /* 04/VIII-2004 */ RNG *rand; /* pseudo-random number generator */ #endif #if 1 /* 01/VIII-2004 */ int flag_p; /* if this flag is set, the postsolving phase is in effect */ #endif STATEMENT *stmt; /* model statement being currently executed */ int m; /* number of rows in the problem, m >= 0 */ int n; /* number of columns in the problem, n >= 0 */ ELEMCON **row; /* ELEMCON *row[1+m]; */ /* row[0] is not used; row[i] is elemental constraint or objective, which corresponds to i-th row of the problem, 1 <= i <= m */ ELEMVAR **col; /* ELEMVAR *col[1+n]; */ /* col[0] is not used; col[j] is elemental variable, which corresponds to j-th column of the problem, 1 <= j <= n */ /*--------------------------------------------------------------*/ /* input/output segment */ FILE *in_fp; /* stream assigned to the input text file */ char *in_file; /* name of the input text file */ FILE *out_fp; /* stream assigned to the output text file used to write all data produced by display and printf statements; NULL means the data should be sent to stdout via the routine print */ char *out_file; /* name of the output text file */ #if 1 /* 03/VIII-2004 */ char *out_buf; /* char out_buf[OUTBUF_SIZE] */ /* buffer to accumulate output data */ int out_cnt; /* count of data bytes stored in the output buffer */ #endif /*--------------------------------------------------------------*/ /* solver interface segment */ jmp_buf jump; /* jump address for non-local go to in case of error */ int phase; /* phase of processing: 0 - database is being or has been initialized 1 - model section is being or has been read 2 - data section is being or has been read 3 - model is being or has been generated/postsolved 4 - model processing error has occurred */ char *mod_file; /* name of the input text file, which contains model section */ char *mpl_buf; /* char mpl_buf[255+1]; */ /* working buffer used by some interface routines */ }; /**********************************************************************/ /* * * PROCESSING MODEL SECTION * * */ /**********************************************************************/ #define alloc(type) ((type *)dmp_get_atomv(mpl->pool, sizeof(type))) /* allocate atom of given type */ void enter_context(MPL *mpl); /* enter current token into context queue */ void print_context(MPL *mpl); /* print current content of context queue */ void get_char(MPL *mpl); /* scan next character from input text file */ void append_char(MPL *mpl); /* append character to current token */ void get_token(MPL *mpl); /* scan next token from input text file */ void unget_token(MPL *mpl); /* return current token back to input stream */ int is_keyword(MPL *mpl, char *keyword); /* check if current token is given non-reserved keyword */ int is_reserved(MPL *mpl); /* check if current token is reserved keyword */ CODE *make_code(MPL *mpl, int op, OPERANDS *arg, int type, int dim); /* generate pseudo-code (basic routine) */ CODE *make_unary(MPL *mpl, int op, CODE *x, int type, int dim); /* generate pseudo-code for unary operation */ CODE *make_binary(MPL *mpl, int op, CODE *x, CODE *y, int type, int dim); /* generate pseudo-code for binary operation */ CODE *make_ternary(MPL *mpl, int op, CODE *x, CODE *y, CODE *z, int type, int dim); /* generate pseudo-code for ternary operation */ CODE *numeric_literal(MPL *mpl); /* parse reference to numeric literal */ CODE *string_literal(MPL *mpl); /* parse reference to string literal */ ARG_LIST *create_arg_list(MPL *mpl); /* create empty operands list */ ARG_LIST *expand_arg_list(MPL *mpl, ARG_LIST *list, CODE *x); /* append operand to operands list */ int arg_list_len(MPL *mpl, ARG_LIST *list); /* determine length of operands list */ ARG_LIST *subscript_list(MPL *mpl); /* parse subscript list */ CODE *object_reference(MPL *mpl); /* parse reference to named object */ CODE *numeric_argument(MPL *mpl, char *func); /* parse argument passed to built-in function */ CODE *function_reference(MPL *mpl); /* parse reference to built-in function */ DOMAIN *create_domain(MPL *mpl); /* create empty domain */ DOMAIN_BLOCK *create_block(MPL *mpl); /* create empty domain block */ void append_block(MPL *mpl, DOMAIN *domain, DOMAIN_BLOCK *block); /* append domain block to specified domain */ DOMAIN_SLOT *append_slot(MPL *mpl, DOMAIN_BLOCK *block, char *name, CODE *code); /* create and append new slot to domain block */ CODE *expression_list(MPL *mpl); /* parse expression list */ CODE *literal_set(MPL *mpl, CODE *code); /* parse literal set */ DOMAIN *indexing_expression(MPL *mpl); /* parse indexing expression */ void close_scope(MPL *mpl, DOMAIN *domain); /* close scope of indexing expression */ CODE *iterated_expression(MPL *mpl); /* parse iterated expression */ int domain_arity(MPL *mpl, DOMAIN *domain); /* determine arity of domain */ CODE *set_expression(MPL *mpl); /* parse set expression */ CODE *branched_expression(MPL *mpl); /* parse conditional expression */ CODE *primary_expression(MPL *mpl); /* parse primary expression */ void error_preceding(MPL *mpl, char *opstr); /* raise error if preceding operand has wrong type */ void error_following(MPL *mpl, char *opstr); /* raise error if following operand has wrong type */ void error_dimension(MPL *mpl, char *opstr, int dim1, int dim2); /* raise error if operands have different dimension */ CODE *expression_0(MPL *mpl); /* parse expression of level 0 */ CODE *expression_1(MPL *mpl); /* parse expression of level 1 */ CODE *expression_2(MPL *mpl); /* parse expression of level 2 */ CODE *expression_3(MPL *mpl); /* parse expression of level 3 */ CODE *expression_4(MPL *mpl); /* parse expression of level 4 */ CODE *expression_5(MPL *mpl); /* parse expression of level 5 */ CODE *expression_6(MPL *mpl); /* parse expression of level 6 */ CODE *expression_7(MPL *mpl); /* parse expression of level 7 */ CODE *expression_8(MPL *mpl); /* parse expression of level 8 */ CODE *expression_9(MPL *mpl); /* parse expression of level 9 */ CODE *expression_10(MPL *mpl); /* parse expression of level 10 */ CODE *expression_11(MPL *mpl); /* parse expression of level 11 */ CODE *expression_12(MPL *mpl); /* parse expression of level 12 */ CODE *expression_13(MPL *mpl); /* parse expression of level 13 */ SET *set_statement(MPL *mpl); /* parse set statement */ PARAMETER *parameter_statement(MPL *mpl); /* parse parameter statement */ VARIABLE *variable_statement(MPL *mpl); /* parse variable statement */ CONSTRAINT *constraint_statement(MPL *mpl); /* parse constraint statement */ CONSTRAINT *objective_statement(MPL *mpl); /* parse objective statement */ void *solve_statement(MPL *mpl); /* parse solve statement */ CHECK *check_statement(MPL *mpl); /* parse check statement */ DISPLAY *display_statement(MPL *mpl); /* parse display statement */ PRINTF *printf_statement(MPL *mpl); /* parse printf statement */ FOR *for_statement(MPL *mpl); /* parse for statement */ void end_statement(MPL *mpl); /* parse end statement */ STATEMENT *simple_statement(MPL *mpl, int spec); /* parse simple statement */ void model_section(MPL *mpl); /* parse model section */ /**********************************************************************/ /* * * PROCESSING DATA SECTION * * */ /**********************************************************************/ #if 2 + 2 == 5 struct SLICE /* see TUPLE */ { /* component of slice; the slice itself is associated with its first component; slices are similar to n-tuples with exception that some slice components (which are indicated by asterisks) don't refer to any symbols */ SYMBOL *sym; /* symbol, which this component refers to; can be NULL */ SLICE *next; /* the next component of slice */ }; #endif SLICE *create_slice(MPL *mpl); /* create slice */ SLICE *expand_slice ( MPL *mpl, SLICE *slice, /* destroyed */ SYMBOL *sym /* destroyed */ ); /* append new component to slice */ int slice_dimen ( MPL *mpl, SLICE *slice /* not changed */ ); /* determine dimension of slice */ int slice_arity ( MPL *mpl, SLICE *slice /* not changed */ ); /* determine arity of slice */ SLICE *fake_slice(MPL *mpl, int dim); /* create fake slice of all asterisks */ void delete_slice ( MPL *mpl, SLICE *slice /* destroyed */ ); /* delete slice */ int is_number(MPL *mpl); /* check if current token is number */ int is_symbol(MPL *mpl); /* check if current token is symbol */ int is_literal(MPL *mpl, char *literal); /* check if current token is given symbolic literal */ double read_number(MPL *mpl); /* read number */ SYMBOL *read_symbol(MPL *mpl); /* read symbol */ SLICE *read_slice ( MPL *mpl, char *name, /* not changed */ int dim ); /* read slice */ SET *select_set ( MPL *mpl, char *name /* not changed */ ); /* select set to saturate it with elemental sets */ void simple_format ( MPL *mpl, SET *set, /* not changed */ MEMBER *memb, /* modified */ SLICE *slice /* not changed */ ); /* read set data block in simple format */ void matrix_format ( MPL *mpl, SET *set, /* not changed */ MEMBER *memb, /* modified */ SLICE *slice, /* not changed */ int tr ); /* read set data block in matrix format */ void set_data(MPL *mpl); /* read set data */ PARAMETER *select_parameter ( MPL *mpl, char *name /* not changed */ ); /* select parameter to saturate it with data */ void set_default ( MPL *mpl, PARAMETER *par, /* not changed */ SYMBOL *altval /* destroyed */ ); /* set default parameter value */ MEMBER *read_value ( MPL *mpl, PARAMETER *par, /* not changed */ TUPLE *tuple /* destroyed */ ); /* read value and assign it to parameter member */ void plain_format ( MPL *mpl, PARAMETER *par, /* not changed */ SLICE *slice /* not changed */ ); /* read parameter data block in plain format */ void tabular_format ( MPL *mpl, PARAMETER *par, /* not changed */ SLICE *slice, /* not changed */ int tr ); /* read parameter data block in tabular format */ void tabbing_format ( MPL *mpl, SYMBOL *altval /* not changed */ ); /* read parameter data block in tabbing format */ void parameter_data(MPL *mpl); /* read parameter data */ void data_section(MPL *mpl); /* read data section */ /**********************************************************************/ /* * * FLOATING-POINT NUMBERS * * */ /**********************************************************************/ double fp_add(MPL *mpl, double x, double y); /* floating-point addition */ double fp_sub(MPL *mpl, double x, double y); /* floating-point subtraction */ double fp_less(MPL *mpl, double x, double y); /* floating-point non-negative subtraction */ double fp_mul(MPL *mpl, double x, double y); /* floating-point multiplication */ double fp_div(MPL *mpl, double x, double y); /* floating-point division */ double fp_idiv(MPL *mpl, double x, double y); /* floating-point quotient of exact division */ double fp_mod(MPL *mpl, double x, double y); /* floating-point remainder of exact division */ double fp_power(MPL *mpl, double x, double y); /* floating-point exponentiation (raise to power) */ double fp_exp(MPL *mpl, double x); /* floating-point base-e exponential */ double fp_log(MPL *mpl, double x); /* floating-point natural logarithm */ double fp_log10(MPL *mpl, double x); /* floating-point common (decimal) logarithm */ double fp_sqrt(MPL *mpl, double x); /* floating-point square root */ double fp_round(MPL *mpl, double x, double n); /* round floating-point value to n fractional digits */ double fp_trunc(MPL *mpl, double x, double n); /* truncate floating-point value to n fractional digits */ /**********************************************************************/ /* * * PSEUDO-RANDOM NUMBER GENERATORS * * */ /**********************************************************************/ double fp_irand224(MPL *mpl); /* pseudo-random integer in the range [0, 2^24) */ double fp_uniform01(MPL *mpl); /* pseudo-random number in the range [0, 1) */ double fp_uniform(MPL *mpl, double a, double b); /* pseudo-random number in the range [a, b) */ double fp_normal01(MPL *mpl); /* Gaussian random variate with mu = 0 and sigma = 1 */ double fp_normal(MPL *mpl, double mu, double sigma); /* Gaussian random variate with specified mu and sigma */ /**********************************************************************/ /* * * SEGMENTED CHARACTER STRINGS * * */ /**********************************************************************/ #define STRSEG_SIZE 12 /* number of characters in one segment of the string */ struct STRING { /* segment of character string; the string itself is associated with its first segment */ char seg[STRSEG_SIZE]; /* up to STRSEG_SIZE characters; the end of string is indicated by '\0' as usual; thus, if this segment doesn't contain '\0', there must be a next segment */ STRING *next; /* the next segment of string */ }; STRING *create_string ( MPL *mpl, char buf[MAX_LENGTH+1] /* not changed */ ); /* create character string */ STRING *copy_string ( MPL *mpl, STRING *str /* not changed */ ); /* make copy of character string */ int compare_strings ( MPL *mpl, STRING *str1, /* not changed */ STRING *str2 /* not changed */ ); /* compare one character string with another */ char *fetch_string ( MPL *mpl, STRING *str, /* not changed */ char buf[MAX_LENGTH+1] /* modified */ ); /* extract content of character string */ void delete_string ( MPL *mpl, STRING *str /* destroyed */ ); /* delete character string */ /**********************************************************************/ /* * * SYMBOLS * * */ /**********************************************************************/ struct SYMBOL { /* symbol (numeric or abstract quantity) */ double num; /* numeric value of symbol (used only if str == NULL) */ STRING *str; /* abstract value of symbol (used only if str != NULL) */ }; SYMBOL *create_symbol_num(MPL *mpl, double num); /* create symbol of numeric type */ SYMBOL *create_symbol_str ( MPL *mpl, STRING *str /* destroyed */ ); /* create symbol of abstract type */ SYMBOL *copy_symbol ( MPL *mpl, SYMBOL *sym /* not changed */ ); /* make copy of symbol */ int compare_symbols ( MPL *mpl, SYMBOL *sym1, /* not changed */ SYMBOL *sym2 /* not changed */ ); /* compare one symbol with another */ void delete_symbol ( MPL *mpl, SYMBOL *sym /* destroyed */ ); /* delete symbol */ char *format_symbol ( MPL *mpl, SYMBOL *sym /* not changed */ ); /* format symbol for displaying or printing */ SYMBOL *concat_symbols ( MPL *mpl, SYMBOL *sym1, /* destroyed */ SYMBOL *sym2 /* destroyed */ ); /* concatenate one symbol with another */ /**********************************************************************/ /* * * N-TUPLES * * */ /**********************************************************************/ struct TUPLE { /* component of n-tuple; the n-tuple itself is associated with its first component; (note that 0-tuple has no components) */ SYMBOL *sym; /* symbol, which the component refers to; cannot be NULL */ TUPLE *next; /* the next component of n-tuple */ }; TUPLE *create_tuple(MPL *mpl); /* create n-tuple */ TUPLE *expand_tuple ( MPL *mpl, TUPLE *tuple, /* destroyed */ SYMBOL *sym /* destroyed */ ); /* append symbol to n-tuple */ int tuple_dimen ( MPL *mpl, TUPLE *tuple /* not changed */ ); /* determine dimension of n-tuple */ TUPLE *copy_tuple ( MPL *mpl, TUPLE *tuple /* not changed */ ); /* make copy of n-tuple */ int compare_tuples ( MPL *mpl, TUPLE *tuple1, /* not changed */ TUPLE *tuple2 /* not changed */ ); /* compare one n-tuple with another */ TUPLE *build_subtuple ( MPL *mpl, TUPLE *tuple, /* not changed */ int dim ); /* build subtuple of given n-tuple */ void delete_tuple ( MPL *mpl, TUPLE *tuple /* destroyed */ ); /* delete n-tuple */ char *format_tuple ( MPL *mpl, int c, TUPLE *tuple /* not changed */ ); /* format n-tuple for displaying or printing */ /**********************************************************************/ /* * * ELEMENTAL SETS * * */ /**********************************************************************/ #if 2 + 2 == 5 struct ELEMSET /* see ARRAY */ { /* elemental set of n-tuples; formally it is a "value" assigned to members of model sets (like numbers and symbols, which are values assigned to members of model parameters); note that a simple model set is not an elemental set, it is 0-dimensional array, the only member of which (if it exists) is assigned an elemental set */ #endif ELEMSET *create_elemset(MPL *mpl, int dim); /* create elemental set */ MEMBER *find_tuple ( MPL *mpl, ELEMSET *set, /* not changed */ TUPLE *tuple /* not changed */ ); /* check if elemental set contains given n-tuple */ MEMBER *add_tuple ( MPL *mpl, ELEMSET *set, /* modified */ TUPLE *tuple /* destroyed */ ); /* add new n-tuple to elemental set */ MEMBER *check_then_add ( MPL *mpl, ELEMSET *set, /* modified */ TUPLE *tuple /* destroyed */ ); /* check and add new n-tuple to elemental set */ ELEMSET *copy_elemset ( MPL *mpl, ELEMSET *set /* not changed */ ); /* make copy of elemental set */ void delete_elemset ( MPL *mpl, ELEMSET *set /* destroyed */ ); /* delete elemental set */ int arelset_size(MPL *mpl, double t0, double tf, double dt); /* compute size of "arithmetic" elemental set */ double arelset_member(MPL *mpl, double t0, double tf, double dt, int j); /* compute member of "arithmetic" elemental set */ ELEMSET *create_arelset(MPL *mpl, double t0, double tf, double dt); /* create "arithmetic" elemental set */ ELEMSET *set_union ( MPL *mpl, ELEMSET *X, /* destroyed */ ELEMSET *Y /* destroyed */ ); /* union of two elemental sets */ ELEMSET *set_diff ( MPL *mpl, ELEMSET *X, /* destroyed */ ELEMSET *Y /* destroyed */ ); /* difference between two elemental sets */ ELEMSET *set_symdiff ( MPL *mpl, ELEMSET *X, /* destroyed */ ELEMSET *Y /* destroyed */ ); /* symmetric difference between two elemental sets */ ELEMSET *set_inter ( MPL *mpl, ELEMSET *X, /* destroyed */ ELEMSET *Y /* destroyed */ ); /* intersection of two elemental sets */ ELEMSET *set_cross ( MPL *mpl, ELEMSET *X, /* destroyed */ ELEMSET *Y /* destroyed */ ); /* cross (Cartesian) product of two elemental sets */ /**********************************************************************/ /* * * ELEMENTAL VARIABLES * * */ /**********************************************************************/ struct ELEMVAR { /* elemental variable; formally it is a "value" assigned to members of model variables (like numbers and symbols, which are values assigned to members of model parameters) */ int j; /* LP column number assigned to this elemental variable */ VARIABLE *var; /* model variable, which contains this elemental variable */ MEMBER *memb; /* array member, which is assigned this elemental variable */ double lbnd; /* lower bound */ double ubnd; /* upper bound */ double temp; /* working quantity used in operations on linear forms; normally it contains floating-point zero */ #if 1 /* 01/VIII-2004 */ double value; /* value of this elemental variable provided by the solver */ #endif }; /**********************************************************************/ /* * * LINEAR FORMS * * */ /**********************************************************************/ struct FORMULA { /* term of linear form c * x, where c is a coefficient, x is an elemental variable; the linear form itself is the sum of terms and is associated with its first term; (note that the linear form may be empty that means the sum is equal to zero) */ double coef; /* coefficient at elemental variable or constant term */ ELEMVAR *var; /* reference to elemental variable; NULL means constant term */ FORMULA *next; /* the next term of linear form */ }; FORMULA *constant_term(MPL *mpl, double coef); /* create constant term */ FORMULA *single_variable ( MPL *mpl, ELEMVAR *var /* referenced */ ); /* create single variable */ FORMULA *copy_formula ( MPL *mpl, FORMULA *form /* not changed */ ); /* make copy of linear form */ void delete_formula ( MPL *mpl, FORMULA *form /* destroyed */ ); /* delete linear form */ FORMULA *linear_comb ( MPL *mpl, double a, FORMULA *fx, /* destroyed */ double b, FORMULA *fy /* destroyed */ ); /* linear combination of two linear forms */ FORMULA *remove_constant ( MPL *mpl, FORMULA *form, /* destroyed */ double *coef /* modified */ ); /* remove constant term from linear form */ FORMULA *reduce_terms ( MPL *mpl, FORMULA *form /* destroyed */ ); /* reduce identical terms in linear form */ /**********************************************************************/ /* * * ELEMENTAL CONSTRAINTS * * */ /**********************************************************************/ struct ELEMCON { /* elemental constraint; formally it is a "value" assigned to members of model constraints (like numbers or symbols, which are values assigned to members of model parameters) */ int i; /* LP row number assigned to this elemental constraint */ CONSTRAINT *con; /* model constraint, which contains this elemental constraint */ MEMBER *memb; /* array member, which is assigned this elemental constraint */ FORMULA *form; /* linear form */ double lbnd; /* lower bound */ double ubnd; /* upper bound */ }; /**********************************************************************/ /* * * GENERIC VALUES * * */ /**********************************************************************/ union VALUE { /* generic value, which can be assigned to object member or be a result of evaluation of expression */ /* indicator that specifies the particular type of generic value is stored in the corresponding array or pseudo-code descriptor and can be one of the following: A_NONE - no value A_NUMERIC - floating-point number A_SYMBOLIC - symbol A_LOGICAL - logical value A_TUPLE - n-tuple A_ELEMSET - elemental set A_ELEMVAR - elemental variable A_FORMULA - linear form A_ELEMCON - elemental constraint */ void *none; /* null */ double num; /* value */ SYMBOL *sym; /* value */ int bit; /* value */ TUPLE *tuple; /* value */ ELEMSET *set; /* value */ ELEMVAR *var; /* reference */ FORMULA *form; /* value */ ELEMCON *con; /* reference */ }; void delete_value ( MPL *mpl, int type, VALUE *value /* content destroyed */ ); /* delete generic value */ /**********************************************************************/ /* * * SYMBOLICALLY INDEXED ARRAYS * * */ /**********************************************************************/ struct ARRAY { /* multi-dimensional array, a set of members indexed over simple or compound sets of symbols; arrays are used to represent the contents of model objects (i.e. sets, parameters, variables, constraints, and objectives); arrays also are used as "values" that are assigned to members of set objects, in which case the array itself represents an elemental set */ int type; /* type of generic values assigned to the array members: A_NONE - none (members have no assigned values) A_NUMERIC - floating-point numbers A_SYMBOLIC - symbols A_ELEMSET - elemental sets A_ELEMVAR - elemental variables A_ELEMCON - elemental constraints */ int dim; /* dimension of the array that determines number of components in n-tuples for all members of the array, dim >= 0; dim = 0 means the array is 0-dimensional */ int size; /* size of the array, i.e. number of its members */ MEMBER *head; /* the first array member; NULL means the array is empty */ MEMBER *tail; /* the last array member; NULL means the array is empty */ AVLTREE *tree; /* the search tree intended to find array members for logarithmic time; NULL means the search tree doesn't exist */ ARRAY *prev; /* the previous array in the translator database */ ARRAY *next; /* the next array in the translator database */ }; struct MEMBER { /* array member */ TUPLE *tuple; /* n-tuple, which identifies the member; number of its components is the same for all members within the array and determined by the array dimension; duplicate members are not allowed */ MEMBER *next; /* the next array member */ VALUE value; /* generic value assigned to the member */ }; ARRAY *create_array(MPL *mpl, int type, int dim); /* create array */ MEMBER *find_member ( MPL *mpl, ARRAY *array, /* not changed */ TUPLE *tuple /* not changed */ ); /* find array member with given n-tuple */ MEMBER *add_member ( MPL *mpl, ARRAY *array, /* modified */ TUPLE *tuple /* destroyed */ ); /* add new member to array */ void delete_array ( MPL *mpl, ARRAY *array /* destroyed */ ); /* delete array */ /**********************************************************************/ /* * * DOMAINS AND DUMMY INDICES * * */ /**********************************************************************/ struct DOMAIN { /* domain (a simple or compound set); syntactically domain looks like '{ i in I, (j,k) in S, t in T : }'; domains are used to define sets, over which model objects are indexed, and also as constituents of iterated operators */ DOMAIN_BLOCK *list; /* linked list of domain blocks (in the example above such blocks are 'i in I', '(j,k) in S', and 't in T'); this list cannot be empty */ CODE *code; /* pseudo-code for computing the logical predicate, which follows the colon; NULL means no predicate is specified */ }; struct DOMAIN_BLOCK { /* domain block; syntactically domain blocks look like 'i in I', '(j,k) in S', and 't in T' in the example above (in the sequel sets like I, S, and T are called basic sets) */ DOMAIN_SLOT *list; /* linked list of domain slots (i.e. indexing positions); number of slots in this list is the same as dimension of n-tuples in the basic set; this list cannot be empty */ CODE *code; /* pseudo-code for computing basic set; cannot be NULL */ TUPLE *backup; /* if this n-tuple is not empty, current values of dummy indices in the domain block are the same as components of this n-tuple (note that this n-tuple may have larger dimension than number of dummy indices in this block, in which case extra components are ignored); this n-tuple is used to restore former values of dummy indices, if they were changed due to recursive calls to the domain block */ DOMAIN_BLOCK *next; /* the next block in the same domain */ }; struct DOMAIN_SLOT { /* domain slot; it specifies an individual indexing position and defines the corresponding dummy index */ char *name; /* symbolic name of the dummy index; null pointer means the dummy index is not explicitly specified */ CODE *code; /* pseudo-code for computing symbolic value, at which the dummy index is bound; NULL means the dummy index is free within the domain scope */ SYMBOL *value; /* current value assigned to the dummy index; NULL means no value is assigned at the moment */ CODE *list; /* linked list of pseudo-codes with operation O_INDEX referring to this slot; this linked list is used to invalidate resultant values of the operation, which depend on this dummy index */ DOMAIN_SLOT *next; /* the next slot in the same domain block */ }; void assign_dummy_index ( MPL *mpl, DOMAIN_SLOT *slot, /* modified */ SYMBOL *value /* not changed */ ); /* assign new value to dummy index */ void update_dummy_indices ( MPL *mpl, DOMAIN_BLOCK *block /* not changed */ ); /* update current values of dummy indices */ int enter_domain_block ( MPL *mpl, DOMAIN_BLOCK *block, /* not changed */ TUPLE *tuple, /* not changed */ void *info, void (*func)(MPL *mpl, void *info) ); /* enter domain block */ int eval_within_domain ( MPL *mpl, DOMAIN *domain, /* not changed */ TUPLE *tuple, /* not changed */ void *info, void (*func)(MPL *mpl, void *info) ); /* perform evaluation within domain scope */ void loop_within_domain ( MPL *mpl, DOMAIN *domain, /* not changed */ void *info, int (*func)(MPL *mpl, void *info) ); /* perform iterations within domain scope */ void out_of_domain ( MPL *mpl, char *name, /* not changed */ TUPLE *tuple /* not changed */ ); /* raise domain exception */ TUPLE *get_domain_tuple ( MPL *mpl, DOMAIN *domain /* not changed */ ); /* obtain current n-tuple from domain */ void clean_domain(MPL *mpl, DOMAIN *domain); /* clean domain */ /**********************************************************************/ /* * * MODEL SETS * * */ /**********************************************************************/ struct SET { /* model set */ char *name; /* symbolic name; cannot be NULL */ char *alias; /* alias; NULL means alias is not specified */ int dim; /* aka arity */ /* dimension (number of subscripts); dim = 0 means 0-dimensional (unsubscripted) set, dim > 0 means set of sets */ DOMAIN *domain; /* subscript domain; NULL for 0-dimensional set */ int dimen; /* dimension of n-tuples, which members of this set consist of (note that the model set itself is an array of elemental sets, which are its members; so, don't confuse this dimension with dimension of the model set); always non-zero */ WITHIN *within; /* list of supersets, which restrict each member of the set to be in every superset from this list; this list can be empty */ CODE *assign; /* pseudo-code for computing assigned value; can be NULL */ CODE *option; /* pseudo-code for computing default value; can be NULL */ int data; /* data status flag: 0 - no data are provided in the data section 1 - data are provided, but not checked yet 2 - data are provided and have been checked */ ARRAY *array; /* array of members, which are assigned elemental sets */ }; struct WITHIN { /* restricting superset list entry */ CODE *code; /* pseudo-code for computing the superset; cannot be NULL */ WITHIN *next; /* the next entry for the same set or parameter */ }; void check_elem_set ( MPL *mpl, SET *set, /* not changed */ TUPLE *tuple, /* not changed */ ELEMSET *refer /* not changed */ ); /* check elemental set assigned to set member */ ELEMSET *take_member_set /* returns reference, not value */ ( MPL *mpl, SET *set, /* not changed */ TUPLE *tuple /* not changed */ ); /* obtain elemental set assigned to set member */ ELEMSET *eval_member_set /* returns reference, not value */ ( MPL *mpl, SET *set, /* not changed */ TUPLE *tuple /* not changed */ ); /* evaluate elemental set assigned to set member */ void eval_whole_set(MPL *mpl, SET *set); /* evaluate model set over entire domain */ void clean_set(MPL *mpl, SET *set); /* clean model set */ /**********************************************************************/ /* * * MODEL PARAMETERS * * */ /**********************************************************************/ struct PARAMETER { /* model parameter */ char *name; /* symbolic name; cannot be NULL */ char *alias; /* alias; NULL means alias is not specified */ int dim; /* aka arity */ /* dimension (number of subscripts); dim = 0 means 0-dimensional (unsubscripted) parameter */ DOMAIN *domain; /* subscript domain; NULL for 0-dimensional parameter */ int type; /* parameter type: A_NUMERIC - numeric A_INTEGER - integer A_BINARY - binary A_SYMBOLIC - symbolic */ CONDITION *cond; /* list of conditions, which restrict each parameter member to satisfy to every condition from this list; this list is used only for numeric parameters and can be empty */ WITHIN *in; /* list of supersets, which restrict each parameter member to be in every superset from this list; this list is used only for symbolic parameters and can be empty */ CODE *assign; /* pseudo-code for computing assigned value; can be NULL */ CODE *option; /* pseudo-code for computing default value; can be NULL */ int data; /* data status flag: 0 - no data are provided in the data section 1 - data are provided, but not checked yet 2 - data are provided and have been checked */ SYMBOL *defval; /* default value provided in the data section; can be NULL */ ARRAY *array; /* array of members, which are assigned numbers or symbols */ }; struct CONDITION { /* restricting condition list entry */ int rho; /* flag that specifies the form of the condition: O_LT - less than O_LE - less than or equal to O_EQ - equal to O_GE - greater than or equal to O_GT - greater than O_NE - not equal to */ CODE *code; /* pseudo-code for computing the reference value */ CONDITION *next; /* the next entry for the same parameter */ }; void check_value_num ( MPL *mpl, PARAMETER *par, /* not changed */ TUPLE *tuple, /* not changed */ double value ); /* check numeric value assigned to parameter member */ double take_member_num ( MPL *mpl, PARAMETER *par, /* not changed */ TUPLE *tuple /* not changed */ ); /* obtain numeric value assigned to parameter member */ double eval_member_num ( MPL *mpl, PARAMETER *par, /* not changed */ TUPLE *tuple /* not changed */ ); /* evaluate numeric value assigned to parameter member */ void check_value_sym ( MPL *mpl, PARAMETER *par, /* not changed */ TUPLE *tuple, /* not changed */ SYMBOL *value /* not changed */ ); /* check symbolic value assigned to parameter member */ SYMBOL *take_member_sym /* returns value, not reference */ ( MPL *mpl, PARAMETER *par, /* not changed */ TUPLE *tuple /* not changed */ ); /* obtain symbolic value assigned to parameter member */ SYMBOL *eval_member_sym /* returns value, not reference */ ( MPL *mpl, PARAMETER *par, /* not changed */ TUPLE *tuple /* not changed */ ); /* evaluate symbolic value assigned to parameter member */ void eval_whole_par(MPL *mpl, PARAMETER *par); /* evaluate model parameter over entire domain */ void clean_parameter(MPL *mpl, PARAMETER *par); /* clean model parameter */ /**********************************************************************/ /* * * MODEL VARIABLES * * */ /**********************************************************************/ struct VARIABLE { /* model variable */ char *name; /* symbolic name; cannot be NULL */ char *alias; /* alias; NULL means alias is not specified */ int dim; /* aka arity */ /* dimension (number of subscripts); dim = 0 means 0-dimensional (unsubscripted) variable */ DOMAIN *domain; /* subscript domain; NULL for 0-dimensional variable */ int type; /* variable type: A_NUMERIC - continuous A_INTEGER - integer A_BINARY - binary */ CODE *lbnd; /* pseudo-code for computing lower bound; NULL means lower bound is not specified */ CODE *ubnd; /* pseudo-code for computing upper bound; NULL means upper bound is not specified */ /* if both the pointers lbnd and ubnd refer to the same code, the variable is fixed at the corresponding value */ ARRAY *array; /* array of members, which are assigned elemental variables */ }; ELEMVAR *take_member_var /* returns reference */ ( MPL *mpl, VARIABLE *var, /* not changed */ TUPLE *tuple /* not changed */ ); /* obtain reference to elemental variable */ ELEMVAR *eval_member_var /* returns reference */ ( MPL *mpl, VARIABLE *var, /* not changed */ TUPLE *tuple /* not changed */ ); /* evaluate reference to elemental variable */ void eval_whole_var(MPL *mpl, VARIABLE *var); /* evaluate model variable over entire domain */ void clean_variable(MPL *mpl, VARIABLE *var); /* clean model variable */ /**********************************************************************/ /* * * MODEL CONSTRAINTS AND OBJECTIVES * * */ /**********************************************************************/ struct CONSTRAINT { /* model constraint or objective */ char *name; /* symbolic name; cannot be NULL */ char *alias; /* alias; NULL means alias is not specified */ int dim; /* aka arity */ /* dimension (number of subscripts); dim = 0 means 0-dimensional (unsubscripted) constraint */ DOMAIN *domain; /* subscript domain; NULL for 0-dimensional constraint */ int type; /* constraint type: A_CONSTRAINT - constraint A_MINIMIZE - objective (minimization) A_MAXIMIZE - objective (maximization) */ CODE *code; /* pseudo-code for computing main linear form; cannot be NULL */ CODE *lbnd; /* pseudo-code for computing lower bound; NULL means lower bound is not specified */ CODE *ubnd; /* pseudo-code for computing upper bound; NULL means upper bound is not specified */ /* if both the pointers lbnd and ubnd refer to the same code, the constraint has the form of equation */ ARRAY *array; /* array of members, which are assigned elemental constraints */ }; ELEMCON *take_member_con /* returns reference */ ( MPL *mpl, CONSTRAINT *con, /* not changed */ TUPLE *tuple /* not changed */ ); /* obtain reference to elemental constraint */ ELEMCON *eval_member_con /* returns reference */ ( MPL *mpl, CONSTRAINT *con, /* not changed */ TUPLE *tuple /* not changed */ ); /* evaluate reference to elemental constraint */ void eval_whole_con(MPL *mpl, CONSTRAINT *con); /* evaluate model constraint over entire domain */ void clean_constraint(MPL *mpl, CONSTRAINT *con); /* clean model constraint */ /**********************************************************************/ /* * * PSEUDO-CODE * * */ /**********************************************************************/ union OPERANDS { /* operands that participate in pseudo-code operation (choice of particular operands depends on the operation code) */ /*--------------------------------------------------------------*/ double num; /* O_NUMBER */ /* floaing-point number to be taken */ /*--------------------------------------------------------------*/ char *str; /* O_STRING */ /* character string to be taken */ /*--------------------------------------------------------------*/ struct /* O_INDEX */ { DOMAIN_SLOT *slot; /* domain slot, which contains dummy index to be taken */ CODE *next; /* the next pseudo-code with op = O_INDEX, which refers to the same slot as this one; pointer to the beginning of this list is stored in the corresponding domain slot */ } index; /*--------------------------------------------------------------*/ struct /* O_MEMNUM, O_MEMSYM */ { PARAMETER *par; /* model parameter, which contains member to be taken */ ARG_LIST *list; /* list of subscripts; NULL for 0-dimensional parameter */ } par; /*--------------------------------------------------------------*/ struct /* O_MEMSET */ { SET *set; /* model set, which contains member to be taken */ ARG_LIST *list; /* list of subscripts; NULL for 0-dimensional set */ } set; /*--------------------------------------------------------------*/ struct /* O_MEMVAR */ { VARIABLE *var; /* model variable, which contains member to be taken */ ARG_LIST *list; /* list of subscripts; NULL for 0-dimensional variable */ } var; /*--------------------------------------------------------------*/ ARG_LIST *list; /* O_TUPLE, O_MAKE, n-ary operations */ /* list of operands */ /*--------------------------------------------------------------*/ DOMAIN_BLOCK *slice; /* O_SLICE */ /* domain block, which specifies slice (i.e. n-tuple that contains free dummy indices); this operation is never evaluated */ /*--------------------------------------------------------------*/ struct /* unary, binary, ternary operations */ { CODE *x; /* pseudo-code for computing first operand */ CODE *y; /* pseudo-code for computing second operand */ CODE *z; /* pseudo-code for computing third operand */ } arg; /*--------------------------------------------------------------*/ struct /* iterated operations */ { DOMAIN *domain; /* domain, over which the operation is performed */ CODE *x; /* pseudo-code for computing "integrand" */ } loop; /*--------------------------------------------------------------*/ }; struct ARG_LIST { /* operands list entry */ CODE *x; /* pseudo-code for computing operand */ ARG_LIST *next; /* the next operand of the same operation */ }; struct CODE { /* pseudo-code (internal form of expressions) */ int op; /* operation code: */ #define O_NUMBER 301 /* take floating-point number */ #define O_STRING 302 /* take character string */ #define O_INDEX 303 /* take dummy index */ #define O_MEMNUM 304 /* take member of numeric parameter */ #define O_MEMSYM 305 /* take member of symbolic parameter */ #define O_MEMSET 306 /* take member of set */ #define O_MEMVAR 307 /* take member of variable */ #define O_TUPLE 308 /* make n-tuple */ #define O_MAKE 309 /* make elemental set of n-tuples */ #define O_SLICE 310 /* define domain block (dummy op) */ /* 0-ary operations --------------------*/ #define O_IRAND224 311 /* pseudo-random in [0, 2^24-1] */ #define O_UNIFORM01 312 /* pseudo-random in [0, 1) */ #define O_NORMAL01 313 /* gaussian random, mu = 0, sigma = 1 */ /* unary operations --------------------*/ #define O_CVTNUM 314 /* conversion to numeric */ #define O_CVTSYM 315 /* conversion to symbolic */ #define O_CVTLOG 316 /* conversion to logical */ #define O_CVTTUP 317 /* conversion to 1-tuple */ #define O_CVTLFM 318 /* conversion to linear form */ #define O_PLUS 319 /* unary plus */ #define O_MINUS 320 /* unary minus */ #define O_NOT 321 /* negation (logical "not") */ #define O_ABS 322 /* absolute value */ #define O_CEIL 323 /* round upward ("ceiling of x") */ #define O_FLOOR 324 /* round downward ("floor of x") */ #define O_EXP 325 /* base-e exponential */ #define O_LOG 326 /* natural logarithm */ #define O_LOG10 327 /* common (decimal) logarithm */ #define O_SQRT 328 /* square root */ #define O_ROUND 329 /* round to nearest integer */ #define O_TRUNC 330 /* truncate to nearest integer */ /* binary operations -------------------*/ #define O_ADD 331 /* addition */ #define O_SUB 332 /* subtraction */ #define O_LESS 333 /* non-negative subtraction */ #define O_MUL 334 /* multiplication */ #define O_DIV 335 /* division */ #define O_IDIV 336 /* quotient of exact division */ #define O_MOD 337 /* remainder of exact division */ #define O_POWER 338 /* exponentiation (raise to power) */ #define O_ROUND2 339 /* round to n fractional digits */ #define O_TRUNC2 340 /* truncate to n fractional digits */ #define O_UNIFORM 341 /* pseudo-random in [a, b) */ #define O_NORMAL 342 /* gaussian random, given mu and sigma */ #define O_CONCAT 343 /* concatenation */ #define O_LT 344 /* comparison on 'less than' */ #define O_LE 345 /* comparison on 'not greater than' */ #define O_EQ 346 /* comparison on 'equal to' */ #define O_GE 347 /* comparison on 'not less than' */ #define O_GT 348 /* comparison on 'greater than' */ #define O_NE 349 /* comparison on 'not equal to' */ #define O_AND 350 /* conjunction (logical "and") */ #define O_OR 351 /* disjunction (logical "or") */ #define O_UNION 352 /* union */ #define O_DIFF 353 /* difference */ #define O_SYMDIFF 354 /* symmetric difference */ #define O_INTER 355 /* intersection */ #define O_CROSS 356 /* cross (Cartesian) product */ #define O_IN 357 /* test on 'x in Y' */ #define O_NOTIN 358 /* test on 'x not in Y' */ #define O_WITHIN 359 /* test on 'X within Y' */ #define O_NOTWITHIN 360 /* test on 'X not within Y' */ /* ternary operations ------------------*/ #define O_DOTS 361 /* build "arithmetic" set */ #define O_FORK 362 /* if-then-else */ /* n-ary operations --------------------*/ #define O_MIN 363 /* minimal value (n-ary) */ #define O_MAX 364 /* maximal value (n-ary) */ /* iterated operations -----------------*/ #define O_SUM 365 /* summation */ #define O_PROD 366 /* multiplication */ #define O_MINIMUM 367 /* minimum */ #define O_MAXIMUM 368 /* maximum */ #define O_FORALL 369 /* conjunction (A-quantification) */ #define O_EXISTS 370 /* disjunction (E-quantification) */ #define O_SETOF 371 /* compute elemental set */ #define O_BUILD 372 /* build elemental set */ OPERANDS arg; /* operands that participate in the operation */ int type; /* type of the resultant value: A_NUMERIC - numeric A_SYMBOLIC - symbolic A_LOGICAL - logical A_TUPLE - n-tuple A_ELEMSET - elemental set A_FORMULA - linear form */ int dim; /* dimension of the resultant value; for A_TUPLE and A_ELEMSET it is the dimension of the corresponding n-tuple(s) and cannot be zero; for other resultant types it is always zero */ CODE *up; /* parent pseudo-code, which refers to this pseudo-code as to its operand; NULL means this pseudo-code has no parent and defines an expression, which is not contained in another expression */ #if 1 /* 15/XI-2003 */ int vflag; /* volatile flag; being set this flag means that this operation has a side effect; for primary expressions this flag is set directly by corresponding parsing routines (for example, if primary expression is a reference to a function that generates pseudo-random numbers); in other cases this flag is inherited from operands */ #endif int valid; /* if this flag is set, the resultant value, which is a temporary result of evaluating this operation on particular values of operands, is valid; if this flag is clear, the resultant value doesn't exist and therefore not valid; having been evaluated the resultant value is stored here and not destroyed until the dummy indices, which this value depends on, have been changed (and if it doesn't depend on dummy indices at all, it is never destroyed); thus, if the resultant value is valid, evaluating routine can immediately take its copy not computing the result from scratch; this mechanism is similar to moving invariants out of loops and allows improving efficiency at the expense of some extra memory needed to keep temporary results */ #if 1 /* 15/XI-2003 */ /* however, if the volatile flag (see above) is set, even if the resultant value is valid, evaluating routine computes it as if it were not valid, i.e. caching is not used in this case */ #endif VALUE value; /* resultant value in generic format */ }; double eval_numeric(MPL *mpl, CODE *code); /* evaluate pseudo-code to determine numeric value */ SYMBOL *eval_symbolic(MPL *mpl, CODE *code); /* evaluate pseudo-code to determine symbolic value */ int eval_logical(MPL *mpl, CODE *code); /* evaluate pseudo-code to determine logical value */ TUPLE *eval_tuple(MPL *mpl, CODE *code); /* evaluate pseudo-code to construct n-tuple */ ELEMSET *eval_elemset(MPL *mpl, CODE *code); /* evaluate pseudo-code to construct elemental set */ int is_member(MPL *mpl, CODE *code, TUPLE *tuple); /* check if n-tuple is in set specified by pseudo-code */ FORMULA *eval_formula(MPL *mpl, CODE *code); /* evaluate pseudo-code to construct linear form */ void clean_code(MPL *mpl, CODE *code); /* clean pseudo-code */ /**********************************************************************/ /* * * MODEL STATEMENTS * * */ /**********************************************************************/ struct CHECK { /* check statement */ DOMAIN *domain; /* subscript domain; NULL means domain is not used */ CODE *code; /* code for computing the predicate to be checked */ }; struct DISPLAY { /* display statement */ DOMAIN *domain; /* subscript domain; NULL means domain is not used */ DISPLAY1 *list; /* display list; cannot be empty */ }; struct DISPLAY1 { /* display list entry */ int type; /* item type: A_INDEX - dummy index A_SET - model set A_PARAMETER - model parameter A_VARIABLE - model variable A_CONSTRAINT - model constraint/objective A_EXPRESSION - expression */ union { DOMAIN_SLOT *slot; SET *set; PARAMETER *par; VARIABLE *var; CONSTRAINT *con; CODE *code; } u; /* item to be displayed */ ARG_LIST *list; /* optional subscript list (for constraint/objective only) */ DISPLAY1 *next; /* the next entry for the same statement */ }; struct PRINTF { /* printf statement */ DOMAIN *domain; /* subscript domain; NULL means domain is not used */ CODE *fmt; /* pseudo-code for computing format string */ PRINTF1 *list; /* printf list; can be empty */ }; struct PRINTF1 { /* printf list entry */ CODE *code; /* pseudo-code for computing value to be printed */ PRINTF1 *next; /* the next entry for the same statement */ }; struct FOR { /* for statement */ DOMAIN *domain; /* subscript domain; cannot be NULL */ STATEMENT *list; /* linked list of model statements within this for statement in the original order */ }; struct STATEMENT { /* model statement */ int line; /* number of source text line, where statement begins */ int type; /* statement type: A_SET - set statement A_PARAMETER - parameter statement A_VARIABLE - variable statement A_CONSTRAINT - constraint/objective statement A_SOLVE - solve statement A_CHECK - check statement A_DISPLAY - display statement A_PRINTF - printf statement A_FOR - for statement */ union { SET *set; PARAMETER *par; VARIABLE *var; CONSTRAINT *con; void *slv; /* currently not used (set to NULL) */ CHECK *chk; DISPLAY *dpy; PRINTF *prt; FOR *fur; } u; /* specific part of statement */ STATEMENT *next; /* the next statement; in this list statements follow in the same order as they appear in the model section */ }; void execute_check(MPL *mpl, CHECK *chk); /* execute check statement */ void clean_check(MPL *mpl, CHECK *chk); /* clean check statement */ void execute_display(MPL *mpl, DISPLAY *dpy); /* execute display statement */ void clean_display(MPL *mpl, DISPLAY *dpy); /* clean display statement */ void execute_printf(MPL *mpl, PRINTF *prt); /* execute printf statement */ void clean_printf(MPL *mpl, PRINTF *prt); /* clean printf statement */ void execute_for(MPL *mpl, FOR *fur); /* execute for statement */ void clean_for(MPL *mpl, FOR *fur); /* clean for statement */ void execute_statement(MPL *mpl, STATEMENT *stmt); /* execute specified model statement */ void clean_statement(MPL *mpl, STATEMENT *stmt); /* clean specified model statement */ /**********************************************************************/ /* * * GENERATING AND POSTSOLVING MODEL * * */ /**********************************************************************/ void alloc_content(MPL *mpl); /* allocate content arrays for all model objects */ void generate_model(MPL *mpl); /* generate model */ void build_problem(MPL *mpl); /* build problem instance */ void postsolve_model(MPL *mpl); /* postsolve model */ void clean_model(MPL *mpl); /* clean model content */ /**********************************************************************/ /* * * INPUT/OUTPUT * * */ /**********************************************************************/ void open_input(MPL *mpl, char *file); /* open input text file */ int read_char(MPL *mpl); /* read next character from input text file */ void close_input(MPL *mpl); /* close input text file */ void open_output(MPL *mpl, char *file); /* open output text file */ void write_char(MPL *mpl, int c); /* write next character to output text file */ void write_text(MPL *mpl, char *fmt, ...); /* format and write text to output text file */ void flush_output(MPL *mpl); /* finalize writing data to output text file */ /**********************************************************************/ /* * * SOLVER INTERFACE * * */ /**********************************************************************/ #define MPL_FR 401 /* free (unbounded) */ #define MPL_LO 402 /* lower bound */ #define MPL_UP 403 /* upper bound */ #define MPL_DB 404 /* both lower and upper bounds */ #define MPL_FX 405 /* fixed */ #define MPL_ST 411 /* constraint */ #define MPL_MIN 412 /* objective (minimization) */ #define MPL_MAX 413 /* objective (maximization) */ #define MPL_NUM 421 /* continuous */ #define MPL_INT 422 /* integer */ #define MPL_BIN 423 /* binary */ void error(MPL *mpl, char *fmt, ...); /* print error message and terminate model processing */ void warning(MPL *mpl, char *fmt, ...); /* print warning message and continue model processing */ MPL *mpl_initialize(void); /* create and initialize translator database */ int mpl_read_model(MPL *mpl, char *file, int skip_data); /* read model section and optional data section */ int mpl_read_data(MPL *mpl, char *file); /* read data section */ int mpl_generate(MPL *mpl, char *file); /* generate model */ char *mpl_get_prob_name(MPL *mpl); /* obtain problem (model) name */ int mpl_get_num_rows(MPL *mpl); /* determine number of rows */ int mpl_get_num_cols(MPL *mpl); /* determine number of columns */ char *mpl_get_row_name(MPL *mpl, int i); /* obtain row name */ int mpl_get_row_kind(MPL *mpl, int i); /* determine row kind */ int mpl_get_row_bnds(MPL *mpl, int i, double *lb, double *ub); /* obtain row bounds */ int mpl_get_mat_row(MPL *mpl, int i, int ndx[], double val[]); /* obtain row of the constraint matrix */ double mpl_get_row_c0(MPL *mpl, int i); /* obtain constant term of free row */ char *mpl_get_col_name(MPL *mpl, int j); /* obtain column name */ int mpl_get_col_kind(MPL *mpl, int j); /* determine column kind */ int mpl_get_col_bnds(MPL *mpl, int j, double *lb, double *ub); /* obtain column bounds */ int mpl_has_solve_stmt(MPL *mpl); /* check if model has solve statement */ void mpl_put_col_value(MPL *mpl, int j, double val); /* store column value */ int mpl_postsolve(MPL *mpl); /* postsolve model */ void mpl_terminate(MPL *mpl); /* free all resources used by translator */ #endif /* eof */ liblip-2.0.0/include/glpk/glpspx.h0000644000175000017500000004307010426015340013752 00000000000000/* glpspx.h (simplex method) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPSPX_H #define _GLPSPX_H #include "glplpx.h" #define spx_invert glp_spx_invert #define spx_ftran glp_spx_ftran #define spx_btran glp_spx_btran #define spx_update glp_spx_update #define spx_eval_xn_j glp_spx_eval_xn_j #define spx_eval_bbar glp_spx_eval_bbar #define spx_eval_pi glp_spx_eval_pi #define spx_eval_cbar glp_spx_eval_cbar #define spx_eval_obj glp_spx_eval_obj #define spx_eval_col glp_spx_eval_col #define spx_eval_rho glp_spx_eval_rho #define spx_eval_row glp_spx_eval_row #define spx_check_bbar glp_spx_check_bbar #define spx_check_cbar glp_spx_check_cbar #define spx_prim_chuzc glp_spx_prim_chuzc #define spx_prim_chuzr glp_spx_prim_chuzr #define spx_dual_chuzr glp_spx_dual_chuzr #define spx_dual_chuzc glp_spx_dual_chuzc #define spx_update_bbar glp_spx_update_bbar #define spx_update_pi glp_spx_update_pi #define spx_update_cbar glp_spx_update_cbar #define spx_change_basis glp_spx_change_basis #define spx_err_in_bbar glp_spx_err_in_bbar #define spx_err_in_pi glp_spx_err_in_pi #define spx_err_in_cbar glp_spx_err_in_cbar #define spx_reset_refsp glp_spx_reset_refsp #define spx_update_gvec glp_spx_update_gvec #define spx_err_in_gvec glp_spx_err_in_gvec #define spx_update_dvec glp_spx_update_dvec #define spx_err_in_dvec glp_spx_err_in_dvec #define spx_warm_up glp_spx_warm_up #define spx_prim_opt glp_spx_prim_opt #define spx_prim_feas glp_spx_prim_feas #define spx_dual_opt glp_spx_dual_opt #define spx_simplex glp_spx_simplex typedef struct SPX SPX; struct SPX { /* data block used by simplex method routines */ /*--------------------------------------------------------------*/ /* LP problem data */ int m; /* number of rows (auxiliary variables) */ int n; /* number of columns (structural variables) */ int *typx; /* int typx[1+m+n]; */ /* typx[0] is not used; typx[k], 1 <= k <= m+n, is the type of the variable x[k]: */ #define LPX_FR 110 /* free variable: -inf < x[k] < +inf */ #define LPX_LO 111 /* lower bound: l[k] <= x[k] < +inf */ #define LPX_UP 112 /* upper bound: -inf < x[k] <= u[k] */ #define LPX_DB 113 /* double bound: l[k] <= x[k] <= u[k] */ #define LPX_FX 114 /* fixed variable: l[k] = x[k] = u[k] */ double *lb; /* double lb[1+m+n]; */ /* lb[0] is not used; lb[k], 1 <= k <= m+n, is an lower bound of the variable x[k]; if x[k] has no lower bound, lb[k] is zero */ double *ub; /* double ub[1+m+n]; */ /* ub[0] is not used; ub[k], 1 <= k <= m+n, is an upper bound of the variable x[k]; if x[k] has no upper bound, ub[k] is zero; if x[k] is of fixed type, ub[k] is equal to lb[k] */ int dir; /* optimization direction (sense of the objective function): */ #define LPX_MIN 120 /* minimization */ #define LPX_MAX 121 /* maximization */ double *coef; /* double coef[1+m+n]; */ /* coef[0] is a constant term of the objective function; coef[k], 1 <= k <= m+n, is a coefficient of the objective function at the variable x[k] (note that auxiliary variables also may have non-zero objective coefficients) */ /*--------------------------------------------------------------*/ /* constraint matrix (has m rows and n columns) */ int *A_ptr; /* int A_ptr[1+m+1]; */ int *A_ind; /* int A_ind[A_ptr[m+1]]; */ double *A_val; /* double A_val[A_ptr[m+1]]; */ /* constraint matrix in storage-by-rows format */ int *AT_ptr; /* int AT_ptr[1+n+1]; */ int *AT_ind; /* int AT_ind[AT_ptr[n+1]]; */ double *AT_val; /* double AT_val[AT_ptr[n+1]]; */ /* constraint matrix in storage-by-columns format */ /*--------------------------------------------------------------*/ /* basic solution */ int b_stat; /* status of the current basis: */ #define LPX_B_UNDEF 130 /* current basis is undefined */ #define LPX_B_VALID 131 /* current basis is valid */ int p_stat; /* status of the primal solution: */ #define LPX_P_UNDEF 132 /* primal status is undefined */ #define LPX_P_FEAS 133 /* solution is primal feasible */ #define LPX_P_INFEAS 134 /* solution is primal infeasible */ #define LPX_P_NOFEAS 135 /* no primal feasible solution exists */ int d_stat; /* status of the dual solution: */ #define LPX_D_UNDEF 136 /* dual status is undefined */ #define LPX_D_FEAS 137 /* solution is dual feasible */ #define LPX_D_INFEAS 138 /* solution is dual infeasible */ #define LPX_D_NOFEAS 139 /* no dual feasible solution exists */ int *tagx; /* int tagx[1+m+n]; */ /* tagx[0] is not used; tagx[k], 1 <= k <= m+n, is the status of the variable x[k] (contents of this array is always defined independently on the status of the current basis): */ #define LPX_BS 140 /* basic variable */ #define LPX_NL 141 /* non-basic variable on lower bound */ #define LPX_NU 142 /* non-basic variable on upper bound */ #define LPX_NF 143 /* non-basic free variable */ #define LPX_NS 144 /* non-basic fixed variable */ int *posx; /* int posx[1+m+n]; */ /* posx[0] is not used; posx[k], 1 <= k <= m+n, is the position of the variable x[k] in the vector of basic variables xB or non-basic variables xN: posx[k] = i means that x[k] = xB[i], 1 <= i <= m posx[k] = m+j means that x[k] = xN[j], 1 <= j <= n (if the current basis is undefined, contents of this array is undefined) */ int *indx; /* int indx[1+m+n]; */ /* indx[0] is not used; indx[i], 1 <= i <= m, is the original number of the basic variable xB[i], i.e. indx[i] = k means that posx[k] = i indx[m+j], 1 <= j <= n, is the original number of the non-basic variable xN[j], i.e. indx[m+j] = k means that posx[k] = m+j (if the current basis is undefined, contents of this array is undefined) */ INV *inv; /* INV inv[1:m,1:m]; */ /* an invertable (factorized) form of the current basis matrix */ double *bbar; /* double bbar[1+m]; */ /* bbar[0] is not used; bbar[i], 1 <= i <= m, is a value of basic variable xB[i] */ double *pi; /* double pi[1+m]; */ /* pi[0] is not used; pi[i], 1 <= i <= m, is a simplex (Lagrange) multiplier, which corresponds to the i-th row (equality constraint) */ double *cbar; /* double cbar[1+n]; */ /* cbar[0] is not used; cbar[j], 1 <= j <= n, is a reduced cost of non-basic variable xN[j] */ int some; /* ordinal number of some auxiliary or structural variable which has certain property, 1 <= some <= m+n */ /*--------------------------------------------------------------*/ /* control parameters and statistics */ int msg_lev; /* level of messages output by the solver: 0 - no output 1 - error messages only 2 - normal output 3 - full output (includes informational messages) */ int dual; /* dual simplex option: 0 - do not use the dual simplex 1 - if the initial basic solution being primal infeasible is dual feasible, use the dual simplex */ int price; /* pricing option (for both primal and dual simplex): 0 - textbook pricing 1 - steepest edge pricing */ double relax; /* relaxation parameter used in the ratio test; if it is zero, the textbook ratio test is used; if it is non-zero (should be positive), Harris' two-pass ratio test is used; in the latter case on the first pass basic variables (in the case of primal simplex) or reduced costs of non-basic variables (in the case of dual simplex) are allowed to slightly violate their bounds, but not more than (relax * tol_bnd) or (relax * tol_dj) (thus, relax is a percentage of tol_bnd or tol_dj) */ double tol_bnd; /* relative tolerance used to check if the current basic solution is primal feasible */ double tol_dj; /* absolute tolerance used to check if the current basic solution is dual feasible */ double tol_piv; /* relative tolerance used to choose eligible pivotal elements of the simplex table in the ratio test */ double obj_ll; /* lower limit of the objective function; if on the phase II the objective function reaches this limit and continues decreasing, the solver stops the search */ double obj_ul; /* upper limit of the objective function; if on the phase II the objective function reaches this limit and continues increasing, the solver stops the search */ int it_lim; /* simplex iterations limit; if this value is positive, it is decreased by one each time when one simplex iteration has been performed, and reaching zero value signals the solver to stop the search; negative value means no iterations limit */ int it_cnt; /* simplex iterations count; this count is increased by one each time when one simplex iteration has been performed */ double tm_lim; /* searching time limit, in seconds; if this value is positive, it is decreased each time when one simplex iteration has been performed by the amount of time spent for the iteration, and reaching zero value signals the solver to stop the search; negative value means no time limit */ int out_frq; /* output frequency, in iterations; this parameter specifies how frequently the solver sends information about the solution to the standard output */ double out_dly; /* output delay, in seconds; this parameter specifies how long the solver should delay sending information about the solution to the standard output; zero value means no delay */ /*--------------------------------------------------------------*/ /* working segment */ int meth; /* which method is used: 'P' - primal simplex 'D' - dual simplex */ int p; /* the number of basic variable xB[p], 1 <= p <= m, chosen to leave the basis; the special case p < 0 means that non-basic double-bounded variable xN[q] just goes to its opposite bound, and the basis remains unchanged; p = 0 means that no choice can be made (in the case of primal simplex non-basic variable xN[q] can infinitely change, in the case of dual simplex the current basis is primal feasible) */ int p_tag; /* if 1 <= p <= m, p_tag is a non-basic tag, which should be set for the variable xB[p] after it has left the basis */ int q; /* the number of non-basic variable xN[q], 1 <= q <= n, chosen to enter the basis; q = 0 means that no choice can be made (in the case of primal simplex the current basis is dual feasible, in the case of dual simplex the dual variable that corresponds to xB[p] can infinitely change) */ double *zeta; /* double zeta[1+m]; */ /* the p-th row of the inverse inv(B) */ double *ap; /* double ap[1+n]; */ /* the p-th row of the current simplex table: ap[0] is not used; ap[j], 1 <= j <= n, is an influence coefficient, which defines how the non-basic variable xN[j] affects on the basic variable xB[p] = ... + ap[j] * xN[j] + ... */ double *aq; /* double aq[1+m]; */ /* the q-th column of the current simplex table; aq[0] is not used; aq[i], 1 <= i <= m, is an influence coefficient, which defines how the non-basic variable xN[q] affects on the basic variable xB[i] = ... + aq[i] * xN[q] + ... */ double *gvec; /* double gvec[1+n]; */ /* gvec[0] is not used; gvec[j], 1 <= j <= n, is a weight of non-basic variable xN[j]; this vector is used to price non-basic variables in the primal simplex (for example, using the steepest edge technique) */ double *dvec; /* double dvec[1+m]; */ /* dvec[0] is not used; dvec[i], 1 <= i <= m, is a weight of basic variable xB[i]; it is used to price basic variables in the dual simplex */ int *refsp; /* int refsp[1+m+n]; */ /* the current reference space (used in the projected steepest edge technique); the flag refsp[k], 1 <= k <= m+n, is set if the variable x[k] belongs to the current reference space */ int count; /* if this count (used in the projected steepest edge technique) gets zero, the reference space is automatically redefined */ double *work; /* double work[1+m+n]; */ /* working array (used for various purposes) */ int *orig_typx; /* orig_typx[1+m+n]; */ /* is used to save the original types of variables */ double *orig_lb; /* orig_lb[1+m+n]; */ /* is used to save the original lower bounds of variables */ double *orig_ub; /* orig_ub[1+m+n]; */ /* is used to save the original upper bounds of variables */ int orig_dir; /* is used to save the original optimization direction */ double *orig_coef; /* orig_coef[1+m+n]; */ /* is used to save the original objective coefficients */ }; /* simplex method generic routines -----------------------------------*/ int spx_invert(SPX *spx); /* reinvert the basis matrix */ void spx_ftran(SPX *spx, double x[], int save); /* perform forward transformation (FTRAN) */ void spx_btran(SPX *spx, double x[]); /* perform backward transformation (BTRAN) */ int spx_update(SPX *spx, int j); /* update factorization for adjacent basis matrix */ double spx_eval_xn_j(SPX *spx, int j); /* determine value of non-basic variable */ void spx_eval_bbar(SPX *spx); /* compute values of basic variables */ void spx_eval_pi(SPX *spx); /* compute simplex multipliers */ void spx_eval_cbar(SPX *spx); /* compute reduced costs of non-basic variables */ double spx_eval_obj(SPX *spx); /* compute value of the objective function */ void spx_eval_col(SPX *spx, int j, double col[], int save); /* compute column of the simplex table */ void spx_eval_rho(SPX *spx, int i, double rho[]); /* compute row of the inverse */ void spx_eval_row(SPX *spx, double rho[], double row[]); /* compute row of the simplex table */ double spx_check_bbar(SPX *spx, double tol); /* check primal feasibility */ double spx_check_cbar(SPX *spx, double tol); /* check dual feasibility */ int spx_prim_chuzc(SPX *spx, double tol); /* choose non-basic variable (primal simplex) */ int spx_prim_chuzr(SPX *spx, double relax); /* choose basic variable (primal simplex) */ void spx_dual_chuzr(SPX *spx, double tol); /* choose basic variable (dual simplex) */ int spx_dual_chuzc(SPX *spx, double relax); /* choose non-basic variable (dual simplex) */ void spx_update_bbar(SPX *spx, double *obj); /* update values of basic variables */ void spx_update_pi(SPX *spx); /* update simplex multipliers */ void spx_update_cbar(SPX *spx, int all); /* update reduced costs of non-basic variables */ int spx_change_basis(SPX *spx); /* change basis and update the factorization */ double spx_err_in_bbar(SPX *spx); /* compute maximal absolute error in bbar */ double spx_err_in_pi(SPX *spx); /* compute maximal absolute error in pi */ double spx_err_in_cbar(SPX *spx, int all); /* compute maximal absolute error in cbar */ void spx_reset_refsp(SPX *spx); /* reset the reference space */ void spx_update_gvec(SPX *spx); /* update the vector gamma for adjacent basis */ double spx_err_in_gvec(SPX *spx); /* compute maximal absolute error in gvec */ void spx_update_dvec(SPX *spx); /* update the vector delta for adjacent basis */ double spx_err_in_dvec(SPX *spx); /* compute maximal absolute error in dvec */ /* simplex method solver routines ------------------------------------*/ int spx_warm_up(SPX *spx); /* "warm up" the initial basis */ int spx_prim_opt(SPX *spx); /* find optimal solution (primal simplex) */ int spx_prim_feas(SPX *spx); /* find primal feasible solution (primal simplex) */ int spx_dual_opt(SPX *spx); /* find optimal solution (dual simplex) */ int spx_simplex(SPX *spx); /* base driver to the simplex method */ #endif /* eof */ liblip-2.0.0/include/glpk/glpiet.h0000644000175000017500000006141310426015340013722 00000000000000/* glpiet.h (implicit enumeration tree) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPIET_H #define _GLPIET_H #include "glpstr.h" #define iet_create_tree glp_iet_create_tree #define iet_install_hook glp_iet_install_hook #define iet_revive_node glp_iet_revive_node #define iet_freeze_node glp_iet_freeze_node #define iet_clone_node glp_iet_clone_node #define iet_set_node_link glp_iet_set_node_link #define iet_delete_node glp_iet_delete_node #define iet_delete_tree glp_iet_delete_tree #define iet_get_tree_size glp_iet_get_tree_size #define iet_get_curr_node glp_iet_get_curr_node #define iet_get_next_node glp_iet_get_next_node #define iet_get_prev_node glp_iet_get_prev_node #define iet_get_up_node glp_iet_get_up_node #define iet_get_node_lev glp_iet_get_node_lev #define iet_get_node_cnt glp_iet_get_node_cnt #define iet_get_node_link glp_iet_get_node_link #define iet_pseudo_root glp_iet_pseudo_root #define iet_add_rows glp_iet_add_rows #define iet_add_cols glp_iet_add_cols #define iet_check_name glp_iet_check_name #define iet_set_row_name glp_iet_set_row_name #define iet_set_col_name glp_iet_set_col_name #define iet_set_row_link glp_iet_set_row_link #define iet_set_col_link glp_iet_set_col_link #define iet_set_row_bnds glp_iet_set_row_bnds #define iet_set_col_bnds glp_iet_set_col_bnds #define iet_set_obj_coef glp_iet_set_obj_coef #define iet_set_mat_row glp_iet_set_mat_row #define iet_set_mat_col glp_iet_set_mat_col #define iet_set_row_stat glp_iet_set_row_stat #define iet_set_col_stat glp_iet_set_col_stat #define iet_set_row_locl glp_iet_set_row_locl #define iet_set_col_locl glp_iet_set_col_locl #define iet_del_rows glp_iet_del_rows #define iet_del_cols glp_iet_del_cols #define iet_get_num_rows glp_iet_get_num_rows #define iet_get_num_cols glp_iet_get_num_cols #define iet_get_num_nz glp_iet_get_num_nz #define iet_get_row_name glp_iet_get_row_name #define iet_get_col_name glp_iet_get_col_name #define iet_get_row_link glp_iet_get_row_link #define iet_get_col_link glp_iet_get_col_link #define iet_get_row_bnds glp_iet_get_row_bnds #define iet_get_col_bnds glp_iet_get_col_bnds #define iet_get_obj_coef glp_iet_get_obj_coef #define iet_get_mat_row glp_iet_get_mat_row #define iet_get_mat_col glp_iet_get_mat_col #define iet_get_row_stat glp_iet_get_row_stat #define iet_get_col_stat glp_iet_get_col_stat #define iet_get_row_locl glp_iet_get_row_locl #define iet_get_col_locl glp_iet_get_col_locl typedef struct IET IET; /* implicit enumeration tree */ typedef struct IETNPS IETNPS; /* node (sub)problem slot */ typedef struct IETNPD IETNPD; /* node (sub)problem descriptor */ typedef struct IETRGD IETRGD; /* row global descriptor */ typedef struct IETCGD IETCGD; /* column global descriptor */ typedef struct IETDQE IETDQE; /* row/column deletion entry */ typedef struct IETBQE IETBQE; /* type/bounds change entry */ typedef struct IETCQE IETCQE; /* obj. coefficient change entry */ typedef struct IETAQE IETAQE; /* constraint matrix change entry */ typedef struct IETAIJ IETAIJ; /* constraint coefficient */ typedef struct IETSQE IETSQE; /* status change entry */ typedef struct IETROW IETROW; /* row local descriptor */ typedef struct IETCOL IETCOL; /* column local descriptor */ struct IET { /* implicit enumeration tree */ /*--------------------------------------------------------------*/ /* memory management */ DMP *npd_pool; /* memory pool for IETNPD objects */ DMP *rgd_pool; /* memory pool for IETRGD objects */ DMP *cgd_pool; /* memory pool for IETCGD objects */ DMP *dqe_pool; /* memory pool for IETDQE objects */ DMP *bqe_pool; /* memory pool for IETBQE objects */ DMP *cqe_pool; /* memory pool for IETCQE objects */ DMP *aqe_pool; /* memory pool for IETAQE objects */ DMP *aij_pool; /* memory pool for IETAIJ objects */ DMP *sqe_pool; /* memory pool for IETSQE objects */ DMP *row_pool; /* memory pool for IETROW objects */ DMP *col_pool; /* memory pool for IETCOL objects */ DMP *str_pool; /* memory pool for segmented character strings */ char *str_buf; /* char str_buf[255+1]; */ /* working buffer to store character strings */ /*--------------------------------------------------------------*/ /* implicit enumeration tree */ int nslots; /* length of the array of slots (increased automatically) */ int avail; /* index of first free slot; 0 means all slots are in use */ IETNPS *slot; /* IETNPS slot[1+nslots]; */ /* array of slots: slot[0] is never used; slot[p], 1 <= p <= nslots, either contains a pointer to some node of the branch-and-bound tree, in which case p is used on api level as the reference number of corresponding subproblem, or is free; all free slots are linked into single linked list; slot[1] always contains a pointer to the root node (it is free only if the tree is empty) */ IETNPD *head; /* pointer to the head of the active list */ IETNPD *tail; /* pointer to the tail of the active list */ /* the active list is a doubly linked list of active subproblems which correspond to leaves of the tree; all subproblems in the active list are ordered chronologically (each new subproblem is always added to the tail of the list) */ int a_cnt; /* current number of active nodes (including the current one) */ int n_cnt; /* current number of all (active and inactive) nodes */ int t_cnt; /* total number of nodes including those which have been already removed from the tree; this count is increased whenever a new node is created and never decreased */ /*--------------------------------------------------------------*/ /* higher-level hook routine */ void (*hook)(void *info, int what, char *name, void *link); /* entry point to the higher-level hook routine; this routine is called whenever a subproblem, row, or column is being deleted; its purpose is to delete an additional information associated with corresponding object; the second parameter specifies what object is being deleted: */ #define IET_ND 401 /* subproblem is being deleted */ #define IET_RD 402 /* row is being deleted */ #define IET_CD 403 /* column is being deleted */ void *info; /* transitional pointer passed to the hook routine */ /*--------------------------------------------------------------*/ /* current subproblem */ IETNPD *curr; /* pointer to the current subproblem (which can be only active); NULL means the current subproblem does not exist */ int m_max; /* length of the array of rows (increased automatically) */ int n_max; /* length of the array of columns (increased automatically) */ int m; /* number of rows, 0 <= m <= m_max */ int n; /* number of columns, 0 <= n <= n_max */ int nz; /* number of (non-zero) elements in the constraint matrix */ double c0; /* constant term of the objective function (so-called shift) */ double old_c0; /* constant term which is either inherited from parent subproblem or set by default (to zero) if this is the root subproblem */ IETROW **row; /* IETROW *row[1+m_max]; */ /* array of rows: row[0] is never used; row[i], 1 <= i <= m, is a pointer to i-th row; row[m+1], ..., row[m_max] are free locations */ IETCOL **col; /* IETCOL *col[1+n_max]; */ /* array of columns: col[0] is never used; col[j], 1 <= j <= n, is a pointer to j-th column; col[n+1], ..., col[n_max] are free locations */ }; struct IETNPS { /* node (sub)problem slot */ IETNPD *node; /* pointer to subproblem descriptor; NULL means free slot */ int next; /* index of another free slot (only if this slot is free) */ }; struct IETNPD { /* node (sub)problem descriptor */ int p; /* subproblem reference number (it is the index of corresponding slot, i.e. slot[p] points to this descriptor) */ IETNPD *up; /* pointer to parent subproblem; NULL means this node is the root of the tree, in which case p = 1 */ int level; /* node level (the root node has level 0) */ int count; /* if count = 0, this subproblem is active; if count > 0, this subproblem is inactive, in which case the count is the number of its child subproblems */ IETRGD *r_add; /* linked list of own rows of this subproblem which were added by iet_add_rows; rows in this list follow in the same order as in which they were added */ IETCGD *c_add; /* linked list of own columns of this subproblem which were added by iet_add_cols; columns in this list follow in the same order as in which they were added */ IETDQE *r_del; /* linked list of inherited rows which were deleted from this subproblem by iet_del_rows */ IETDQE *c_del; /* linked list of inherited columns which were deleted from this subproblem by iet_del_cols */ IETBQE *r_bnds; /* linked list of rows whose type and bounds were changed by iet_set_row_bnds; this list is destroyed on reviving and built anew on freezing the subproblem */ IETBQE *c_bnds; /* linked list of columns whose type and bounds were changed by iet_set_col_bnds; this list is destroyed on reviving and built anew on freezing the subproblem */ IETCQE *c_obj; /* linked list of columns whose objective coefficients were changed by iet_set_obj_coef; this list is destroyed on reviving and built anew on freezing the subproblem */ IETAQE *r_mat; /* linked list of rows whose constraint coefficients were changed by iet_set_mat_row; this list is destroyed on reviving and built anew on freezing the subproblem */ IETAQE *c_mat; /* linked list of columns whose constraint coefficients were changed by iet_set_mat_col; this list is destroyed on reviving and built anew on freezing the subproblem */ IETSQE *r_stat; /* linked list of rows whose statuses in basic solution were changed by iet_set_row_stat; this list is destroyed on reviving and built anew on freezing the subproblem */ IETSQE *c_stat; /* linked list of columns whose statuses in basic solution were changed by iet_set_col_stat; this list is destroyed on reviving and built anew on freezing the subproblem */ void *link; /* reserved for higher-level extension */ IETNPD *temp; /* auxiliary pointer used by some routines */ IETNPD *prev; /* pointer to previous subproblem in the active list */ IETNPD *next; /* pointer to next subproblem in the active list */ }; struct IETRGD { /* row global descriptor */ IETNPD *host; /* pointer to the subproblem where this row was introduced */ STR *name; /* row name (1 to 255 chars); NULL means no name is assigned to this row */ int i; /* ordinal number (1 to m) assigned to this row in the current subproblem; zero means that either this row is not included in the current subproblem or the latter does not exist */ void *link; /* reserved for higher-level extension */ IETRGD *temp; /* auxiliary pointer used by some routines */ IETRGD *next; /* pointer to next row for the same host subproblem */ }; struct IETCGD { /* column global descriptor */ IETNPD *host; /* pointer to subproblem where this column was introduced */ STR *name; /* column name (1 to 255 chars); NULL means no name is assigned to this column */ int j; /* ordinal number (1 to n) assigned to this column in the current subproblem; zero means that either this column is not included in the current subproblem or the latter does not exist */ void *link; /* reserved for higher-level extension */ IETCGD *temp; /* auxiliary pointer used by some routines */ IETCGD *next; /* pointer to next row for the same host subproblem */ }; struct IETDQE { /* row/column deletion entry */ union { IETRGD *row; IETCGD *col; } u; /* pointer to corresponding row/column */ IETDQE *next; /* pointer to next entry for the same subproblem */ }; struct IETBQE { /* type/bounds change entry */ union { IETRGD *row; IETCGD *col; } u; /* pointer to corresponding row/column */ int type; /* new type */ double lb; /* new lower bound */ double ub; /* new upper bound */ IETBQE *next; /* pointer to next entry for the same subproblem */ }; struct IETCQE { /* objective coefficient change entry */ IETCGD *col; /* pointer to corresponding column; NULL means constant term */ double coef; /* new objective coefficient or constant term */ IETCQE *next; /* pointer to next entry for the same subproblem */ }; struct IETAQE { /* constraint matrix change entry */ union { IETRGD *row; IETCGD *col; } u; /* pointer to corresponding row/column */ IETAIJ *ptr; /* pointer to new list of constraint coefficients */ IETAQE *next; /* pointer to next entry for the same subproblem */ }; struct IETAIJ { /* constraint coefficient */ IETRGD *row; /* pointer to row where this coefficient is placed */ IETCGD *col; /* pointer to column where this coefficient is placed */ double val; /* numeric (non-zero) value of this coefficient */ IETAIJ *link; /* pointer to next coefficient for the same change entry */ /*--------------------------------------------------------------*/ /* the following four pointers are used only if this coefficient is included in the current subproblem */ IETAIJ *r_prev; /* pointer to previous coefficient in the same row */ IETAIJ *r_next; /* pointer to next coefficient in the same row */ IETAIJ *c_prev; /* pointer to previous coefficient in the same column */ IETAIJ *c_next; /* pointer to next coefficient in the same column */ }; struct IETSQE { /* status change entry */ union { IETRGD *row; IETCGD *col; } u; /* pointer to corresponding row/column */ int stat; /* new status */ IETSQE *next; /* pointer to next entry for the same subproblem */ }; struct IETROW { /* row local descriptor */ IETRGD *glob; /* pointer to corresponding global descriptor */ int type; /* type of auxiliary variable associated with this row: */ #define IET_FR 411 /* free variable */ #define IET_LO 412 /* variable with lower bound */ #define IET_UP 413 /* variable with upper bound */ #define IET_DB 414 /* double-bounded variable */ #define IET_FX 415 /* fixed variable */ double lb; /* lower bound; if the row has no lower bound, lb is zero */ double ub; /* upper bound; if the row has no upper bound, ub is zero */ /* if the row type is IET_FX, ub is equal to lb */ IETNPD *set_by; /* pointer to subproblem of highest level (between the root and the current subproblem) where either this row was introduced by iet_add_rows or its constraint coefficients were changed by iet_set_mat_row */ IETAIJ *ptr; /* pointer to doubly linked list of constraint coefficients which are placed in this row */ int stat; /* status of auxiliary variable associated with this row: */ #define IET_BS 421 /* basic variable */ #define IET_NL 422 /* non-basic variable on lower bound */ #define IET_NU 423 /* non-basic variable on upper bound */ #define IET_NF 424 /* non-basic free variable */ #define IET_NS 425 /* non-basic fixed variable */ int old_type; double old_lb; double old_ub; int old_stat; /* type, lower bound, upper bound, and status of this row either inherited from parent subproblem or set by default on creating this row */ void *link; /* reserved for higher-level extension */ }; struct IETCOL { /* column local descriptor */ IETCGD *glob; /* pointer to corresponding global descriptor */ int type; /* type of structural variable associated with this column: */ #define IET_FR 411 /* free variable */ #define IET_LO 412 /* variable with lower bound */ #define IET_UP 413 /* variable with upper bound */ #define IET_DB 414 /* double-bounded variable */ #define IET_FX 415 /* fixed variable */ double lb; /* lower bound; if the column has no lower bound, lb is zero */ double ub; /* upper bound; if the column has no upper bound, ub is zero */ /* if the column type is IET_FX, ub is equal to lb */ double coef; /* objective coefficient at the structural variable */ IETNPD *set_by; /* pointer to subproblem of highest level (between the root and the current suboroblem) where either this column was introduced by iet_add_cols or its constraint coefficients were changed by iet_set_mat_col */ IETAIJ *ptr; /* pointer to doubly linked list of constraint coefficients which are placed in this column */ int stat; /* status of structural variable associated with this column: */ #define IET_BS 421 /* basic variable */ #define IET_NL 422 /* non-basic variable on lower bound */ #define IET_NU 423 /* non-basic variable on upper bound */ #define IET_NF 424 /* non-basic free variable */ #define IET_NS 425 /* non-basic fixed variable */ int old_type; double old_lb; double old_ub; double old_coef; int old_stat; /* type, lower bound, upper bound, objective coefficient, and status of this column either inherited from parent subproblem or set by default on creating this column */ void *link; /* reserved for higher-level extension */ }; /**********************************************************************/ /* * * TREE MANAGEMENT ROUTINES * * */ /**********************************************************************/ IET *iet_create_tree(void); /* create implicit enumeration tree */ void iet_install_hook(IET *iet, void (*hook)(void *info, int what, char *name, void *link), void *info); /* install higher-level hook routine */ void iet_revive_node(IET *iet, int p); /* revive specified subproblem */ void iet_freeze_node(IET *iet); /* freeze current subproblem */ void iet_clone_node(IET *iet, int p, int nnn); /* clone specified subproblem */ void iet_set_node_link(IET *iet, int p, void *link); /* set link to subproblem extension */ void iet_delete_node(IET *iet, int p); /* delete specified subproblem */ void iet_delete_tree(IET *iet); /* delete implicit enumeration tree */ /**********************************************************************/ /* * * TREE EXPLORING ROUTINES * * */ /**********************************************************************/ void iet_get_tree_size(IET *iet, int *a_cnt, int *n_cnt, int *t_cnt); /* determine current size of the tree */ int iet_get_curr_node(IET *iet); /* determine current active subproblem */ int iet_get_next_node(IET *iet, int p); /* determine next active subproblem */ int iet_get_prev_node(IET *iet, int p); /* determine previous active subproblem */ int iet_get_up_node(IET *iet, int p); /* determine parent subproblem */ int iet_get_node_lev(IET *iet, int p); /* determine subproblem level */ int iet_get_node_cnt(IET *iet, int p); /* determine number of child subproblems */ void *iet_get_node_link(IET *iet, int p); /* obtain link to subproblem extension */ int iet_pseudo_root(IET *iet); /* find pseudo-root of the tree */ /**********************************************************************/ /* * * SUBPROBLEM MODIFYING ROUTINES * * */ /**********************************************************************/ void iet_add_rows(IET *iet, int nrs); /* add new rows to current subproblem */ void iet_add_cols(IET *iet, int ncs); /* add new columns to current subproblem */ int iet_check_name(IET *iet, char *name); /* check correctness of symbolic name */ void iet_set_row_name(IET *iet, int i, char *name); /* assign symbolic name to row */ void iet_set_col_name(IET *iet, int j, char *name); /* assign symbolic name to column */ void iet_set_row_link(IET *iet, int i, void *link); /* set link to row global extension */ void iet_set_col_link(IET *iet, int j, void *link); /* set link to column global extension */ void iet_set_row_bnds(IET *iet, int i, int type, double lb, double ub); /* set row type and bouns */ void iet_set_col_bnds(IET *iet, int j, int type, double lb, double ub); /* set column type and bounds */ void iet_set_obj_coef(IET *iet, int j, double coef); /* set objective coefficient or constant term */ void iet_set_mat_row(IET *iet, int i, int len, int ind[], double val[]); /* replace row of constraint matrix */ void iet_set_mat_col(IET *iet, int j, int len, int ind[], double val[]); /* replace column of constraint matrix */ void iet_set_row_stat(IET *iet, int i, int stat); /* set row status */ void iet_set_col_stat(IET *iet, int j, int stat); /* set column status */ void iet_set_row_locl(IET *iet, int i, void *link); /* set link to row local extension */ void iet_set_col_locl(IET *iet, int j, void *link); /* set link to column local extension */ void iet_del_rows(IET *iet, int nrs, int num[]); /* delete specified rows from current subproblem */ void iet_del_cols(IET *iet, int ncs, int num[]); /* delete specified columns from current subproblem */ /**********************************************************************/ /* * * SUBPROBLEM QUERYING ROUTINES * * */ /**********************************************************************/ int iet_get_num_rows(IET *iet); /* determine number of rows */ int iet_get_num_cols(IET *iet); /* determine number of columns */ int iet_get_num_nz(IET *iet); /* determine number of constraint coefficients */ char *iet_get_row_name(IET *iet, int i); /* obtain row name */ char *iet_get_col_name(IET *iet, int j); /* obtain column name */ void *iet_get_row_link(IET *iet, int i); /* obtain link to row global extension */ void *iet_get_col_link(IET *iet, int j); /* obtain link to column global extension */ int iet_get_row_bnds(IET *iet, int i, double *lb, double *ub); /* determine row type and bounds */ int iet_get_col_bnds(IET *iet, int j, double *lb, double *ub); /* determine column type and bounds */ double iet_get_obj_coef(IET *iet, int j); /* determine objective coefficient */ int iet_get_mat_row(IET *iet, int i, int ind[], double val[]); /* obtain row of constraint matrix */ int iet_get_mat_col(IET *iet, int j, int ind[], double val[]); /* obtain column of constraint matrix */ int iet_get_row_stat(IET *iet, int i); /* obtain row status */ int iet_get_col_stat(IET *iet, int j); /* obtain column status */ void *iet_get_row_locl(IET *iet, int i); /* obtain link to row local extension */ void *iet_get_col_locl(IET *iet, int j); /* obtain link to column local extension */ #endif /* eof */ liblip-2.0.0/include/glpk/glpipm.h0000644000175000017500000000266110426015340013726 00000000000000/* glpipm.h (primal-dual interior-point method) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPIPM_H #define _GLPIPM_H #define ipm_main glp_ipm_main int ipm_main(int m, int n, int A_ptr[], int A_ind[], double A_val[], double b[], double c[], double x[], double y[], double z[]); /* solve LP with primal-dual interior-point method */ #endif /* eof */ liblip-2.0.0/include/glpk/glplpp.h0000644000175000017500000003000110426015340013721 00000000000000/* glplpp.h (LP presolver) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPLPP_H #define _GLPLPP_H #include "glplpx.h" #define lpp_create_wksp glp_lpp_create_wksp #define lpp_add_row glp_lpp_add_row #define lpp_add_col glp_lpp_add_col #define lpp_add_aij glp_lpp_add_aij #define lpp_remove_row glp_lpp_remove_row #define lpp_remove_col glp_lpp_remove_col #define lpp_enque_row glp_lpp_enque_row #define lpp_deque_row glp_lpp_deque_row #define lpp_enque_col glp_lpp_enque_col #define lpp_deque_col glp_lpp_deque_col #define lpp_load_orig glp_lpp_load_orig #define lpp_append_tqe glp_lpp_append_tqe #define lpp_build_prob glp_lpp_build_prob #define lpp_alloc_sol glp_lpp_alloc_sol #define lpp_load_sol glp_lpp_load_sol #define lpp_unload_sol glp_lpp_unload_sol #define lpp_delete_wksp glp_lpp_delete_wksp #define lpp_presolve glp_lpp_presolve #define lpp_postsolve glp_lpp_postsolve typedef struct LPP LPP; typedef struct LPPROW LPPROW; typedef struct LPPCOL LPPCOL; typedef struct LPPAIJ LPPAIJ; typedef struct LPPTQE LPPTQE; typedef struct LPPLFE LPPLFE; typedef struct LPPLFX LPPLFX; struct LPP { /* LP presolver workspace */ /*--------------------------------------------------------------*/ /* original problem segment */ int orig_m; /* number of rows in the original problem */ int orig_n; /* number of columns in the original problem */ int orig_nnz; /* number of non-zeros in the original problem */ int orig_dir; /* optimization direction for the original problem: LPX_MIN - minimization LPX_MAX - maximization */ /*--------------------------------------------------------------*/ /* transformed problem segment (always minimization) */ int nrows; /* number of rows introduced into the transformed problem; this count increases by one each time when a new row is added to the transformed problem and never decreases; thus, actual number of rows may be less than nrows due to row deletions */ int ncols; /* number of columns introduced into the transformed problem; this count increases by one each time when a new column is added to the transformed problem and never decreases; thus, actual number of columns may be less than ncols due to column deletions */ DMP *row_pool; /* memory pool to hold LPPROW instances */ DMP *col_pool; /* memory pool to hold LPPCOL instances */ DMP *aij_pool; /* memory pool to hold LPPAIJ instances */ LPPROW *row_ptr; /* initial pointer to the doubly linked list of rows */ LPPCOL *col_ptr; /* initial pointer to the doubly linked list of columns */ LPPROW *row_que; /* initial pointer to the queue of active rows */ LPPCOL *col_que; /* initial pointer to the queue of active columns */ double c0; /* constant term of the objective function */ /*--------------------------------------------------------------*/ /* transformation history segment */ DMP *tqe_pool; /* memory pool to hold instances of data structures that describe transformations performed by the presolver routines */ LPPTQE *tqe_list; /* pointer to the first transformation queue entry; each time when the presolver applies some transformation to the problem, the corresponding entry is built and added to the beginning of this linked list */ /*--------------------------------------------------------------*/ /* resultant problem segment */ int m; /* number of rows in the resultant problem */ int n; /* number of columns in the resultant problem */ int nnz; /* number of non-zeros in the resultant problem */ int *row_ref; /* int row_ref[1+m]; */ /* row_ref[0] is not used; row_ref[i], i = 1, ..., m, is the reference number assigned to a row, which is i-th row of the resultant problem */ int *col_ref; /* int col_ref[1+n]; */ /* col_ref[0] is not used; col_ref[j], j = 1, ..., n, is the reference number assigned to a column, which is j-th column of the resultant problem */ /*--------------------------------------------------------------*/ /* recovered solution segment */ int *row_stat; /* int row_stat[1+nrows]; */ /* row_stat[0] is not used; row_stat[i], i = 1, ..., nrows, is the status of i-th row: 0 - row is not recovered yet LPX_BS - inactive constraint LPX_NL - active constraint on lower bound LPX_NU - active constraint on upper bound LPX_NF - (can never be) LPX_NS - active equality constraint */ double *row_prim; /* double row_prim[1+nrows]; */ /* row_prim[0] is not used; row_prim[i] is a primal value of i-th auxiliary variable */ double *row_dual; /* double row_dual[1+nrows]; */ /* row_dual[0] is not used; row_dual[i] is a dual value of i-th auxiliary variable */ int *col_stat; /* int col_stat[1+ncols]; */ /* col_stat[0] is not used; col_stat[j], j = 1, ..., ncols, is the status of j-th column: 0 - column is not recovered yet LPX_BS - basic variable LPX_NL - non-basic variable on lower bound LPX_NU - non-basic variable on upper bound LPX_NF - non-basic free variable LPX_NS - non-basic fixed variable */ double *col_prim; /* double col_prim[1+ncols]; */ /* col_prim[0] is not used; col_prim[j] is a primal value of j-th structural variable */ double *col_dual; /* double col_dual[1+ncols]; */ /* col_dual[0] is not used; col_dual[j] is a dual value of j-th structural variable */ }; struct LPPROW { /* row (constraint) */ int i; /* reference number assigned to this row, 1 <= i <= nrows; rows of the original problem are assigned the numbers from 1 to orig_m */ double lb; /* lower bound or -DBL_MAX, if this row has no lower bound */ double ub; /* upper bound or +DBL_MAX, if this row has no upper bound */ LPPAIJ *ptr; /* initial pointer to the linked list of constraint coefficients for the row */ int temp; /* auxiliary attribute used by some presolver routines */ LPPROW *prev; /* pointer to the previous row in the linked list */ LPPROW *next; /* pointer to the next row in the linked list */ int q_flag; /* if this flag is set, the row is in the active queue */ LPPROW *q_prev; /* pointer to the previous row in the active queue */ LPPROW *q_next; /* pointer to the next row in the active queue */ }; struct LPPCOL { /* column (variable) */ int j; /* reference number assigned to the column, 1 <= j <= ncols; columns of the original problem are assigned the numbers from 1 to orig_n */ double lb; /* lower bound or -DBL_MAX, if the column has no lower bound */ double ub; /* upper bound or +DBL_MAX, if the column has no upper bound */ double c; /* objective coefficient at the column */ LPPAIJ *ptr; /* initial pointer to the linked list of constraint coefficients for the column */ LPPCOL *prev; /* pointer to the previous column in the linked list */ LPPCOL *next; /* pointer to the next column in the linked list */ int q_flag; /* if this flag is set, the column is in the active queue */ LPPCOL *q_prev; /* pointer to the previous column in the active queue */ LPPCOL *q_next; /* pointer to the next column in the active queue */ }; struct LPPAIJ { /* element of the constraint matrix */ LPPROW *row; /* pointer to the corresponding row */ LPPCOL *col; /* pointer to the corresponding column */ double val; /* numerical value of this element */ LPPAIJ *r_prev; /* pointer to the previous element in the same row */ LPPAIJ *r_next; /* pointer to the next element in the same row */ LPPAIJ *c_prev; /* pointer to the previous element in the same column */ LPPAIJ *c_next; /* pointer to the next element in the same column */ }; struct LPPTQE { /* transformation queue entry */ int type; /* entry type: */ #define LPP_EMPTY_ROW 0x01 #define LPP_EMPTY_COL 0x02 #define LPP_FREE_ROW 0x03 #define LPP_FIXED_COL 0x04 #define LPP_ROW_SNGTON1 0x05 #define LPP_ROW_SNGTON2 0x06 #define LPP_COL_SNGTON1 0x07 #define LPP_COL_SNGTON2 0x08 #define LPP_FORCING_ROW 0x09 void *info; /* pointer to specific part of this entry (depends on the entry type) */ LPPTQE *next; /* pointer to an entry, which was created *before* this entry */ }; struct LPPLFE { /* linear form element */ int ref; /* row/column reference number */ double val; /* numerical value */ LPPLFE *next; /* pointer to the next element */ }; struct LPPLFX { /* extended linear form element */ int ref; /* row/column reference number */ int flag; /* row/column flag */ double val; /* numerical value */ LPPLFX *next; /* pointer to the next element */ }; LPP *lpp_create_wksp(void); /* create LP presolver workspace */ LPPROW *lpp_add_row(LPP *lpp, double lb, double ub); /* add new row to the transformed problem */ LPPCOL *lpp_add_col(LPP *lpp, double lb, double ub, double c); /* add new column to the transformed problem */ LPPAIJ *lpp_add_aij(LPP *lpp, LPPROW *row, LPPCOL *col, double val); /* add new element to the constraint matrix */ void lpp_remove_row(LPP *lpp, LPPROW *row); /* remove row from the transformed problem */ void lpp_remove_col(LPP *lpp, LPPCOL *col); /* remove column from the transformed problem */ void lpp_enque_row(LPP *lpp, LPPROW *row); /* place row in the active queue */ void lpp_deque_row(LPP *lpp, LPPROW *row); /* remove row from the active queue */ void lpp_enque_col(LPP *lpp, LPPCOL *col); /* place column in the active queue */ void lpp_deque_col(LPP *lpp, LPPCOL *col); /* remove column from the active queue */ void lpp_load_orig(LPP *lpp, LPX *orig); /* load original problem into LP presolver workspace */ void *lpp_append_tqe(LPP *lpp, int type, int size); /* append new transformation queue entry */ LPX *lpp_build_prob(LPP *lpp); /* build resultant problem */ void lpp_alloc_sol(LPP *lpp); /* allocate recovered solution segment */ void lpp_load_sol(LPP *lpp, LPX *prob); /* load basic solution into LP presolver workspace */ void lpp_unload_sol(LPP *lpp, LPX *orig); /* unload basic solution from LP presolver workspace */ void lpp_delete_wksp(LPP *lpp); /* delete LP presolver workspace */ int lpp_presolve(LPP *lpp); /* LP presolve analysis */ void lpp_postsolve(LPP *lpp); /* LP postsolve processing */ #endif /* eof */ liblip-2.0.0/include/glpk/glpmat.h0000644000175000017500000001230110426015340013712 00000000000000/* glpmat.h (sparse matrix routines) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPMAT_H #define _GLPMAT_H #define transpose glp_mat_transpose #define adat_symbolic glp_mat_adat_symbolic #define adat_numeric glp_mat_adat_numeric #define min_degree glp_mat_min_degree #define chol_symbolic glp_mat_chol_symbolic #define chol_numeric glp_mat_chol_numeric #define u_solve glp_mat_u_solve #define ut_solve glp_mat_ut_solve /*---------------------------------------------------------------------- -- STORAGE-BY-ROWS -- -- For a sparse matrix A, which has m rows, n columns, and ne non-zero -- elements the storage-by-rows format uses three arrays A_ptr, A_ind, -- and A_val, which are set up as follows: -- -- A_ptr is an integer array of length [1+m+1] also called "row pointer -- array". It contains the relative starting positions of each row of A -- in the arrays A_ind and A_val, i.e. element A_ptr[i], 1 <= i <= m, -- indicates where row i begins in the arrays A_ind and A_val. If all -- elements in row i are zero, then A_ptr[i] = A_ptr[i+1]. Location -- A_ptr[0] is not used, location A_ptr[1] must contain 1, and location -- A_ptr[m+1] must contain ne+1 that indicates the position after the -- last element in the arrays A_ind and A_val. -- -- A_ind is an integer array of length [1+ne]. Location A_ind[0] is not -- used, and locations A_ind[1], ..., A_ind[ne] contain column indices -- of non-zero elements in matrix A. -- -- A_val is a floating-point array of length [1+ne]. Location A_val[0] -- is not used, and locations A_val[1], ..., A_val[ne] contain numeric -- values of non-zero elements in matrix A. -- -- Non-zero elements of matrix A are stored contiguously, and the rows -- of matrix A are stored consecutively from 1 to m in the arrays A_ind -- and A_val. The elements in each row of A may be stored in any order -- in A_ind and A_val. Note that elements with duplicate column indices -- are not allowed. -- -- Let, for example, the following sparse matrix A be given: -- -- | 11 . 13 . . . | -- | 21 22 . 24 . . | -- | . 32 33 . . . | -- | . . 43 44 . 46 | -- | . . . . . . | -- | 61 62 . . . 66 | -- -- Then the arrays are: -- -- A_ptr = { X; 1, 3, 6, 8, 11, 11; 14 } -- -- A_ind = { X; 1, 3; 4, 2, 1; 2, 3; 4, 3, 6; 1, 2, 6 } -- -- A_val = { X; 11, 13; 24, 22, 21; 32, 33; 44, 43, 46; 61, 62, 66 } -- -- Reference: -- -- Gustavson F.G. Some basic techniques for solving sparse systems of -- linear equations. In Rose and Willoughby (1972), pp. 41-52. -- -- PERMUTATION MATRICES -- -- Let P be a permutation matrix of the order n. It is represented as -- an integer array P_per of length [1+n+n] as follows: if p[i,j] = 1, -- then P_per[i] = j and P_per[n+j] = i. Location P_per[0] is not used. -- -- Let A' = P*A. If i-th row of A corresponds to i'-th row of A', then -- P_per[i'] = i and P_per[n+i] = i'. */ void transpose(int m, int n, int A_ptr[], int A_ind[], double A_val[], int AT_ptr[], int AT_ind[], double AT_val[]); /* transpose sparse matrix */ int *adat_symbolic(int m, int n, int P_per[], int A_ptr[], int A_ind[], int S_ptr[]); /* compute S = P*A*D*A'*P' (symbolic phase) */ void adat_numeric(int m, int n, int P_per[], int A_ptr[], int A_ind[], double A_val[], double D_diag[], int S_ptr[], int S_ind[], double S_val[], double S_diag[]); /* compute S = P*A*D*A'*P' (numeric phase) */ void min_degree(int n, int A_ptr[], int A_ind[], int P_per[]); /* minimum degree ordering */ int *chol_symbolic(int n, int A_ptr[], int A_ind[], int U_ptr[]); /* compute Cholesky factorization (symbolic phase) */ int chol_numeric(int n, int A_ptr[], int A_ind[], double A_val[], double A_diag[], int U_ptr[], int U_ind[], double U_val[], double U_diag[]); /* compute Cholesky factorization (numeric phase) */ void u_solve(int n, int U_ptr[], int U_ind[], double U_val[], double U_diag[], double x[]); /* solve upper triangular system U*x = b */ void ut_solve(int n, int U_ptr[], int U_ind[], double U_val[], double U_diag[], double x[]); /* solve lower triangular system U'*x = b */ #endif /* eof */ liblip-2.0.0/include/glpk/glpqmd.h0000644000175000017500000000455210426015340013723 00000000000000/* glpqmd.h (quotient minimum degree algorithm) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPQMD_H #define _GLPQMD_H #define genqmd glp_qmd_genqmd #define qmdrch glp_qmd_qmdrch #define qmdqt glp_qmd_qmdqt #define qmdupd glp_qmd_qmdupd #define qmdmrg glp_qmd_qmdmrg extern void genqmd(int *neqns, int xadj[], int adjncy[], int perm[], int invp[], int deg[], int marker[], int rchset[], int nbrhd[], int qsize[], int qlink[], int *nofsub); /* GENeral Quotient Minimum Degree algorithm */ extern void qmdrch(int *root, int xadj[], int adjncy[], int deg[], int marker[], int *rchsze, int rchset[], int *nhdsze, int nbrhd[]); /* Quotient MD ReaCHable set */ extern void qmdqt(int *root, int xadj[], int adjncy[], int marker[], int *rchsze, int rchset[], int nbrhd[]); /* Quotient MD Quotient graph Transformation */ extern void qmdupd(int xadj[], int adjncy[], int *nlist, int list[], int deg[], int qsize[], int qlink[], int marker[], int rchset[], int nbrhd[]); /* Quotient MD UPDate */ extern void qmdmrg(int xadj[], int adjncy[], int deg[], int qsize[], int qlink[], int marker[], int *deg0, int *nhdsze, int nbrhd[], int rchset[], int ovrlp[]); /* Quotient MD MeRGe */ #endif /* eof */ liblip-2.0.0/include/glpk/glpstr.h0000644000175000017500000000534610426015340013754 00000000000000/* glpstr.h (segmented character string) */ /*---------------------------------------------------------------------- -- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, Russia. All rights reserved. E-mail: . -- -- This file is part of GLPK (GNU Linear Programming Kit). -- -- GLPK is free software; you can redistribute it and/or modify it -- under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- GLPK is distributed in the hope that it will be useful, but WITHOUT -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GLPK; see the file COPYING. If not, write to the Free -- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. ----------------------------------------------------------------------*/ #ifndef _GLPSTR_H #define _GLPSTR_H #include "glpdmp.h" #define clear_str glp_clear_str #define compare_str glp_compare_str #define create_str glp_create_str #define create_str_pool glp_create_str_pool #define delete_str glp_delete_str #define get_str glp_get_str #define set_str glp_set_str typedef struct STR STR; typedef struct SQE SQE; struct STR { /* segmented character string of arbitrary length */ DMP *pool; /* memory pool holding string elements */ int len; /* current string length */ SQE *head; /* pointer to the first string element */ SQE *tail; /* pointer to the last string element */ }; #define SQE_SIZE 12 /* number of characters allocated in each string element */ struct SQE { /* element of segmented character string */ char data[SQE_SIZE]; /* characters allocated in this element */ SQE *next; /* pointer to the next string element */ }; extern STR *clear_str(STR *str); /* clear segmented character string */ extern int compare_str(STR *str1, STR *str2); /* compare segmented character strings */ extern STR *create_str(DMP *pool); /* create segmented character string */ extern DMP *create_str_pool(void); /* create pool for segmented character strings */ extern void delete_str(STR *str); /* delete segmented character string */ extern char *get_str(char *to, STR *str); /* extract value from segmented character string */ extern STR *set_str(STR *str, char *from); /* assign value to segmented character string */ #endif /* eof */ liblip-2.0.0/include/tnt/0000777000175000017500000000000010437473063012230 500000000000000liblip-2.0.0/include/tnt/jama_cholesky.h0000644000175000017500000001216510426015340015117 00000000000000#ifndef JAMA_CHOLESKY_H #define JAMA_CHOLESKY_H #include "math.h" /* needed for sqrt() below. */ namespace JAMA { using namespace TNT; /**

For a symmetric, positive definite matrix A, this function computes the Cholesky factorization, i.e. it computes a lower triangular matrix L such that A = L*L'. If the matrix is not symmetric or positive definite, the function computes only a partial decomposition. This can be tested with the is_spd() flag.

Typical usage looks like:

	Array2D A(n,n);
	Array2D L;

	 ... 

	Cholesky chol(A);

	if (chol.is_spd())
		L = chol.getL();
		
  	else
		cout << "factorization was not complete.\n";

	

(Adapted from JAMA, a Java Matrix Library, developed by jointly by the Mathworks and NIST; see http://math.nist.gov/javanumerics/jama). */ template class Cholesky { Array2D L_; // lower triangular factor int isspd; // 1 if matrix to be factored was SPD public: Cholesky(); Cholesky(const Array2D &A); Array2D getL() const; Array1D solve(const Array1D &B); Array2D solve(const Array2D &B); int is_spd() const; }; template Cholesky::Cholesky() : L_(0,0), isspd(0) {} /** @return 1, if original matrix to be factored was symmetric positive-definite (SPD). */ template int Cholesky::is_spd() const { return isspd; } /** @return the lower triangular factor, L, such that L*L'=A. */ template Array2D Cholesky::getL() const { return L_; } /** Constructs a lower triangular matrix L, such that L*L'= A. If A is not symmetric positive-definite (SPD), only a partial factorization is performed. If is_spd() evalutate true (1) then the factorizaiton was successful. */ template Cholesky::Cholesky(const Array2D &A) { int m = A.dim1(); int n = A.dim2(); isspd = (m == n); if (m != n) { L_ = Array2D(0,0); return; } L_ = Array2D(n,n); // Main loop. for (int j = 0; j < n; j++) { double d = 0.0; for (int k = 0; k < j; k++) { Real s = 0.0; for (int i = 0; i < k; i++) { s += L_[k][i]*L_[j][i]; } L_[j][k] = s = (A[j][k] - s)/L_[k][k]; d = d + s*s; isspd = isspd && (A[k][j] == A[j][k]); } d = A[j][j] - d; isspd = isspd && (d > 0.0); L_[j][j] = sqrt(d > 0.0 ? d : 0.0); for (int k = j+1; k < n; k++) { L_[j][k] = 0.0; } } } /** Solve a linear system A*x = b, using the previously computed cholesky factorization of A: L*L'. @param B A Matrix with as many rows as A and any number of columns. @return x so that L*L'*x = b. If b is nonconformat, or if A was not symmetric posidtive definite, a null (0x0) array is returned. */ template Array1D Cholesky::solve(const Array1D &b) { int n = L_.dim1(); if (b.dim1() != n) return Array1D(); Array1D x = b.copy(); // Solve L*y = b; for (int k = 0; k < n; k++) { for (int i = 0; i < k; i++) x[k] -= x[i]*L_[k][i]; x[k] /= L_[k][k]; } // Solve L'*X = Y; for (int k = n-1; k >= 0; k--) { for (int i = k+1; i < n; i++) x[k] -= x[i]*L_[i][k]; x[k] /= L_[k][k]; } return x; } /** Solve a linear system A*X = B, using the previously computed cholesky factorization of A: L*L'. @param B A Matrix with as many rows as A and any number of columns. @return X so that L*L'*X = B. If B is nonconformat, or if A was not symmetric posidtive definite, a null (0x0) array is returned. */ template Array2D Cholesky::solve(const Array2D &B) { int n = L_.dim1(); if (B.dim1() != n) return Array2D(); Array2D X = B.copy(); int nx = B.dim2(); // Cleve's original code #if 0 // Solve L*Y = B; for (int k = 0; k < n; k++) { for (int i = k+1; i < n; i++) { for (int j = 0; j < nx; j++) { X[i][j] -= X[k][j]*L_[k][i]; } } for (int j = 0; j < nx; j++) { X[k][j] /= L_[k][k]; } } // Solve L'*X = Y; for (int k = n-1; k >= 0; k--) { for (int j = 0; j < nx; j++) { X[k][j] /= L_[k][k]; } for (int i = 0; i < k; i++) { for (int j = 0; j < nx; j++) { X[i][j] -= X[k][j]*L_[k][i]; } } } #endif // Solve L*y = b; for (int j=0; j< nx; j++) { for (int k = 0; k < n; k++) { for (int i = 0; i < k; i++) X[k][j] -= X[i][j]*L_[k][i]; X[k][j] /= L_[k][k]; } } // Solve L'*X = Y; for (int j=0; j= 0; k--) { for (int i = k+1; i < n; i++) X[k][j] -= X[i][j]*L_[i][k]; X[k][j] /= L_[k][k]; } } return X; } } // namespace JAMA #endif // JAMA_CHOLESKY_H liblip-2.0.0/include/tnt/tnt_array3d.h0000644000175000017500000001213110426015341014532 00000000000000/* * * Template Numerical Toolkit (TNT) * * Mathematical and Computational Sciences Division * National Institute of Technology, * Gaithersburg, MD USA * * * This software was developed at the National Institute of Standards and * Technology (NIST) by employees of the Federal Government in the course * of their official duties. Pursuant to title 17 Section 105 of the * United States Code, this software is not subject to copyright protection * and is in the public domain. NIST assumes no responsibility whatsoever for * its use by other parties, and makes no guarantees, expressed or implied, * about its quality, reliability, or any other characteristic. * */ #ifndef TNT_ARRAY3D_H #define TNT_ARRAY3D_H #include #include #ifdef TNT_BOUNDS_CHECK #include #endif #include "tnt_array1d.h" #include "tnt_array2d.h" namespace TNT { template class Array3D { private: Array1D data_; Array2D v_; int m_; int n_; int g_; public: typedef T value_type; Array3D(); Array3D(int m, int n, int g); Array3D(int m, int n, int g, T val); Array3D(int m, int n, int g, T *a); inline operator T***(); inline operator const T***(); inline Array3D(const Array3D &A); inline Array3D & operator=(const T &a); inline Array3D & operator=(const Array3D &A); inline Array3D & ref(const Array3D &A); Array3D copy() const; Array3D & inject(const Array3D & A); inline T** operator[](int i); inline const T* const * operator[](int i) const; inline int dim1() const; inline int dim2() const; inline int dim3() const; ~Array3D(); /* extended interface */ inline int ref_count(){ return data_.ref_count(); } Array3D subarray(int i0, int i1, int j0, int j1, int k0, int k1); }; template Array3D::Array3D() : data_(), v_(), m_(0), n_(0) {} template Array3D::Array3D(const Array3D &A) : data_(A.data_), v_(A.v_), m_(A.m_), n_(A.n_), g_(A.g_) { } template Array3D::Array3D(int m, int n, int g) : data_(m*n*g), v_(m,n), m_(m), n_(n), g_(g) { if (m>0 && n>0 && g>0) { T* p = & (data_[0]); int ng = n_*g_; for (int i=0; i Array3D::Array3D(int m, int n, int g, T val) : data_(m*n*g, val), v_(m,n), m_(m), n_(n), g_(g) { if (m>0 && n>0 && g>0) { T* p = & (data_[0]); int ng = n_*g_; for (int i=0; i Array3D::Array3D(int m, int n, int g, T* a) : data_(m*n*g, a), v_(m,n), m_(m), n_(n), g_(g) { if (m>0 && n>0 && g>0) { T* p = & (data_[0]); int ng = n_*g_; for (int i=0; i inline T** Array3D::operator[](int i) { #ifdef TNT_BOUNDS_CHECK assert(i >= 0); assert(i < m_); #endif return v_[i]; } template inline const T* const * Array3D::operator[](int i) const { return v_[i]; } template Array3D & Array3D::operator=(const T &a) { for (int i=0; i Array3D Array3D::copy() const { Array3D A(m_, n_, g_); for (int i=0; i Array3D & Array3D::inject(const Array3D &A) { if (A.m_ == m_ && A.n_ == n_ && A.g_ == g_) for (int i=0; i Array3D & Array3D::ref(const Array3D &A) { if (this != &A) { m_ = A.m_; n_ = A.n_; g_ = A.g_; v_ = A.v_; data_ = A.data_; } return *this; } template Array3D & Array3D::operator=(const Array3D &A) { return ref(A); } template inline int Array3D::dim1() const { return m_; } template inline int Array3D::dim2() const { return n_; } template inline int Array3D::dim3() const { return g_; } template Array3D::~Array3D() {} template inline Array3D::operator T***() { return v_; } template inline Array3D::operator const T***() { return v_; } /* extended interface */ template Array3D Array3D::subarray(int i0, int i1, int j0, int j1, int k0, int k1) { /* check that ranges are valid. */ if (!( 0 <= i0 && i0 <= i1 && i1 < m_ && 0 <= j0 && j0 <= j1 && j1 < n_ && 0 <= k0 && k0 <= k1 && k1 < g_)) return Array3D(); /* null array */ Array3D A; A.data_ = data_; A.m_ = i1-i0+1; A.n_ = j1-j0+1; A.g_ = k1-k0+1; A.v_ = Array2D(A.m_,A.n_); T* p = &(data_[0]) + i0*n_*g_ + j0*g_ + k0; for (int i=0; i If A is symmetric, then A = V*D*V' where the eigenvalue matrix D is diagonal and the eigenvector matrix V is orthogonal. That is, the diagonal values of D are the eigenvalues, and V*V' = I, where I is the identity matrix. The columns of V represent the eigenvectors in the sense that A*V = V*D.

If A is not symmetric, then the eigenvalue matrix D is block diagonal with the real eigenvalues in 1-by-1 blocks and any complex eigenvalues, a + i*b, in 2-by-2 blocks, [a, b; -b, a]. That is, if the complex eigenvalues look like


          u + iv     .        .          .      .    .
            .      u - iv     .          .      .    .
            .        .      a + ib       .      .    .
            .        .        .        a - ib   .    .
            .        .        .          .      x    .
            .        .        .          .      .    y
then D looks like

            u        v        .          .      .    .
           -v        u        .          .      .    . 
            .        .        a          b      .    .
            .        .       -b          a      .    .
            .        .        .          .      x    .
            .        .        .          .      .    y
This keeps V a real matrix in both symmetric and non-symmetric cases, and A*V = V*D.

The matrix V may be badly conditioned, or even singular, so the validity of the equation A = V*D*inverse(V) depends upon the condition number of V.

(Adapted from JAMA, a Java Matrix Library, developed by jointly by the Mathworks and NIST; see http://math.nist.gov/javanumerics/jama). **/ template class Eigenvalue { /** Row and column dimension (square matrix). */ int n; int issymmetric; /* boolean*/ /** Arrays for internal storage of eigenvalues. */ TNT::Array1D d; /* real part */ TNT::Array1D e; /* img part */ /** Array for internal storage of eigenvectors. */ TNT::Array2D V; /** Array for internal storage of nonsymmetric Hessenberg form. @serial internal storage of nonsymmetric Hessenberg form. */ TNT::Array2D H; /** Working storage for nonsymmetric algorithm. @serial working storage for nonsymmetric algorithm. */ TNT::Array1D ort; // Symmetric Householder reduction to tridiagonal form. void tred2() { // This is derived from the Algol procedures tred2 by // Bowdler, Martin, Reinsch, and Wilkinson, Handbook for // Auto. Comp., Vol.ii-Linear Algebra, and the corresponding // Fortran subroutine in EISPACK. for (int j = 0; j < n; j++) { d[j] = V[n-1][j]; } // Householder reduction to tridiagonal form. for (int i = n-1; i > 0; i--) { // Scale to avoid under/overflow. Real scale = 0.0; Real h = 0.0; for (int k = 0; k < i; k++) { scale = scale + abs(d[k]); } if (scale == 0.0) { e[i] = d[i-1]; for (int j = 0; j < i; j++) { d[j] = V[i-1][j]; V[i][j] = 0.0; V[j][i] = 0.0; } } else { // Generate Householder vector. for (int k = 0; k < i; k++) { d[k] /= scale; h += d[k] * d[k]; } Real f = d[i-1]; Real g = sqrt(h); if (f > 0) { g = -g; } e[i] = scale * g; h = h - f * g; d[i-1] = f - g; for (int j = 0; j < i; j++) { e[j] = 0.0; } // Apply similarity transformation to remaining columns. for (int j = 0; j < i; j++) { f = d[j]; V[j][i] = f; g = e[j] + V[j][j] * f; for (int k = j+1; k <= i-1; k++) { g += V[k][j] * d[k]; e[k] += V[k][j] * f; } e[j] = g; } f = 0.0; for (int j = 0; j < i; j++) { e[j] /= h; f += e[j] * d[j]; } Real hh = f / (h + h); for (int j = 0; j < i; j++) { e[j] -= hh * d[j]; } for (int j = 0; j < i; j++) { f = d[j]; g = e[j]; for (int k = j; k <= i-1; k++) { V[k][j] -= (f * e[k] + g * d[k]); } d[j] = V[i-1][j]; V[i][j] = 0.0; } } d[i] = h; } // Accumulate transformations. for (int i = 0; i < n-1; i++) { V[n-1][i] = V[i][i]; V[i][i] = 1.0; Real h = d[i+1]; if (h != 0.0) { for (int k = 0; k <= i; k++) { d[k] = V[k][i+1] / h; } for (int j = 0; j <= i; j++) { Real g = 0.0; for (int k = 0; k <= i; k++) { g += V[k][i+1] * V[k][j]; } for (int k = 0; k <= i; k++) { V[k][j] -= g * d[k]; } } } for (int k = 0; k <= i; k++) { V[k][i+1] = 0.0; } } for (int j = 0; j < n; j++) { d[j] = V[n-1][j]; V[n-1][j] = 0.0; } V[n-1][n-1] = 1.0; e[0] = 0.0; } // Symmetric tridiagonal QL algorithm. void tql2 () { // This is derived from the Algol procedures tql2, by // Bowdler, Martin, Reinsch, and Wilkinson, Handbook for // Auto. Comp., Vol.ii-Linear Algebra, and the corresponding // Fortran subroutine in EISPACK. for (int i = 1; i < n; i++) { e[i-1] = e[i]; } e[n-1] = 0.0; Real f = 0.0; Real tst1 = 0.0; Real eps = pow(2.0,-52.0); for (int l = 0; l < n; l++) { // Find small subdiagonal element tst1 = max(tst1,abs(d[l]) + abs(e[l])); int m = l; // Original while-loop from Java code while (m < n) { if (abs(e[m]) <= eps*tst1) { break; } m++; } // If m == l, d[l] is an eigenvalue, // otherwise, iterate. if (m > l) { int iter = 0; do { iter = iter + 1; // (Could check iteration count here.) // Compute implicit shift Real g = d[l]; Real p = (d[l+1] - g) / (2.0 * e[l]); Real r = hypot(p,1.0); if (p < 0) { r = -r; } d[l] = e[l] / (p + r); d[l+1] = e[l] * (p + r); Real dl1 = d[l+1]; Real h = g - d[l]; for (int i = l+2; i < n; i++) { d[i] -= h; } f = f + h; // Implicit QL transformation. p = d[m]; Real c = 1.0; Real c2 = c; Real c3 = c; Real el1 = e[l+1]; Real s = 0.0; Real s2 = 0.0; for (int i = m-1; i >= l; i--) { c3 = c2; c2 = c; s2 = s; g = c * e[i]; h = c * p; r = hypot(p,e[i]); e[i+1] = s * r; s = e[i] / r; c = p / r; p = c * d[i] - s * g; d[i+1] = h + s * (c * g + s * d[i]); // Accumulate transformation. for (int k = 0; k < n; k++) { h = V[k][i+1]; V[k][i+1] = s * V[k][i] + c * h; V[k][i] = c * V[k][i] - s * h; } } p = -s * s2 * c3 * el1 * e[l] / dl1; e[l] = s * p; d[l] = c * p; // Check for convergence. } while (abs(e[l]) > eps*tst1); } d[l] = d[l] + f; e[l] = 0.0; } // Sort eigenvalues and corresponding vectors. for (int i = 0; i < n-1; i++) { int k = i; Real p = d[i]; for (int j = i+1; j < n; j++) { if (d[j] < p) { k = j; p = d[j]; } } if (k != i) { d[k] = d[i]; d[i] = p; for (int j = 0; j < n; j++) { p = V[j][i]; V[j][i] = V[j][k]; V[j][k] = p; } } } } // Nonsymmetric reduction to Hessenberg form. void orthes () { // This is derived from the Algol procedures orthes and ortran, // by Martin and Wilkinson, Handbook for Auto. Comp., // Vol.ii-Linear Algebra, and the corresponding // Fortran subroutines in EISPACK. int low = 0; int high = n-1; for (int m = low+1; m <= high-1; m++) { // Scale column. Real scale = 0.0; for (int i = m; i <= high; i++) { scale = scale + abs(H[i][m-1]); } if (scale != 0.0) { // Compute Householder transformation. Real h = 0.0; for (int i = high; i >= m; i--) { ort[i] = H[i][m-1]/scale; h += ort[i] * ort[i]; } Real g = sqrt(h); if (ort[m] > 0) { g = -g; } h = h - ort[m] * g; ort[m] = ort[m] - g; // Apply Householder similarity transformation // H = (I-u*u'/h)*H*(I-u*u')/h) for (int j = m; j < n; j++) { Real f = 0.0; for (int i = high; i >= m; i--) { f += ort[i]*H[i][j]; } f = f/h; for (int i = m; i <= high; i++) { H[i][j] -= f*ort[i]; } } for (int i = 0; i <= high; i++) { Real f = 0.0; for (int j = high; j >= m; j--) { f += ort[j]*H[i][j]; } f = f/h; for (int j = m; j <= high; j++) { H[i][j] -= f*ort[j]; } } ort[m] = scale*ort[m]; H[m][m-1] = scale*g; } } // Accumulate transformations (Algol's ortran). for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { V[i][j] = (i == j ? 1.0 : 0.0); } } for (int m = high-1; m >= low+1; m--) { if (H[m][m-1] != 0.0) { for (int i = m+1; i <= high; i++) { ort[i] = H[i][m-1]; } for (int j = m; j <= high; j++) { Real g = 0.0; for (int i = m; i <= high; i++) { g += ort[i] * V[i][j]; } // Double division avoids possible underflow g = (g / ort[m]) / H[m][m-1]; for (int i = m; i <= high; i++) { V[i][j] += g * ort[i]; } } } } } // Complex scalar division. Real cdivr, cdivi; void cdiv(Real xr, Real xi, Real yr, Real yi) { Real r,d; if (abs(yr) > abs(yi)) { r = yi/yr; d = yr + r*yi; cdivr = (xr + r*xi)/d; cdivi = (xi - r*xr)/d; } else { r = yr/yi; d = yi + r*yr; cdivr = (r*xr + xi)/d; cdivi = (r*xi - xr)/d; } } // Nonsymmetric reduction from Hessenberg to real Schur form. void hqr2 () { // This is derived from the Algol procedure hqr2, // by Martin and Wilkinson, Handbook for Auto. Comp., // Vol.ii-Linear Algebra, and the corresponding // Fortran subroutine in EISPACK. // Initialize int nn = this->n; int n = nn-1; int low = 0; int high = nn-1; Real eps = pow(2.0,-52.0); Real exshift = 0.0; Real p=0,q=0,r=0,s=0,z=0,t,w,x,y; // Store roots isolated by balanc and compute matrix norm Real norm = 0.0; for (int i = 0; i < nn; i++) { if ((i < low) || (i > high)) { d[i] = H[i][i]; e[i] = 0.0; } for (int j = max(i-1,0); j < nn; j++) { norm = norm + abs(H[i][j]); } } // Outer loop over eigenvalue index int iter = 0; while (n >= low) { // Look for single small sub-diagonal element int l = n; while (l > low) { s = abs(H[l-1][l-1]) + abs(H[l][l]); if (s == 0.0) { s = norm; } if (abs(H[l][l-1]) < eps * s) { break; } l--; } // Check for convergence // One root found if (l == n) { H[n][n] = H[n][n] + exshift; d[n] = H[n][n]; e[n] = 0.0; n--; iter = 0; // Two roots found } else if (l == n-1) { w = H[n][n-1] * H[n-1][n]; p = (H[n-1][n-1] - H[n][n]) / 2.0; q = p * p + w; z = sqrt(abs(q)); H[n][n] = H[n][n] + exshift; H[n-1][n-1] = H[n-1][n-1] + exshift; x = H[n][n]; // Real pair if (q >= 0) { if (p >= 0) { z = p + z; } else { z = p - z; } d[n-1] = x + z; d[n] = d[n-1]; if (z != 0.0) { d[n] = x - w / z; } e[n-1] = 0.0; e[n] = 0.0; x = H[n][n-1]; s = abs(x) + abs(z); p = x / s; q = z / s; r = sqrt(p * p+q * q); p = p / r; q = q / r; // Row modification for (int j = n-1; j < nn; j++) { z = H[n-1][j]; H[n-1][j] = q * z + p * H[n][j]; H[n][j] = q * H[n][j] - p * z; } // Column modification for (int i = 0; i <= n; i++) { z = H[i][n-1]; H[i][n-1] = q * z + p * H[i][n]; H[i][n] = q * H[i][n] - p * z; } // Accumulate transformations for (int i = low; i <= high; i++) { z = V[i][n-1]; V[i][n-1] = q * z + p * V[i][n]; V[i][n] = q * V[i][n] - p * z; } // Complex pair } else { d[n-1] = x + p; d[n] = x + p; e[n-1] = z; e[n] = -z; } n = n - 2; iter = 0; // No convergence yet } else { // Form shift x = H[n][n]; y = 0.0; w = 0.0; if (l < n) { y = H[n-1][n-1]; w = H[n][n-1] * H[n-1][n]; } // Wilkinson's original ad hoc shift if (iter == 10) { exshift += x; for (int i = low; i <= n; i++) { H[i][i] -= x; } s = abs(H[n][n-1]) + abs(H[n-1][n-2]); x = y = 0.75 * s; w = -0.4375 * s * s; } // MATLAB's new ad hoc shift if (iter == 30) { s = (y - x) / 2.0; s = s * s + w; if (s > 0) { s = sqrt(s); if (y < x) { s = -s; } s = x - w / ((y - x) / 2.0 + s); for (int i = low; i <= n; i++) { H[i][i] -= s; } exshift += s; x = y = w = 0.964; } } iter = iter + 1; // (Could check iteration count here.) // Look for two consecutive small sub-diagonal elements int m = n-2; while (m >= l) { z = H[m][m]; r = x - z; s = y - z; p = (r * s - w) / H[m+1][m] + H[m][m+1]; q = H[m+1][m+1] - z - r - s; r = H[m+2][m+1]; s = abs(p) + abs(q) + abs(r); p = p / s; q = q / s; r = r / s; if (m == l) { break; } if (abs(H[m][m-1]) * (abs(q) + abs(r)) < eps * (abs(p) * (abs(H[m-1][m-1]) + abs(z) + abs(H[m+1][m+1])))) { break; } m--; } for (int i = m+2; i <= n; i++) { H[i][i-2] = 0.0; if (i > m+2) { H[i][i-3] = 0.0; } } // Double QR step involving rows l:n and columns m:n for (int k = m; k <= n-1; k++) { int notlast = (k != n-1); if (k != m) { p = H[k][k-1]; q = H[k+1][k-1]; r = (notlast ? H[k+2][k-1] : 0.0); x = abs(p) + abs(q) + abs(r); if (x != 0.0) { p = p / x; q = q / x; r = r / x; } } if (x == 0.0) { break; } s = sqrt(p * p + q * q + r * r); if (p < 0) { s = -s; } if (s != 0) { if (k != m) { H[k][k-1] = -s * x; } else if (l != m) { H[k][k-1] = -H[k][k-1]; } p = p + s; x = p / s; y = q / s; z = r / s; q = q / p; r = r / p; // Row modification for (int j = k; j < nn; j++) { p = H[k][j] + q * H[k+1][j]; if (notlast) { p = p + r * H[k+2][j]; H[k+2][j] = H[k+2][j] - p * z; } H[k][j] = H[k][j] - p * x; H[k+1][j] = H[k+1][j] - p * y; } // Column modification for (int i = 0; i <= min(n,k+3); i++) { p = x * H[i][k] + y * H[i][k+1]; if (notlast) { p = p + z * H[i][k+2]; H[i][k+2] = H[i][k+2] - p * r; } H[i][k] = H[i][k] - p; H[i][k+1] = H[i][k+1] - p * q; } // Accumulate transformations for (int i = low; i <= high; i++) { p = x * V[i][k] + y * V[i][k+1]; if (notlast) { p = p + z * V[i][k+2]; V[i][k+2] = V[i][k+2] - p * r; } V[i][k] = V[i][k] - p; V[i][k+1] = V[i][k+1] - p * q; } } // (s != 0) } // k loop } // check convergence } // while (n >= low) // Backsubstitute to find vectors of upper triangular form if (norm == 0.0) { return; } for (n = nn-1; n >= 0; n--) { p = d[n]; q = e[n]; // Real vector if (q == 0) { int l = n; H[n][n] = 1.0; for (int i = n-1; i >= 0; i--) { w = H[i][i] - p; r = 0.0; for (int j = l; j <= n; j++) { r = r + H[i][j] * H[j][n]; } if (e[i] < 0.0) { z = w; s = r; } else { l = i; if (e[i] == 0.0) { if (w != 0.0) { H[i][n] = -r / w; } else { H[i][n] = -r / (eps * norm); } // Solve real equations } else { x = H[i][i+1]; y = H[i+1][i]; q = (d[i] - p) * (d[i] - p) + e[i] * e[i]; t = (x * s - z * r) / q; H[i][n] = t; if (abs(x) > abs(z)) { H[i+1][n] = (-r - w * t) / x; } else { H[i+1][n] = (-s - y * t) / z; } } // Overflow control t = abs(H[i][n]); if ((eps * t) * t > 1) { for (int j = i; j <= n; j++) { H[j][n] = H[j][n] / t; } } } } // Complex vector } else if (q < 0) { int l = n-1; // Last vector component imaginary so matrix is triangular if (abs(H[n][n-1]) > abs(H[n-1][n])) { H[n-1][n-1] = q / H[n][n-1]; H[n-1][n] = -(H[n][n] - p) / H[n][n-1]; } else { cdiv(0.0,-H[n-1][n],H[n-1][n-1]-p,q); H[n-1][n-1] = cdivr; H[n-1][n] = cdivi; } H[n][n-1] = 0.0; H[n][n] = 1.0; for (int i = n-2; i >= 0; i--) { Real ra,sa,vr,vi; ra = 0.0; sa = 0.0; for (int j = l; j <= n; j++) { ra = ra + H[i][j] * H[j][n-1]; sa = sa + H[i][j] * H[j][n]; } w = H[i][i] - p; if (e[i] < 0.0) { z = w; r = ra; s = sa; } else { l = i; if (e[i] == 0) { cdiv(-ra,-sa,w,q); H[i][n-1] = cdivr; H[i][n] = cdivi; } else { // Solve complex equations x = H[i][i+1]; y = H[i+1][i]; vr = (d[i] - p) * (d[i] - p) + e[i] * e[i] - q * q; vi = (d[i] - p) * 2.0 * q; if ((vr == 0.0) && (vi == 0.0)) { vr = eps * norm * (abs(w) + abs(q) + abs(x) + abs(y) + abs(z)); } cdiv(x*r-z*ra+q*sa,x*s-z*sa-q*ra,vr,vi); H[i][n-1] = cdivr; H[i][n] = cdivi; if (abs(x) > (abs(z) + abs(q))) { H[i+1][n-1] = (-ra - w * H[i][n-1] + q * H[i][n]) / x; H[i+1][n] = (-sa - w * H[i][n] - q * H[i][n-1]) / x; } else { cdiv(-r-y*H[i][n-1],-s-y*H[i][n],z,q); H[i+1][n-1] = cdivr; H[i+1][n] = cdivi; } } // Overflow control t = max(abs(H[i][n-1]),abs(H[i][n])); if ((eps * t) * t > 1) { for (int j = i; j <= n; j++) { H[j][n-1] = H[j][n-1] / t; H[j][n] = H[j][n] / t; } } } } } } // Vectors of isolated roots for (int i = 0; i < nn; i++) { if (i < low || i > high) { for (int j = i; j < nn; j++) { V[i][j] = H[i][j]; } } } // Back transformation to get eigenvectors of original matrix for (int j = nn-1; j >= low; j--) { for (int i = low; i <= high; i++) { z = 0.0; for (int k = low; k <= min(j,high); k++) { z = z + V[i][k] * H[k][j]; } V[i][j] = z; } } } public: /** Check for symmetry, then construct the eigenvalue decomposition @param A Square real (non-complex) matrix */ Eigenvalue(const TNT::Array2D &A) { n = A.dim2(); V = Array2D(n,n); d = Array1D(n); e = Array1D(n); issymmetric = 1; for (int j = 0; (j < n) && issymmetric; j++) { for (int i = 0; (i < n) && issymmetric; i++) { issymmetric = (A[i][j] == A[j][i]); } } if (issymmetric) { for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { V[i][j] = A[i][j]; } } // Tridiagonalize. tred2(); // Diagonalize. tql2(); } else { H = TNT::Array2D(n,n); ort = TNT::Array1D(n); for (int j = 0; j < n; j++) { for (int i = 0; i < n; i++) { H[i][j] = A[i][j]; } } // Reduce to Hessenberg form. orthes(); // Reduce Hessenberg to real Schur form. hqr2(); } } /** Return the eigenvector matrix @return V */ void getV (TNT::Array2D &V_) { V_ = V; return; } /** Return the real parts of the eigenvalues @return real(diag(D)) */ void getRealEigenvalues (TNT::Array1D &d_) { d_ = d; return ; } /** Return the imaginary parts of the eigenvalues in parameter e_. @pararm e_: new matrix with imaginary parts of the eigenvalues. */ void getImagEigenvalues (TNT::Array1D &e_) { e_ = e; return; } /** Computes the block diagonal eigenvalue matrix. If the original matrix A is not symmetric, then the eigenvalue matrix D is block diagonal with the real eigenvalues in 1-by-1 blocks and any complex eigenvalues, a + i*b, in 2-by-2 blocks, [a, b; -b, a]. That is, if the complex eigenvalues look like


          u + iv     .        .          .      .    .
            .      u - iv     .          .      .    .
            .        .      a + ib       .      .    .
            .        .        .        a - ib   .    .
            .        .        .          .      x    .
            .        .        .          .      .    y
then D looks like

            u        v        .          .      .    .
           -v        u        .          .      .    . 
            .        .        a          b      .    .
            .        .       -b          a      .    .
            .        .        .          .      x    .
            .        .        .          .      .    y
This keeps V a real matrix in both symmetric and non-symmetric cases, and A*V = V*D. @param D: upon return, the matrix is filled with the block diagonal eigenvalue matrix. */ void getD (TNT::Array2D &D) { D = Array2D(n,n); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { D[i][j] = 0.0; } D[i][i] = d[i]; if (e[i] > 0) { D[i][i+1] = e[i]; } else if (e[i] < 0) { D[i][i-1] = e[i]; } } } }; } //namespace JAMA #endif // JAMA_EIG_H liblip-2.0.0/include/tnt/tnt_array3d_utils.h0000644000175000017500000000723210426015341015760 00000000000000 #ifndef TNT_ARRAY3D_UTILS_H #define TNT_ARRAY3D_UTILS_H #include #include namespace TNT { template std::ostream& operator<<(std::ostream &s, const Array3D &A) { int M=A.dim1(); int N=A.dim2(); int K=A.dim3(); s << M << " " << N << " " << K << "\n"; for (int i=0; i std::istream& operator>>(std::istream &s, Array3D &A) { int M, N, K; s >> M >> N >> K; Array3D B(M,N,K); for (int i=0; i> B[i][j][k]; A = B; return s; } template Array3D operator+(const Array3D &A, const Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() != m || B.dim2() != n || B.dim3() != p ) return Array3D(); else { Array3D C(m,n,p); for (int i=0; i Array3D operator-(const Array3D &A, const Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() != m || B.dim2() != n || B.dim3() != p ) return Array3D(); else { Array3D C(m,n,p); for (int i=0; i Array3D operator*(const Array3D &A, const Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() != m || B.dim2() != n || B.dim3() != p ) return Array3D(); else { Array3D C(m,n,p); for (int i=0; i Array3D operator/(const Array3D &A, const Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() != m || B.dim2() != n || B.dim3() != p ) return Array3D(); else { Array3D C(m,n,p); for (int i=0; i Array3D& operator+=(Array3D &A, const Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() == m && B.dim2() == n && B.dim3() == p ) { for (int i=0; i Array3D& operator-=(Array3D &A, const Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() == m && B.dim2() == n && B.dim3() == p ) { for (int i=0; i Array3D& operator*=(Array3D &A, const Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() == m && B.dim2() == n && B.dim3() == p ) { for (int i=0; i Array3D& operator/=(Array3D &A, const Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() == m && B.dim2() == n && B.dim3() == p ) { for (int i=0; i #include #ifdef TNT_BOUNDS_CHECK #include #endif #ifndef NULL #define NULL 0 #endif namespace TNT { /* Internal representation of ref-counted array. The TNT arrays all use this building block.

If an array block is created by TNT, then every time an assignment is made, the left-hand-side reference is decreased by one, and the right-hand-side refernce count is increased by one. If the array block was external to TNT, the refernce count is a NULL pointer regardless of how many references are made, since the memory is not freed by TNT. */ template class i_refvec { private: T* data_; int *ref_count_; public: i_refvec(); explicit i_refvec(int n); inline i_refvec(T* data); inline i_refvec(const i_refvec &v); inline T* begin(); inline const T* begin() const; inline T& operator[](int i); inline const T& operator[](int i) const; inline i_refvec & operator=(const i_refvec &V); void copy_(T* p, const T* q, const T* e); void set_(T* p, const T* b, const T* e); inline int ref_count() const; inline int is_null() const; inline void destroy(); ~i_refvec(); }; template void i_refvec::copy_(T* p, const T* q, const T* e) { for (T* t=p; q i_refvec::i_refvec() : data_(NULL), ref_count_(NULL) {} /** In case n is 0 or negative, it does NOT call new. */ template i_refvec::i_refvec(int n) : data_(NULL), ref_count_(NULL) { if (n >= 1) { #ifdef TNT_DEBUG std::cout << "new data storage.\n"; #endif data_ = new T[n]; ref_count_ = new int; *ref_count_ = 1; } } template inline i_refvec::i_refvec(const i_refvec &V): data_(V.data_), ref_count_(V.ref_count_) { if (V.ref_count_ != NULL) (*(V.ref_count_))++; } template i_refvec::i_refvec(T* data) : data_(data), ref_count_(NULL) {} template inline T* i_refvec::begin() { return data_; } template inline const T& i_refvec::operator[](int i) const { return data_[i]; } template inline T& i_refvec::operator[](int i) { return data_[i]; } template inline const T* i_refvec::begin() const { return data_; } template i_refvec & i_refvec::operator=(const i_refvec &V) { if (this == &V) return *this; if (ref_count_ != NULL) { (*ref_count_) --; if ((*ref_count_) == 0) destroy(); } data_ = V.data_; ref_count_ = V.ref_count_; if (V.ref_count_ != NULL) (*(V.ref_count_))++; return *this; } template void i_refvec::destroy() { if (ref_count_ != NULL) { #ifdef TNT_DEBUG std::cout << "destorying data... \n"; #endif delete ref_count_; #ifdef TNT_DEBUG std::cout << "deleted ref_count_ ...\n"; #endif if (data_ != NULL) delete []data_; #ifdef TNT_DEBUG std::cout << "deleted data_[] ...\n"; #endif data_ = NULL; } } /* * return 1 is vector is empty, 0 otherwise * * if is_null() is false and ref_count() is 0, then * */ template int i_refvec::is_null() const { return (data_ == NULL ? 1 : 0); } /* * returns -1 if data is external, * returns 0 if a is NULL array, * otherwise returns the positive number of vectors sharing * this data space. */ template int i_refvec::ref_count() const { if (data_ == NULL) return 0; else return (ref_count_ != NULL ? *ref_count_ : -1) ; } template i_refvec::~i_refvec() { if (ref_count_ != NULL) { (*ref_count_)--; if (*ref_count_ == 0) destroy(); } } } /* namespace TNT */ #endif /* TNT_I_REFVEC_H */ liblip-2.0.0/include/tnt/jama_lu.h0000644000175000017500000001545310426015340013721 00000000000000#ifndef JAMA_LU_H #define JAMA_LU_H #include "tnt.h" using namespace TNT; namespace JAMA { /** LU Decomposition.

For an m-by-n matrix A with m >= n, the LU decomposition is an m-by-n unit lower triangular matrix L, an n-by-n upper triangular matrix U, and a permutation vector piv of length m so that A(piv,:) = L*U. If m < n, then L is m-by-m and U is m-by-n.

The LU decompostion with pivoting always exists, even if the matrix is singular, so the constructor will never fail. The primary use of the LU decomposition is in the solution of square systems of simultaneous linear equations. This will fail if isNonsingular() returns false. */ template class LU { /* Array for internal storage of decomposition. */ Array2D LU_; int m, n, pivsign; Array1D piv; Array2D permute_copy(const Array2D &A, const Array1D &piv, int j0, int j1) { int piv_length = piv.dim(); Array2D X(piv_length, j1-j0+1); for (int i = 0; i < piv_length; i++) for (int j = j0; j <= j1; j++) X[i][j-j0] = A[piv[i]][j]; return X; } Array1D permute_copy(const Array1D &A, const Array1D &piv) { int piv_length = piv.dim(); if (piv_length != A.dim()) return Array1D(); Array1D x(piv_length); for (int i = 0; i < piv_length; i++) x[i] = A[piv[i]]; return x; } public : /** LU Decomposition @param A Rectangular matrix @return LU Decomposition object to access L, U and piv. */ LU (const Array2D &A) : LU_(A.copy()), m(A.dim1()), n(A.dim2()), piv(A.dim1()) { // Use a "left-looking", dot-product, Crout/Doolittle algorithm. int i=0; int j=0; int k=0; for (i = 0; i < m; i++) { piv[i] = i; } pivsign = 1; Real *LUrowi = 0;; Array1D LUcolj(m); // Outer loop. for (j = 0; j < n; j++) { // Make a copy of the j-th column to localize references. for (i = 0; i < m; i++) { LUcolj[i] = LU_[i][j]; } // Apply previous transformations. for ( i = 0; i < m; i++) { LUrowi = LU_[i]; // Most of the time is spent in the following dot product. int kmax = min(i,j); double s = 0.0; for (k = 0; k < kmax; k++) { s += LUrowi[k]*LUcolj[k]; } LUrowi[j] = LUcolj[i] -= s; } // Find pivot and exchange if necessary. int p = j; for ( i = j+1; i < m; i++) { if (abs(LUcolj[i]) > abs(LUcolj[p])) { p = i; } } if (p != j) { for (k = 0; k < n; k++) { double t = LU_[p][k]; LU_[p][k] = LU_[j][k]; LU_[j][k] = t; } k = piv[p]; piv[p] = piv[j]; piv[j] = k; pivsign = -pivsign; } // Compute multipliers. if ((j < m) && (LU_[j][j] != 0.0)) { for (i = j+1; i < m; i++) { LU_[i][j] /= LU_[j][j]; } } } } /** Is the matrix nonsingular? @return 1 (true) if upper triangular factor U (and hence A) is nonsingular, 0 otherwise. */ int isNonsingular () { for (int j = 0; j < n; j++) { if (LU_[j][j] == 0) return 0; } return 1; } /** Return lower triangular factor @return L */ Array2D getL () { Array2D L_(m,n); for (int i = 0; i < m; i++) { for (int j = 0; j < n; j++) { if (i > j) { L_[i][j] = LU_[i][j]; } else if (i == j) { L_[i][j] = 1.0; } else { L_[i][j] = 0.0; } } } return L_; } /** Return upper triangular factor @return U portion of LU factorization. */ Array2D getU () { Array2D U_(n,n); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if (i <= j) { U_[i][j] = LU_[i][j]; } else { U_[i][j] = 0.0; } } } return U_; } /** Return pivot permutation vector @return piv */ Array1D getPivot () { return p; } /** Compute determinant using LU factors. @return determinant of A, or 0 if A is not square. */ Real det () { if (m != n) { return Real(0); } Real d = Real(pivsign); for (int j = 0; j < n; j++) { d *= LU_[j][j]; } return d; } /** Solve A*X = B @param B A Matrix with as many rows as A and any number of columns. @return X so that L*U*X = B(piv,:), if B is nonconformant, returns 0x0 (null) array. */ Array2D solve (const Array2D &B) { /* Dimensions: A is mxn, X is nxk, B is mxk */ if (B.dim1() != m) { return Array2D(0,0); } if (!isNonsingular()) { return Array2D(0,0); } // Copy right hand side with pivoting int nx = B.dim2(); Array2D X = permute_copy(B, piv, 0, nx-1); // Solve L*Y = B(piv,:) for (int k = 0; k < n; k++) { for (int i = k+1; i < n; i++) { for (int j = 0; j < nx; j++) { X[i][j] -= X[k][j]*LU_[i][k]; } } } // Solve U*X = Y; for (int k = n-1; k >= 0; k--) { for (int j = 0; j < nx; j++) { X[k][j] /= LU_[k][k]; } for (int i = 0; i < k; i++) { for (int j = 0; j < nx; j++) { X[i][j] -= X[k][j]*LU_[i][k]; } } } return X; } /** Solve A*x = b, where x and b are vectors of length equal to the number of rows in A. @param b a vector (Array1D> of length equal to the first dimension of A. @return x a vector (Array1D> so that L*U*x = b(piv), if B is nonconformant, returns 0x0 (null) array. */ Array1D solve (const Array1D &b) { /* Dimensions: A is mxn, X is nxk, B is mxk */ if (b.dim1() != m) { return Array1D(); } if (!isNonsingular()) { return Array1D(); } Array1D x = permute_copy(b, piv); int i,k; // Solve L*Y = B(piv) for ( k = 0; k < n; k++) { for ( i = k+1; i < n; i++) { x[i] -= x[k]*LU_[i][k]; } } // Solve U*X = Y; for ( k = n-1; k >= 0; k--) { x[k] /= LU_[k][k]; for ( i = 0; i < k; i++) x[i] -= x[k]*LU_[i][k]; } return x; } }; /* class LU */ } /* namespace JAMA */ #endif /* JAMA_LU_H */ liblip-2.0.0/include/tnt/tnt_cmat.h0000644000175000017500000002500510426015341014115 00000000000000/* * * Template Numerical Toolkit (TNT) * * Mathematical and Computational Sciences Division * National Institute of Technology, * Gaithersburg, MD USA * * * This software was developed at the National Institute of Standards and * Technology (NIST) by employees of the Federal Government in the course * of their official duties. Pursuant to title 17 Section 105 of the * United States Code, this software is not subject to copyright protection * and is in the public domain. NIST assumes no responsibility whatsoever for * its use by other parties, and makes no guarantees, expressed or implied, * about its quality, reliability, or any other characteristic. * */ // C compatible matrix: row-oriented, 0-based [i][j] and 1-based (i,j) indexing // #ifndef TNT_CMAT_H #define TNT_CMAT_H #include "tnt_subscript.h" #include "tnt_vec.h" #include #include #include #include namespace TNT { template class Matrix { public: typedef Subscript size_type; typedef T value_type; typedef T element_type; typedef T* pointer; typedef T* iterator; typedef T& reference; typedef const T* const_iterator; typedef const T& const_reference; Subscript lbound() const { return 1;} protected: Subscript m_; Subscript n_; Subscript mn_; // total size T* v_; T** row_; T* vm1_ ; // these point to the same data, but are 1-based T** rowm1_; // internal helper function to create the array // of row pointers void initialize(Subscript M, Subscript N) { mn_ = M*N; m_ = M; n_ = N; v_ = new T[mn_]; row_ = new T*[M]; rowm1_ = new T*[M]; assert(v_ != NULL); assert(row_ != NULL); assert(rowm1_ != NULL); T* p = v_; vm1_ = v_ - 1; for (Subscript i=0; i &A) { initialize(A.m_, A.n_); copy(A.v_); } Matrix(Subscript M, Subscript N, const T& value = T()) { initialize(M,N); set(value); } Matrix(Subscript M, Subscript N, const T* v) { initialize(M,N); copy(v); } Matrix(Subscript M, Subscript N, const char *s) { initialize(M,N); //std::istrstream ins(s); std::istringstream ins(s); Subscript i, j; for (i=0; i> row_[i][j]; } // destructor // ~Matrix() { destroy(); } // reallocating // Matrix& newsize(Subscript M, Subscript N) { if (num_rows() == M && num_cols() == N) return *this; destroy(); initialize(M,N); return *this; } // assignments // Matrix& operator=(const Matrix &A) { if (v_ == A.v_) return *this; if (m_ == A.m_ && n_ == A.n_) // no need to re-alloc copy(A.v_); else { destroy(); initialize(A.m_, A.n_); copy(A.v_); } return *this; } Matrix& operator=(const T& scalar) { set(scalar); return *this; } Subscript dim(Subscript d) const { #ifdef TNT_BOUNDS_CHECK assert( d >= 1); assert( d <= 2); #endif return (d==1) ? m_ : ((d==2) ? n_ : 0); } Subscript num_rows() const { return m_; } Subscript num_cols() const { return n_; } inline T* operator[](Subscript i) { #ifdef TNT_BOUNDS_CHECK assert(0<=i); assert(i < m_) ; #endif return row_[i]; } inline const T* operator[](Subscript i) const { #ifdef TNT_BOUNDS_CHECK assert(0<=i); assert(i < m_) ; #endif return row_[i]; } inline reference operator()(Subscript i) { #ifdef TNT_BOUNDS_CHECK assert(1<=i); assert(i <= mn_) ; #endif return vm1_[i]; } inline const_reference operator()(Subscript i) const { #ifdef TNT_BOUNDS_CHECK assert(1<=i); assert(i <= mn_) ; #endif return vm1_[i]; } inline reference operator()(Subscript i, Subscript j) { #ifdef TNT_BOUNDS_CHECK assert(1<=i); assert(i <= m_) ; assert(1<=j); assert(j <= n_); #endif return rowm1_[i][j]; } inline const_reference operator() (Subscript i, Subscript j) const { #ifdef TNT_BOUNDS_CHECK assert(1<=i); assert(i <= m_) ; assert(1<=j); assert(j <= n_); #endif return rowm1_[i][j]; } }; /* *************************** I/O ********************************/ template std::ostream& operator<<(std::ostream &s, const Matrix &A) { Subscript M=A.num_rows(); Subscript N=A.num_cols(); s << M << " " << N << "\n"; for (Subscript i=0; i std::istream& operator>>(std::istream &s, Matrix &A) { Subscript M, N; s >> M >> N; if ( !(M == A.num_rows() && N == A.num_cols() )) { A.newsize(M,N); } for (Subscript i=0; i> A[i][j]; } return s; } // *******************[ basic matrix algorithms ]*************************** template Matrix operator+(const Matrix &A, const Matrix &B) { Subscript M = A.num_rows(); Subscript N = A.num_cols(); assert(M==B.num_rows()); assert(N==B.num_cols()); Matrix tmp(M,N); Subscript i,j; for (i=0; i Matrix operator-(const Matrix &A, const Matrix &B) { Subscript M = A.num_rows(); Subscript N = A.num_cols(); assert(M==B.num_rows()); assert(N==B.num_cols()); Matrix tmp(M,N); Subscript i,j; for (i=0; i Matrix mult_element(const Matrix &A, const Matrix &B) { Subscript M = A.num_rows(); Subscript N = A.num_cols(); assert(M==B.num_rows()); assert(N==B.num_cols()); Matrix tmp(M,N); Subscript i,j; for (i=0; i Matrix transpose(const Matrix &A) { Subscript M = A.num_rows(); Subscript N = A.num_cols(); Matrix S(N,M); Subscript i, j; for (i=0; i inline Matrix matmult(const Matrix &A, const Matrix &B) { #ifdef TNT_BOUNDS_CHECK assert(A.num_cols() == B.num_rows()); #endif Subscript M = A.num_rows(); Subscript N = A.num_cols(); Subscript K = B.num_cols(); Matrix tmp(M,K); T sum; for (Subscript i=0; i inline Matrix operator*(const Matrix &A, const Matrix &B) { return matmult(A,B); } template inline int matmult(Matrix& C, const Matrix &A, const Matrix &B) { assert(A.num_cols() == B.num_rows()); Subscript M = A.num_rows(); Subscript N = A.num_cols(); Subscript K = B.num_cols(); C.newsize(M,K); T sum; const T* row_i; const T* col_k; for (Subscript i=0; i Vector matmult(const Matrix &A, const Vector &x) { #ifdef TNT_BOUNDS_CHECK assert(A.num_cols() == x.dim()); #endif Subscript M = A.num_rows(); Subscript N = A.num_cols(); Vector tmp(M); T sum; for (Subscript i=0; i inline Vector operator*(const Matrix &A, const Vector &x) { return matmult(A,x); } } // namespace TNT #endif // CMAT_H liblip-2.0.0/include/tnt/tnt_math_utils.h0000644000175000017500000000161510426015341015343 00000000000000#ifndef MATH_UTILS_H #define MATH_UTILS_H #include /* needed for sqrt() below */ namespace TNT { /** @returns hypotenuse of real (non-complex) scalars a and b by avoiding underflow/overflow using (a * sqrt( 1 + (b/a) * (b/a))), rather than sqrt(a*a + b*b). */ template Real hypot(const Real &a, const Real &b) { if (a== 0) return abs(b); else { Real c = b/a; return abs(a) * sqrt(1 + c*c); } } /** @returns the minimum of scalars a and b. */ template Scalar min(const Scalar &a, const Scalar &b) { return a < b ? a : b; } /** @returns the maximum of scalars a and b. */ template Scalar max(const Scalar &a, const Scalar &b) { return a > b ? a : b; } /** @returns the absolute value of a real (no-complex) scalar. */ template Real abs(const Real &a) { return (a > 0 ? a : -a); } } #endif /* MATH_UTILS_H */ liblip-2.0.0/include/tnt/jama_qr.h0000644000175000017500000001626410426015340013724 00000000000000#ifndef JAMA_QR_H #define JAMA_QR_H #include "tnt_array1d.h" #include "tnt_array2d.h" #include "tnt_math_utils.h" namespace JAMA { /**

Classical QR Decompisition: for an m-by-n matrix A with m >= n, the QR decomposition is an m-by-n orthogonal matrix Q and an n-by-n upper triangular matrix R so that A = Q*R.

The QR decompostion always exists, even if the matrix does not have full rank, so the constructor will never fail. The primary use of the QR decomposition is in the least squares solution of nonsquare systems of simultaneous linear equations. This will fail if isFullRank() returns 0 (false).

The Q and R factors can be retrived via the getQ() and getR() methods. Furthermore, a solve() method is provided to find the least squares solution of Ax=b using the QR factors.

(Adapted from JAMA, a Java Matrix Library, developed by jointly by the Mathworks and NIST; see http://math.nist.gov/javanumerics/jama). */ template class QR { /** Array for internal storage of decomposition. @serial internal array storage. */ TNT::Array2D QR_; /** Row and column dimensions. @serial column dimension. @serial row dimension. */ int m, n; /** Array for internal storage of diagonal of R. @serial diagonal of R. */ TNT::Array1D Rdiag; public: /** Create a QR factorization object for A. @param A rectangular (m>=n) matrix. */ QR(const TNT::Array2D &A) /* constructor */ { QR_ = A.copy(); m = A.dim1(); n = A.dim2(); Rdiag = TNT::Array1D(n); int i=0, j=0, k=0; // Main loop. for (k = 0; k < n; k++) { // Compute 2-norm of k-th column without under/overflow. Real nrm = 0; for (i = k; i < m; i++) { nrm = hypot(nrm,QR_[i][k]); } if (nrm != 0.0) { // Form k-th Householder vector. if (QR_[k][k] < 0) { nrm = -nrm; } for (i = k; i < m; i++) { QR_[i][k] /= nrm; } QR_[k][k] += 1.0; // Apply transformation to remaining columns. for (j = k+1; j < n; j++) { Real s = 0.0; for (i = k; i < m; i++) { s += QR_[i][k]*QR_[i][j]; } s = -s/QR_[k][k]; for (i = k; i < m; i++) { QR_[i][j] += s*QR_[i][k]; } } } Rdiag[k] = -nrm; } } /** Flag to denote the matrix is of full rank. @return 1 if matrix is full rank, 0 otherwise. */ int isFullRank() const { for (int j = 0; j < n; j++) { if (Rdiag[j] == 0) return 0; } return 1; } /** Retreive the Householder vectors from QR factorization @returns lower trapezoidal matrix whose columns define the reflections */ TNT::Array2D getHouseholder (void) const { TNT::Array2D H(m,n); /* note: H is completely filled in by algorithm, so initializaiton of H is not necessary. */ for (int i = 0; i < m; i++) { for (int j = 0; j < n; j++) { if (i >= j) { H[i][j] = QR_[i][j]; } else { H[i][j] = 0.0; } } } return H; } /** Return the upper triangular factor, R, of the QR factorization @return R */ TNT::Array2D getR() const { TNT::Array2D R(n,n); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if (i < j) { R[i][j] = QR_[i][j]; } else if (i == j) { R[i][j] = Rdiag[i]; } else { R[i][j] = 0.0; } } } return R; } /** Generate and return the (economy-sized) orthogonal factor @param Q the (ecnomy-sized) orthogonal factor (Q*R=A). */ TNT::Array2D getQ() const { int i=0, j=0, k=0; TNT::Array2D Q(m,n); for (k = n-1; k >= 0; k--) { for (i = 0; i < m; i++) { Q[i][k] = 0.0; } Q[k][k] = 1.0; for (j = k; j < n; j++) { if (QR_[k][k] != 0) { Real s = 0.0; for (i = k; i < m; i++) { s += QR_[i][k]*Q[i][j]; } s = -s/QR_[k][k]; for (i = k; i < m; i++) { Q[i][j] += s*QR_[i][k]; } } } } return Q; } /** Least squares solution of A*x = b @param B m-length array (vector). @return x n-length array (vector) that minimizes the two norm of Q*R*X-B. If B is non-conformant, or if QR.isFullRank() is false, the routine returns a null (0-length) vector. */ TNT::Array1D solve(const TNT::Array1D &b) const { if (b.dim1() != m) /* arrays must be conformant */ return TNT::Array1D(); if ( !isFullRank() ) /* matrix is rank deficient */ { return TNT::Array1D(); } TNT::Array1D x = b.copy(); int i=0, j=0, k=0; // Compute Y = transpose(Q)*b for (k = 0; k < n; k++) { Real s = 0.0; for (i = k; i < m; i++) { s += QR_[i][k]*x[i]; } s = -s/QR_[k][k]; for (i = k; i < m; i++) { x[i] += s*QR_[i][k]; } } // Solve R*X = Y; for (k = n-1; k >= 0; k--) { x[k] /= Rdiag[k]; for (i = 0; i < k; i++) { x[i] -= x[k]*QR_[i][k]; } } /* return n x nx portion of X */ TNT::Array1D x_(n); for (i=0; i solve(const TNT::Array2D &B) const { if (B.dim1() != m) /* arrays must be conformant */ return TNT::Array2D(0,0); if ( !isFullRank() ) /* matrix is rank deficient */ { return TNT::Array2D(0,0); } int nx = B.dim2(); TNT::Array2D X = B.copy(); int i=0, j=0, k=0; // Compute Y = transpose(Q)*B for (k = 0; k < n; k++) { for (j = 0; j < nx; j++) { Real s = 0.0; for (i = k; i < m; i++) { s += QR_[i][k]*X[i][j]; } s = -s/QR_[k][k]; for (i = k; i < m; i++) { X[i][j] += s*QR_[i][k]; } } } // Solve R*X = Y; for (k = n-1; k >= 0; k--) { for (j = 0; j < nx; j++) { X[k][j] /= Rdiag[k]; } for (i = 0; i < k; i++) { for (j = 0; j < nx; j++) { X[i][j] -= X[k][j]*QR_[i][k]; } } } /* return n x nx portion of X */ TNT::Array2D X_(n,nx); for (i=0; i #include #ifdef TNT_BOUNDS_CHECK #include #endif #include "tnt_i_refvec.h" namespace TNT { template class Fortran_Array1D { private: i_refvec v_; int n_; T* data_; /* this normally points to v_.begin(), but * could also point to a portion (subvector) * of v_. */ void initialize_(int n); void copy_(T* p, const T* q, int len) const; void set_(T* begin, T* end, const T& val); public: typedef T value_type; Fortran_Array1D(); explicit Fortran_Array1D(int n); Fortran_Array1D(int n, const T &a); Fortran_Array1D(int n, T *a); inline Fortran_Array1D(const Fortran_Array1D &A); inline Fortran_Array1D & operator=(const T &a); inline Fortran_Array1D & operator=(const Fortran_Array1D &A); inline Fortran_Array1D & ref(const Fortran_Array1D &A); Fortran_Array1D copy() const; Fortran_Array1D & inject(const Fortran_Array1D & A); inline T& operator()(int i); inline const T& operator()(int i) const; inline int dim1() const; inline int dim() const; ~Fortran_Array1D(); /* ... extended interface ... */ inline int ref_count() const; inline Fortran_Array1D subarray(int i0, int i1); }; template Fortran_Array1D::Fortran_Array1D() : v_(), n_(0), data_(0) {} template Fortran_Array1D::Fortran_Array1D(const Fortran_Array1D &A) : v_(A.v_), n_(A.n_), data_(A.data_) { #ifdef TNT_DEBUG std::cout << "Created Fortran_Array1D(const Fortran_Array1D &A) \n"; #endif } template Fortran_Array1D::Fortran_Array1D(int n) : v_(n), n_(n), data_(v_.begin()) { #ifdef DEBUG std::cout << "Created Fortran_Array1D(int n) \n"; #endif } template Fortran_Array1D::Fortran_Array1D(int n, const T &val) : v_(n), n_(n), data_(v_.begin()) { #ifdef TNT_DEBUG std::cout << "Created Fortran_Array1D(int n, const T& val) \n"; #endif set_(data_, data_+ n, val); } template Fortran_Array1D::Fortran_Array1D(int n, T *a) : v_(a), n_(n) , data_(v_.begin()) { #ifdef DEBUG std::cout << "Created Fortran_Array1D(int n, T* a) \n"; #endif } template inline T& Fortran_Array1D::operator()(int i) { #ifdef TNT_BOUNDS_CHECK assert(i>= 1); assert(i <= n_); #endif return data_[i-1]; } template inline const T& Fortran_Array1D::operator()(int i) const { #ifdef TNT_BOUNDS_CHECK assert(i>= 1); assert(i <= n_); #endif return data_[i-1]; } template Fortran_Array1D & Fortran_Array1D::operator=(const T &a) { set_(data_, data_+n_, a); return *this; } template Fortran_Array1D Fortran_Array1D::copy() const { Fortran_Array1D A( n_); copy_(A.data_, data_, n_); return A; } template Fortran_Array1D & Fortran_Array1D::inject(const Fortran_Array1D &A) { if (A.n_ == n_) copy_(data_, A.data_, n_); return *this; } template Fortran_Array1D & Fortran_Array1D::ref(const Fortran_Array1D &A) { if (this != &A) { v_ = A.v_; /* operator= handles the reference counting. */ n_ = A.n_; data_ = A.data_; } return *this; } template Fortran_Array1D & Fortran_Array1D::operator=(const Fortran_Array1D &A) { return ref(A); } template inline int Fortran_Array1D::dim1() const { return n_; } template inline int Fortran_Array1D::dim() const { return n_; } template Fortran_Array1D::~Fortran_Array1D() {} /* ............................ exented interface ......................*/ template inline int Fortran_Array1D::ref_count() const { return v_.ref_count(); } template inline Fortran_Array1D Fortran_Array1D::subarray(int i0, int i1) { #ifdef TNT_DEBUG std::cout << "entered subarray. \n"; #endif if ((i0 > 0) && (i1 < n_) || (i0 <= i1)) { Fortran_Array1D X(*this); /* create a new instance of this array. */ X.n_ = i1-i0+1; X.data_ += i0; return X; } else { #ifdef TNT_DEBUG std::cout << "subarray: null return.\n"; #endif return Fortran_Array1D(); } } /* private internal functions */ template void Fortran_Array1D::set_(T* begin, T* end, const T& a) { for (T* p=begin; p void Fortran_Array1D::copy_(T* p, const T* q, int len) const { T *end = p + len; while (p Index values begin at 0.

Storage requirements: An (m x n) matrix with nz nonzeros requires no more than ((T+I)*nz + M*I) bytes, where T is the size of data elements and I is the size of integers. */ template class Sparse_Matrix_CompRow { private: Array1D val_; // data values (nz_ elements) Array1D rowptr_; // row_ptr (dim_[0]+1 elements) Array1D colind_; // col_ind (nz_ elements) int dim1_; // number of rows int dim2_; // number of cols public: Sparse_Matrix_CompRow(const Sparse_Matrix_CompRow &S); Sparse_Matrix_CompRow(int M, int N, int nz, const T *val, const int *r, const int *c); inline const T& val(int i) const { return val_[i]; } inline const int& row_ptr(int i) const { return rowptr_[i]; } inline const int& col_ind(int i) const { return colind_[i];} inline int dim1() const {return dim1_;} inline int dim2() const {return dim2_;} int NumNonzeros() const {return val_.dim1();} Sparse_Matrix_CompRow& operator=( const Sparse_Matrix_CompRow &R); }; /** Construct a read-only view of existing sparse matrix in compressed-row storage format. @param M the number of rows of sparse matrix @param N the number of columns of sparse matrix @param nz the number of nonzeros @param val a contiguous list of nonzero values @param r row-pointers: r[i] denotes the begining position of row i (i.e. the ith row begins at val[row[i]]). @param c column-indices: c[i] denotes the column location of val[i] */ template Sparse_Matrix_CompRow::Sparse_Matrix_CompRow(int M, int N, int nz, const T *val, const int *r, const int *c) : val_(nz,val), rowptr_(M, r), colind_(nz, c), dim1_(M), dim2_(N) {} } // namespace TNT #endif liblip-2.0.0/include/tnt/jama_svd.h0000644000175000017500000003415210426015341014073 00000000000000#ifndef JAMA_SVD_H #define JAMA_SVD_H #include "tnt_array1d.h" #include "tnt_array1d_utils.h" #include "tnt_array2d.h" #include "tnt_array2d_utils.h" #include "tnt_math_utils.h" using namespace TNT; namespace JAMA { /** Singular Value Decomposition.

For an m-by-n matrix A with m >= n, the singular value decomposition is an m-by-n orthogonal matrix U, an n-by-n diagonal matrix S, and an n-by-n orthogonal matrix V so that A = U*S*V'.

The singular values, sigma[k] = S[k][k], are ordered so that sigma[0] >= sigma[1] >= ... >= sigma[n-1].

The singular value decompostion always exists, so the constructor will never fail. The matrix condition number and the effective numerical rank can be computed from this decomposition.

(Adapted from JAMA, a Java Matrix Library, developed by jointly by the Mathworks and NIST; see http://math.nist.gov/javanumerics/jama). */ template class SVD { Array2D U, V; Array1D s; int m, n; public: SVD (const Array2D &Arg) { m = Arg.dim1(); n = Arg.dim2(); int nu = min(m,n); s = Array1D(min(m+1,n)); U = Array2D(m, nu, Real(0)); V = Array2D(n,n); Array1D e(n); Array1D work(m); Array2D A(Arg.copy()); int wantu = 1; /* boolean */ int wantv = 1; /* boolean */ int i=0, j=0, k=0; // Reduce A to bidiagonal form, storing the diagonal elements // in s and the super-diagonal elements in e. int nct = min(m-1,n); int nrt = max(0,min(n-2,m)); for (k = 0; k < max(nct,nrt); k++) { if (k < nct) { // Compute the transformation for the k-th column and // place the k-th diagonal in s[k]. // Compute 2-norm of k-th column without under/overflow. s[k] = 0; for (i = k; i < m; i++) { s[k] = hypot(s[k],A[i][k]); } if (s[k] != 0.0) { if (A[k][k] < 0.0) { s[k] = -s[k]; } for (i = k; i < m; i++) { A[i][k] /= s[k]; } A[k][k] += 1.0; } s[k] = -s[k]; } for (j = k+1; j < n; j++) { if ((k < nct) && (s[k] != 0.0)) { // Apply the transformation. double t = 0; for (i = k; i < m; i++) { t += A[i][k]*A[i][j]; } t = -t/A[k][k]; for (i = k; i < m; i++) { A[i][j] += t*A[i][k]; } } // Place the k-th row of A into e for the // subsequent calculation of the row transformation. e[j] = A[k][j]; } if (wantu & (k < nct)) { // Place the transformation in U for subsequent back // multiplication. for (i = k; i < m; i++) { U[i][k] = A[i][k]; } } if (k < nrt) { // Compute the k-th row transformation and place the // k-th super-diagonal in e[k]. // Compute 2-norm without under/overflow. e[k] = 0; for (i = k+1; i < n; i++) { e[k] = hypot(e[k],e[i]); } if (e[k] != 0.0) { if (e[k+1] < 0.0) { e[k] = -e[k]; } for (i = k+1; i < n; i++) { e[i] /= e[k]; } e[k+1] += 1.0; } e[k] = -e[k]; if ((k+1 < m) & (e[k] != 0.0)) { // Apply the transformation. for (i = k+1; i < m; i++) { work[i] = 0.0; } for (j = k+1; j < n; j++) { for (i = k+1; i < m; i++) { work[i] += e[j]*A[i][j]; } } for (j = k+1; j < n; j++) { double t = -e[j]/e[k+1]; for (i = k+1; i < m; i++) { A[i][j] += t*work[i]; } } } if (wantv) { // Place the transformation in V for subsequent // back multiplication. for (i = k+1; i < n; i++) { V[i][k] = e[i]; } } } } // Set up the final bidiagonal matrix or order p. int p = min(n,m+1); if (nct < n) { s[nct] = A[nct][nct]; } if (m < p) { s[p-1] = 0.0; } if (nrt+1 < p) { e[nrt] = A[nrt][p-1]; } e[p-1] = 0.0; // If required, generate U. if (wantu) { for (j = nct; j < nu; j++) { for (i = 0; i < m; i++) { U[i][j] = 0.0; } U[j][j] = 1.0; } for (k = nct-1; k >= 0; k--) { if (s[k] != 0.0) { for (j = k+1; j < nu; j++) { double t = 0; for (i = k; i < m; i++) { t += U[i][k]*U[i][j]; } t = -t/U[k][k]; for (i = k; i < m; i++) { U[i][j] += t*U[i][k]; } } for (i = k; i < m; i++ ) { U[i][k] = -U[i][k]; } U[k][k] = 1.0 + U[k][k]; for (i = 0; i < k-1; i++) { U[i][k] = 0.0; } } else { for (i = 0; i < m; i++) { U[i][k] = 0.0; } U[k][k] = 1.0; } } } // If required, generate V. if (wantv) { for (k = n-1; k >= 0; k--) { if ((k < nrt) & (e[k] != 0.0)) { for (j = k+1; j < nu; j++) { double t = 0; for (i = k+1; i < n; i++) { t += V[i][k]*V[i][j]; } t = -t/V[k+1][k]; for (i = k+1; i < n; i++) { V[i][j] += t*V[i][k]; } } } for (i = 0; i < n; i++) { V[i][k] = 0.0; } V[k][k] = 1.0; } } // Main iteration loop for the singular values. int pp = p-1; int iter = 0; double eps = pow(2.0,-52.0); while (p > 0) { int k=0; int kase=0; // Here is where a test for too many iterations would go. // This section of the program inspects for // negligible elements in the s and e arrays. On // completion the variables kase and k are set as follows. // kase = 1 if s(p) and e[k-1] are negligible and k

= -1; k--) { if (k == -1) { break; } if (abs(e[k]) <= eps*(abs(s[k]) + abs(s[k+1]))) { e[k] = 0.0; break; } } if (k == p-2) { kase = 4; } else { int ks; for (ks = p-1; ks >= k; ks--) { if (ks == k) { break; } double t = (ks != p ? abs(e[ks]) : 0.) + (ks != k+1 ? abs(e[ks-1]) : 0.); if (abs(s[ks]) <= eps*t) { s[ks] = 0.0; break; } } if (ks == k) { kase = 3; } else if (ks == p-1) { kase = 1; } else { kase = 2; k = ks; } } k++; // Perform the task indicated by kase. switch (kase) { // Deflate negligible s(p). case 1: { double f = e[p-2]; e[p-2] = 0.0; for (j = p-2; j >= k; j--) { double t = hypot(s[j],f); double cs = s[j]/t; double sn = f/t; s[j] = t; if (j != k) { f = -sn*e[j-1]; e[j-1] = cs*e[j-1]; } if (wantv) { for (i = 0; i < n; i++) { t = cs*V[i][j] + sn*V[i][p-1]; V[i][p-1] = -sn*V[i][j] + cs*V[i][p-1]; V[i][j] = t; } } } } break; // Split at negligible s(k). case 2: { double f = e[k-1]; e[k-1] = 0.0; for (j = k; j < p; j++) { double t = hypot(s[j],f); double cs = s[j]/t; double sn = f/t; s[j] = t; f = -sn*e[j]; e[j] = cs*e[j]; if (wantu) { for (i = 0; i < m; i++) { t = cs*U[i][j] + sn*U[i][k-1]; U[i][k-1] = -sn*U[i][j] + cs*U[i][k-1]; U[i][j] = t; } } } } break; // Perform one qr step. case 3: { // Calculate the shift. double scale = max(max(max(max( abs(s[p-1]),abs(s[p-2])),abs(e[p-2])), abs(s[k])),abs(e[k])); double sp = s[p-1]/scale; double spm1 = s[p-2]/scale; double epm1 = e[p-2]/scale; double sk = s[k]/scale; double ek = e[k]/scale; double b = ((spm1 + sp)*(spm1 - sp) + epm1*epm1)/2.0; double c = (sp*epm1)*(sp*epm1); double shift = 0.0; if ((b != 0.0) | (c != 0.0)) { shift = sqrt(b*b + c); if (b < 0.0) { shift = -shift; } shift = c/(b + shift); } double f = (sk + sp)*(sk - sp) + shift; double g = sk*ek; // Chase zeros. for (j = k; j < p-1; j++) { double t = hypot(f,g); double cs = f/t; double sn = g/t; if (j != k) { e[j-1] = t; } f = cs*s[j] + sn*e[j]; e[j] = cs*e[j] - sn*s[j]; g = sn*s[j+1]; s[j+1] = cs*s[j+1]; if (wantv) { for (i = 0; i < n; i++) { t = cs*V[i][j] + sn*V[i][j+1]; V[i][j+1] = -sn*V[i][j] + cs*V[i][j+1]; V[i][j] = t; } } t = hypot(f,g); cs = f/t; sn = g/t; s[j] = t; f = cs*e[j] + sn*s[j+1]; s[j+1] = -sn*e[j] + cs*s[j+1]; g = sn*e[j+1]; e[j+1] = cs*e[j+1]; if (wantu && (j < m-1)) { for (i = 0; i < m; i++) { t = cs*U[i][j] + sn*U[i][j+1]; U[i][j+1] = -sn*U[i][j] + cs*U[i][j+1]; U[i][j] = t; } } } e[p-2] = f; iter = iter + 1; } break; // Convergence. case 4: { // Make the singular values positive. if (s[k] <= 0.0) { s[k] = (s[k] < 0.0 ? -s[k] : 0.0); if (wantv) { for (i = 0; i <= pp; i++) { V[i][k] = -V[i][k]; } } } // Order the singular values. while (k < pp) { if (s[k] >= s[k+1]) { break; } double t = s[k]; s[k] = s[k+1]; s[k+1] = t; if (wantv && (k < n-1)) { for (i = 0; i < n; i++) { t = V[i][k+1]; V[i][k+1] = V[i][k]; V[i][k] = t; } } if (wantu && (k < m-1)) { for (i = 0; i < m; i++) { t = U[i][k+1]; U[i][k+1] = U[i][k]; U[i][k] = t; } } k++; } iter = 0; p--; } break; } } } void getU (Array2D &A) { int minm = min(m+1,n); A = Array2D(m, minm); for (int i=0; i &A) { A = V; } /** Return the one-dimensional array of singular values */ void getSingularValues (Array1D &x) { x = s; } /** Return the diagonal matrix of singular values @return S */ void getS (Array2D &A) { A = Array2D(n,n); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { A[i][j] = 0.0; } A[i][i] = s[i]; } } /** Two norm (max(S)) */ double norm2 () { return s[0]; } /** Two norm of condition number (max(S)/min(S)) */ double cond () { return s[0]/s[min(m,n)-1]; } /** Effective numerical matrix rank @return Number of nonnegligible singular values. */ int rank () { double eps = pow(2.0,-52.0); double tol = max(m,n)*s[0]*eps; int r = 0; for (int i = 0; i < s.dim(); i++) { if (s[i] > tol) { r++; } } return r; } }; } #endif // JAMA_SVD_H liblip-2.0.0/include/tnt/tnt_fortran_array1d_utils.h0000644000175000017500000000765710426015341017524 00000000000000/* * * Template Numerical Toolkit (TNT) * * Mathematical and Computational Sciences Division * National Institute of Technology, * Gaithersburg, MD USA * * * This software was developed at the National Institute of Standards and * Technology (NIST) by employees of the Federal Government in the course * of their official duties. Pursuant to title 17 Section 105 of the * United States Code, this software is not subject to copyright protection * and is in the public domain. NIST assumes no responsibility whatsoever for * its use by other parties, and makes no guarantees, expressed or implied, * about its quality, reliability, or any other characteristic. * */ #ifndef TNT_FORTRAN_ARRAY1D_UTILS_H #define TNT_FORTRAN_ARRAY1D_UTILS_H #include namespace TNT { /** Write an array to a character outstream. Output format is one that can be read back in via the in-stream operator: one integer denoting the array dimension (n), followed by n elements, one per line. */ template std::ostream& operator<<(std::ostream &s, const Fortran_Array1D &A) { int N=A.dim1(); s << N << "\n"; for (int j=1; j<=N; j++) { s << A(j) << "\n"; } s << "\n"; return s; } /** Read an array from a character stream. Input format is one integer, denoting the dimension (n), followed by n whitespace-separated elments. Newlines are ignored

Note: the array being read into references new memory storage. If the intent is to fill an existing conformant array, use cin >> B; A.inject(B) ); instead or read the elements in one-a-time by hand. @param s the charater to read from (typically std::in) @param A the array to read into. */ template std::istream& operator>>(std::istream &s, Fortran_Array1D &A) { int N; s >> N; Fortran_Array1D B(N); for (int i=1; i<=N; i++) s >> B(i); A = B; return s; } template Fortran_Array1D operator+(const Fortran_Array1D &A, const Fortran_Array1D &B) { int n = A.dim1(); if (B.dim1() != n ) return Fortran_Array1D(); else { Fortran_Array1D C(n); for (int i=1; i<=n; i++) { C(i) = A(i) + B(i); } return C; } } template Fortran_Array1D operator-(const Fortran_Array1D &A, const Fortran_Array1D &B) { int n = A.dim1(); if (B.dim1() != n ) return Fortran_Array1D(); else { Fortran_Array1D C(n); for (int i=1; i<=n; i++) { C(i) = A(i) - B(i); } return C; } } template Fortran_Array1D operator*(const Fortran_Array1D &A, const Fortran_Array1D &B) { int n = A.dim1(); if (B.dim1() != n ) return Fortran_Array1D(); else { Fortran_Array1D C(n); for (int i=1; i<=n; i++) { C(i) = A(i) * B(i); } return C; } } template Fortran_Array1D operator/(const Fortran_Array1D &A, const Fortran_Array1D &B) { int n = A.dim1(); if (B.dim1() != n ) return Fortran_Array1D(); else { Fortran_Array1D C(n); for (int i=1; i<=n; i++) { C(i) = A(i) / B(i); } return C; } } template Fortran_Array1D& operator+=(Fortran_Array1D &A, const Fortran_Array1D &B) { int n = A.dim1(); if (B.dim1() == n) { for (int i=1; i<=n; i++) { A(i) += B(i); } } return A; } template Fortran_Array1D& operator-=(Fortran_Array1D &A, const Fortran_Array1D &B) { int n = A.dim1(); if (B.dim1() == n) { for (int i=1; i<=n; i++) { A(i) -= B(i); } } return A; } template Fortran_Array1D& operator*=(Fortran_Array1D &A, const Fortran_Array1D &B) { int n = A.dim1(); if (B.dim1() == n) { for (int i=1; i<=n; i++) { A(i) *= B(i); } } return A; } template Fortran_Array1D& operator/=(Fortran_Array1D &A, const Fortran_Array1D &B) { int n = A.dim1(); if (B.dim1() == n) { for (int i=1; i<=n; i++) { A(i) /= B(i); } } return A; } } // namespace TNT #endif liblip-2.0.0/include/tnt/tnt_stopwatch.h0000644000175000017500000000326110426015341015205 00000000000000/* * * Mathematical and Computational Sciences Division * National Institute of Technology, * Gaithersburg, MD USA * * * This software was developed at the National Institute of Standards and * Technology (NIST) by employees of the Federal Government in the course * of their official duties. Pursuant to title 17 Section 105 of the * United States Code, this software is not subject to copyright protection * and is in the public domain. NIST assumes no responsibility whatsoever for * its use by other parties, and makes no guarantees, expressed or implied, * about its quality, reliability, or any other characteristic. * */ #ifndef STOPWATCH_H #define STOPWATCH_H // for clock() and CLOCKS_PER_SEC #include namespace TNT { inline static double seconds(void) { const double secs_per_tick = 1.0 / CLOCKS_PER_SEC; return ( (double) clock() ) * secs_per_tick; } class Stopwatch { private: int running_; double start_time_; double total_; public: inline Stopwatch(); inline void start(); inline double stop(); inline double read(); inline void resume(); inline int running(); }; inline Stopwatch::Stopwatch() : running_(0), start_time_(0.0), total_(0.0) {} void Stopwatch::start() { running_ = 1; total_ = 0.0; start_time_ = seconds(); } double Stopwatch::stop() { if (running_) { total_ += (seconds() - start_time_); running_ = 0; } return total_; } inline void Stopwatch::resume() { if (!running_) { start_time_ = seconds(); running_ = 1; } } inline double Stopwatch::read() { if (running_) { stop(); resume(); } return total_; } } #endif liblip-2.0.0/include/tnt/tnt_array1d.h0000644000175000017500000001141110426015341014530 00000000000000/* * * Template Numerical Toolkit (TNT) * * Mathematical and Computational Sciences Division * National Institute of Technology, * Gaithersburg, MD USA * * * This software was developed at the National Institute of Standards and * Technology (NIST) by employees of the Federal Government in the course * of their official duties. Pursuant to title 17 Section 105 of the * United States Code, this software is not subject to copyright protection * and is in the public domain. NIST assumes no responsibility whatsoever for * its use by other parties, and makes no guarantees, expressed or implied, * about its quality, reliability, or any other characteristic. * */ #ifndef TNT_ARRAY1D_H #define TNT_ARRAY1D_H #include #include #ifdef TNT_BOUNDS_CHECK #include #endif #include "tnt_i_refvec.h" namespace TNT { template class Array1D { private: /* ... */ i_refvec v_; int n_; T* data_; /* this normally points to v_.begin(), but * could also point to a portion (subvector) * of v_. */ void copy_(T* p, const T* q, int len) const; void set_(T* begin, T* end, const T& val); public: typedef T value_type; Array1D(); explicit Array1D(int n); Array1D(int n, const T &a); Array1D(int n, T *a); inline Array1D(const Array1D &A); inline operator T*(); inline operator const T*(); inline Array1D & operator=(const T &a); inline Array1D & operator=(const Array1D &A); inline Array1D & ref(const Array1D &A); Array1D copy() const; Array1D & inject(const Array1D & A); inline T& operator[](int i); inline const T& operator[](int i) const; inline int dim1() const; inline int dim() const; ~Array1D(); /* ... extended interface ... */ inline int ref_count() const; inline Array1D subarray(int i0, int i1); }; template Array1D::Array1D() : v_(), n_(0), data_(0) {} template Array1D::Array1D(const Array1D &A) : v_(A.v_), n_(A.n_), data_(A.data_) { #ifdef TNT_DEBUG std::cout << "Created Array1D(const Array1D &A) \n"; #endif } template Array1D::Array1D(int n) : v_(n), n_(n), data_(v_.begin()) { #ifdef DEBUG std::cout << "Created Array1D(int n) \n"; #endif } template Array1D::Array1D(int n, const T &val) : v_(n), n_(n), data_(v_.begin()) { #ifdef TNT_DEBUG std::cout << "Created Array1D(int n, const T& val) \n"; #endif set_(data_, data_+ n, val); } template Array1D::Array1D(int n, T *a) : v_(a), n_(n) , data_(v_.begin()) { #ifdef DEBUG std::cout << "Created Array1D(int n, T* a) \n"; #endif } template inline Array1D::operator T*() { return &(v_[0]); } template inline Array1D::operator const T*() { return &(v_[0]); } template inline T& Array1D::operator[](int i) { #ifdef TNT_BOUNDS_CHECK assert(i>= 0); assert(i < n_); #endif return data_[i]; } template inline const T& Array1D::operator[](int i) const { #ifdef TNT_BOUNDS_CHECK assert(i>= 0); assert(i < n_); #endif return data_[i]; } template Array1D & Array1D::operator=(const T &a) { set_(data_, data_+n_, a); return *this; } template Array1D Array1D::copy() const { Array1D A( n_); copy_(A.data_, data_, n_); return A; } template Array1D & Array1D::inject(const Array1D &A) { if (A.n_ == n_) copy_(data_, A.data_, n_); return *this; } template Array1D & Array1D::ref(const Array1D &A) { if (this != &A) { v_ = A.v_; /* operator= handles the reference counting. */ n_ = A.n_; data_ = A.data_; } return *this; } template Array1D & Array1D::operator=(const Array1D &A) { return ref(A); } template inline int Array1D::dim1() const { return n_; } template inline int Array1D::dim() const { return n_; } template Array1D::~Array1D() {} /* ............................ exented interface ......................*/ template inline int Array1D::ref_count() const { return v_.ref_count(); } template inline Array1D Array1D::subarray(int i0, int i1) { if ((i0 > 0) && (i1 < n_) || (i0 <= i1)) { Array1D X(*this); /* create a new instance of this array. */ X.n_ = i1-i0+1; X.data_ += i0; return X; } else { return Array1D(); } } /* private internal functions */ template void Array1D::set_(T* begin, T* end, const T& a) { for (T* p=begin; p void Array1D::copy_(T* p, const T* q, int len) const { T *end = p + len; while (p #include #ifdef TNT_BOUNDS_CHECK #include #endif #include "tnt_i_refvec.h" namespace TNT { template class Fortran_Array2D { private: i_refvec v_; int m_; int n_; T* data_; void initialize_(int n); void copy_(T* p, const T* q, int len); void set_(T* begin, T* end, const T& val); public: typedef T value_type; Fortran_Array2D(); Fortran_Array2D(int m, int n); Fortran_Array2D(int m, int n, T *a); Fortran_Array2D(int m, int n, const T &a); inline Fortran_Array2D(const Fortran_Array2D &A); inline Fortran_Array2D & operator=(const T &a); inline Fortran_Array2D & operator=(const Fortran_Array2D &A); inline Fortran_Array2D & ref(const Fortran_Array2D &A); Fortran_Array2D copy() const; Fortran_Array2D & inject(const Fortran_Array2D & A); inline T& operator()(int i, int j); inline const T& operator()(int i, int j) const ; inline int dim1() const; inline int dim2() const; ~Fortran_Array2D(); /* extended interface */ inline int ref_count() const; }; template Fortran_Array2D::Fortran_Array2D() : v_(), m_(0), n_(0), data_(0) {} template Fortran_Array2D::Fortran_Array2D(const Fortran_Array2D &A) : v_(A.v_), m_(A.m_), n_(A.n_), data_(A.data_) {} template Fortran_Array2D::Fortran_Array2D(int m, int n) : v_(m*n), m_(m), n_(n), data_(v_.begin()) {} template Fortran_Array2D::Fortran_Array2D(int m, int n, const T &val) : v_(m*n), m_(m), n_(n), data_(v_.begin()) { set_(data_, data_+m*n, val); } template Fortran_Array2D::Fortran_Array2D(int m, int n, T *a) : v_(a), m_(m), n_(n), data_(v_.begin()) {} template inline T& Fortran_Array2D::operator()(int i, int j) { #ifdef TNT_BOUNDS_CHECK assert(i >= 1); assert(i <= m_); assert(j >= 1); assert(j <= n_); #endif return v_[ (j-1)*m_ + (i-1) ]; } template inline const T& Fortran_Array2D::operator()(int i, int j) const { #ifdef TNT_BOUNDS_CHECK assert(i >= 1); assert(i <= m_); assert(j >= 1); assert(j <= n_); #endif return v_[ (j-1)*m_ + (i-1) ]; } template Fortran_Array2D & Fortran_Array2D::operator=(const T &a) { set_(data_, data_+m_*n_, a); return *this; } template Fortran_Array2D Fortran_Array2D::copy() const { Fortran_Array2D B(m_,n_); B.inject(*this); return B; } template Fortran_Array2D & Fortran_Array2D::inject(const Fortran_Array2D &A) { if (m_ == A.m_ && n_ == A.n_) copy_(data_, A.data_, m_*n_); return *this; } template Fortran_Array2D & Fortran_Array2D::ref(const Fortran_Array2D &A) { if (this != &A) { v_ = A.v_; m_ = A.m_; n_ = A.n_; data_ = A.data_; } return *this; } template Fortran_Array2D & Fortran_Array2D::operator=(const Fortran_Array2D &A) { return ref(A); } template inline int Fortran_Array2D::dim1() const { return m_; } template inline int Fortran_Array2D::dim2() const { return n_; } template Fortran_Array2D::~Fortran_Array2D() { } template inline int Fortran_Array2D::ref_count() const { return v_.ref_count(); } template void Fortran_Array2D::set_(T* begin, T* end, const T& a) { for (T* p=begin; p void Fortran_Array2D::copy_(T* p, const T* q, int len) { T *end = p + len; while (p #include namespace TNT { template std::ostream& operator<<(std::ostream &s, const Array1D &A) { int N=A.dim1(); #ifdef TNT_DEBUG s << "addr: " << (void *) &A[0] << "\n"; #endif s << N << "\n"; for (int j=0; j std::istream& operator>>(std::istream &s, Array1D &A) { int N; s >> N; Array1D B(N); for (int i=0; i> B[i]; A = B; return s; } template Array1D operator+(const Array1D &A, const Array1D &B) { int n = A.dim1(); if (B.dim1() != n ) return Array1D(); else { Array1D C(n); for (int i=0; i Array1D operator-(const Array1D &A, const Array1D &B) { int n = A.dim1(); if (B.dim1() != n ) return Array1D(); else { Array1D C(n); for (int i=0; i Array1D operator*(const Array1D &A, const Array1D &B) { int n = A.dim1(); if (B.dim1() != n ) return Array1D(); else { Array1D C(n); for (int i=0; i Array1D operator/(const Array1D &A, const Array1D &B) { int n = A.dim1(); if (B.dim1() != n ) return Array1D(); else { Array1D C(n); for (int i=0; i Array1D& operator+=(Array1D &A, const Array1D &B) { int n = A.dim1(); if (B.dim1() == n) { for (int i=0; i Array1D& operator-=(Array1D &A, const Array1D &B) { int n = A.dim1(); if (B.dim1() == n) { for (int i=0; i Array1D& operator*=(Array1D &A, const Array1D &B) { int n = A.dim1(); if (B.dim1() == n) { for (int i=0; i Array1D& operator/=(Array1D &A, const Array1D &B) { int n = A.dim1(); if (B.dim1() == n) { for (int i=0; i namespace TNT { template std::ostream& operator<<(std::ostream &s, const Fortran_Array2D &A) { int M=A.dim1(); int N=A.dim2(); s << M << " " << N << "\n"; for (int i=1; i<=M; i++) { for (int j=1; j<=N; j++) { s << A(i,j) << " "; } s << "\n"; } return s; } template std::istream& operator>>(std::istream &s, Fortran_Array2D &A) { int M, N; s >> M >> N; Fortran_Array2D B(M,N); for (int i=1; i<=M; i++) for (int j=1; j<=N; j++) { s >> B(i,j); } A = B; return s; } template Fortran_Array2D operator+(const Fortran_Array2D &A, const Fortran_Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() != m || B.dim2() != n ) return Fortran_Array2D(); else { Fortran_Array2D C(m,n); for (int i=1; i<=m; i++) { for (int j=1; j<=n; j++) C(i,j) = A(i,j) + B(i,j); } return C; } } template Fortran_Array2D operator-(const Fortran_Array2D &A, const Fortran_Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() != m || B.dim2() != n ) return Fortran_Array2D(); else { Fortran_Array2D C(m,n); for (int i=1; i<=m; i++) { for (int j=1; j<=n; j++) C(i,j) = A(i,j) - B(i,j); } return C; } } template Fortran_Array2D operator*(const Fortran_Array2D &A, const Fortran_Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() != m || B.dim2() != n ) return Fortran_Array2D(); else { Fortran_Array2D C(m,n); for (int i=1; i<=m; i++) { for (int j=1; j<=n; j++) C(i,j) = A(i,j) * B(i,j); } return C; } } template Fortran_Array2D operator/(const Fortran_Array2D &A, const Fortran_Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() != m || B.dim2() != n ) return Fortran_Array2D(); else { Fortran_Array2D C(m,n); for (int i=1; i<=m; i++) { for (int j=1; j<=n; j++) C(i,j) = A(i,j) / B(i,j); } return C; } } template Fortran_Array2D& operator+=(Fortran_Array2D &A, const Fortran_Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() == m || B.dim2() == n ) { for (int i=1; i<=m; i++) { for (int j=1; j<=n; j++) A(i,j) += B(i,j); } } return A; } template Fortran_Array2D& operator-=(Fortran_Array2D &A, const Fortran_Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() == m || B.dim2() == n ) { for (int i=1; i<=m; i++) { for (int j=1; j<=n; j++) A(i,j) -= B(i,j); } } return A; } template Fortran_Array2D& operator*=(Fortran_Array2D &A, const Fortran_Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() == m || B.dim2() == n ) { for (int i=1; i<=m; i++) { for (int j=1; j<=n; j++) A(i,j) *= B(i,j); } } return A; } template Fortran_Array2D& operator/=(Fortran_Array2D &A, const Fortran_Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() == m || B.dim2() == n ) { for (int i=1; i<=m; i++) { for (int j=1; j<=n; j++) A(i,j) /= B(i,j); } } return A; } } // namespace TNT #endif liblip-2.0.0/include/tnt/tnt_vec.h0000644000175000017500000001600710426015341013750 00000000000000/* * * Template Numerical Toolkit (TNT) * * Mathematical and Computational Sciences Division * National Institute of Technology, * Gaithersburg, MD USA * * * This software was developed at the National Institute of Standards and * Technology (NIST) by employees of the Federal Government in the course * of their official duties. Pursuant to title 17 Section 105 of the * United States Code, this software is not subject to copyright protection * and is in the public domain. NIST assumes no responsibility whatsoever for * its use by other parties, and makes no guarantees, expressed or implied, * about its quality, reliability, or any other characteristic. * */ #ifndef TNT_VEC_H #define TNT_VEC_H #include "tnt_subscript.h" #include #include #include #include namespace TNT { /** [Deprecatred] Value-based vector class from pre-1.0 TNT version. Kept here for backward compatiblity, but should use the newer TNT::Array1D classes instead. */ template class Vector { public: typedef Subscript size_type; typedef T value_type; typedef T element_type; typedef T* pointer; typedef T* iterator; typedef T& reference; typedef const T* const_iterator; typedef const T& const_reference; Subscript lbound() const { return 1;} protected: T* v_; T* vm1_; // pointer adjustment for optimzied 1-offset indexing Subscript n_; // internal helper function to create the array // of row pointers void initialize(Subscript N) { // adjust pointers so that they are 1-offset: // v_[] is the internal contiguous array, it is still 0-offset // assert(v_ == NULL); v_ = new T[N]; assert(v_ != NULL); vm1_ = v_-1; n_ = N; } void copy(const T* v) { Subscript N = n_; Subscript i; #ifdef TNT_UNROLL_LOOPS Subscript Nmod4 = N & 3; Subscript N4 = N - Nmod4; for (i=0; i &A) : v_(0), vm1_(0), n_(0) { initialize(A.n_); copy(A.v_); } Vector(Subscript N, const T& value = T()) : v_(0), vm1_(0), n_(0) { initialize(N); set(value); } Vector(Subscript N, const T* v) : v_(0), vm1_(0), n_(0) { initialize(N); copy(v); } Vector(Subscript N, char *s) : v_(0), vm1_(0), n_(0) { initialize(N); std::istringstream ins(s); Subscript i; for (i=0; i> v_[i]; } // methods // Vector& newsize(Subscript N) { if (n_ == N) return *this; destroy(); initialize(N); return *this; } // assignments // Vector& operator=(const Vector &A) { if (v_ == A.v_) return *this; if (n_ == A.n_) // no need to re-alloc copy(A.v_); else { destroy(); initialize(A.n_); copy(A.v_); } return *this; } Vector& operator=(const T& scalar) { set(scalar); return *this; } inline Subscript dim() const { return n_; } inline Subscript size() const { return n_; } inline reference operator()(Subscript i) { #ifdef TNT_BOUNDS_CHECK assert(1<=i); assert(i <= n_) ; #endif return vm1_[i]; } inline const_reference operator() (Subscript i) const { #ifdef TNT_BOUNDS_CHECK assert(1<=i); assert(i <= n_) ; #endif return vm1_[i]; } inline reference operator[](Subscript i) { #ifdef TNT_BOUNDS_CHECK assert(0<=i); assert(i < n_) ; #endif return v_[i]; } inline const_reference operator[](Subscript i) const { #ifdef TNT_BOUNDS_CHECK assert(0<=i); assert(i < n_) ; #endif return v_[i]; } }; /* *************************** I/O ********************************/ template std::ostream& operator<<(std::ostream &s, const Vector &A) { Subscript N=A.dim(); s << N << endl; for (Subscript i=0; i std::istream & operator>>(std::istream &s, Vector &A) { Subscript N; s >> N; if ( !(N == A.size() )) { A.newsize(N); } for (Subscript i=0; i> A[i]; return s; } // *******************[ basic matrix algorithms ]*************************** template Vector operator+(const Vector &A, const Vector &B) { Subscript N = A.dim(); assert(N==B.dim()); Vector tmp(N); Subscript i; for (i=0; i Vector operator-(const Vector &A, const Vector &B) { Subscript N = A.dim(); assert(N==B.dim()); Vector tmp(N); Subscript i; for (i=0; i Vector operator*(const Vector &A, const Vector &B) { Subscript N = A.dim(); assert(N==B.dim()); Vector tmp(N); Subscript i; for (i=0; i T dot_prod(const Vector &A, const Vector &B) { Subscript N = A.dim(); assert(N == B.dim()); Subscript i; T sum = 0; for (i=0; i #include #ifdef TNT_BOUNDS_CHECK #include #endif #include "tnt_array1d.h" namespace TNT { template class Array2D { private: Array1D data_; Array1D v_; int m_; int n_; public: typedef T value_type; Array2D(); Array2D(int m, int n); Array2D(int m, int n, T *a); Array2D(int m, int n, const T &a); inline Array2D(const Array2D &A); inline operator T**(); inline operator const T**(); inline Array2D & operator=(const T &a); inline Array2D & operator=(const Array2D &A); inline Array2D & ref(const Array2D &A); Array2D copy() const; Array2D & inject(const Array2D & A); inline T* operator[](int i); inline const T* operator[](int i) const; inline int dim1() const; inline int dim2() const; ~Array2D(); /* extended interface (not part of the standard) */ inline int ref_count(); inline int ref_count_data(); inline int ref_count_dim1(); Array2D subarray(int i0, int i1, int j0, int j1); }; template Array2D::Array2D() : data_(), v_(), m_(0), n_(0) {} template Array2D::Array2D(const Array2D &A) : data_(A.data_), v_(A.v_), m_(A.m_), n_(A.n_) {} template Array2D::Array2D(int m, int n) : data_(m*n), v_(m), m_(m), n_(n) { if (m>0 && n>0) { T* p = &(data_[0]); for (int i=0; i Array2D::Array2D(int m, int n, const T &val) : data_(m*n), v_(m), m_(m), n_(n) { if (m>0 && n>0) { data_ = val; T* p = &(data_[0]); for (int i=0; i Array2D::Array2D(int m, int n, T *a) : data_(m*n, a), v_(m), m_(m), n_(n) { if (m>0 && n>0) { T* p = &(data_[0]); for (int i=0; i inline T* Array2D::operator[](int i) { #ifdef TNT_BOUNDS_CHECK assert(i >= 0); assert(i < m_); #endif return v_[i]; } template inline const T* Array2D::operator[](int i) const { #ifdef TNT_BOUNDS_CHECK assert(i >= 0); assert(i < m_); #endif return v_[i]; } template Array2D & Array2D::operator=(const T &a) { /* non-optimzied, but will work with subarrays in future verions */ for (int i=0; i Array2D Array2D::copy() const { Array2D A(m_, n_); for (int i=0; i Array2D & Array2D::inject(const Array2D &A) { if (A.m_ == m_ && A.n_ == n_) { for (int i=0; i Array2D & Array2D::ref(const Array2D &A) { if (this != &A) { v_ = A.v_; data_ = A.data_; m_ = A.m_; n_ = A.n_; } return *this; } template Array2D & Array2D::operator=(const Array2D &A) { return ref(A); } template inline int Array2D::dim1() const { return m_; } template inline int Array2D::dim2() const { return n_; } template Array2D::~Array2D() {} template inline Array2D::operator T**() { return &(v_[0]); } template inline Array2D::operator const T**() { return &(v_[0]); } /* ............... extended interface ............... */ /** Create a new view to a subarray defined by the boundaries [i0][i0] and [i1][j1]. The size of the subarray is (i1-i0) by (j1-j0). If either of these lengths are zero or negative, the subarray view is null. */ template Array2D Array2D::subarray(int i0, int i1, int j0, int j1) { Array2D A; int m = i1-i0+1; int n = j1-j0+1; /* if either length is zero or negative, this is an invalide subarray. return a null view. */ if (m<1 || n<1) return A; A.data_ = data_; A.m_ = m; A.n_ = n; A.v_ = Array1D(m); T* p = &(data_[0]) + i0 * n_ + j0; for (int i=0; i inline int Array2D::ref_count() { return ref_count_data(); } template inline int Array2D::ref_count_data() { return data_.ref_count(); } template inline int Array2D::ref_count_dim1() { return v_.ref_count(); } } /* namespace TNT */ #endif /* TNT_ARRAY2D_H */ liblip-2.0.0/include/tnt/tnt_fortran_array3d.h0000644000175000017500000001061110426015341016266 00000000000000/* * * Template Numerical Toolkit (TNT): Three-dimensional Fortran numerical array * * Mathematical and Computational Sciences Division * National Institute of Technology, * Gaithersburg, MD USA * * * This software was developed at the National Institute of Standards and * Technology (NIST) by employees of the Federal Government in the course * of their official duties. Pursuant to title 17 Section 105 of the * United States Code, this software is not subject to copyright protection * and is in the public domain. NIST assumes no responsibility whatsoever for * its use by other parties, and makes no guarantees, expressed or implied, * about its quality, reliability, or any other characteristic. * */ #ifndef TNT_FORTRAN_ARRAY3D_H #define TNT_FORTRAN_ARRAY3D_H #include #include #ifdef TNT_BOUNDS_CHECK #include #endif #include "tnt_i_refvec.h" namespace TNT { template class Fortran_Array3D { private: i_refvec v_; int m_; int n_; int k_; T* data_; public: typedef T value_type; Fortran_Array3D(); Fortran_Array3D(int m, int n, int k); Fortran_Array3D(int m, int n, int k, T *a); Fortran_Array3D(int m, int n, int k, const T &a); inline Fortran_Array3D(const Fortran_Array3D &A); inline Fortran_Array3D & operator=(const T &a); inline Fortran_Array3D & operator=(const Fortran_Array3D &A); inline Fortran_Array3D & ref(const Fortran_Array3D &A); Fortran_Array3D copy() const; Fortran_Array3D & inject(const Fortran_Array3D & A); inline T& operator()(int i, int j, int k); inline const T& operator()(int i, int j, int k) const ; inline int dim1() const; inline int dim2() const; inline int dim3() const; inline int ref_count() const; ~Fortran_Array3D(); }; template Fortran_Array3D::Fortran_Array3D() : v_(), m_(0), n_(0), k_(0), data_(0) {} template Fortran_Array3D::Fortran_Array3D(const Fortran_Array3D &A) : v_(A.v_), m_(A.m_), n_(A.n_), k_(A.k_), data_(A.data_) {} template Fortran_Array3D::Fortran_Array3D(int m, int n, int k) : v_(m*n*k), m_(m), n_(n), k_(k), data_(v_.begin()) {} template Fortran_Array3D::Fortran_Array3D(int m, int n, int k, const T &val) : v_(m*n*k), m_(m), n_(n), k_(k), data_(v_.begin()) { for (T* p = data_; p < data_ + m*n*k; p++) *p = val; } template Fortran_Array3D::Fortran_Array3D(int m, int n, int k, T *a) : v_(a), m_(m), n_(n), k_(k), data_(v_.begin()) {} template inline T& Fortran_Array3D::operator()(int i, int j, int k) { #ifdef TNT_BOUNDS_CHECK assert(i >= 1); assert(i <= m_); assert(j >= 1); assert(j <= n_); assert(k >= 1); assert(k <= k_); #endif return data_[(k-1)*m_*n_ + (j-1) * m_ + i-1]; } template inline const T& Fortran_Array3D::operator()(int i, int j, int k) const { #ifdef TNT_BOUNDS_CHECK assert(i >= 1); assert(i <= m_); assert(j >= 1); assert(j <= n_); assert(k >= 1); assert(k <= k_); #endif return data_[(k-1)*m_*n_ + (j-1) * m_ + i-1]; } template Fortran_Array3D & Fortran_Array3D::operator=(const T &a) { T *end = data_ + m_*n_*k_; for (T *p=data_; p != end; *p++ = a); return *this; } template Fortran_Array3D Fortran_Array3D::copy() const { Fortran_Array3D B(m_, n_, k_); B.inject(*this); return B; } template Fortran_Array3D & Fortran_Array3D::inject(const Fortran_Array3D &A) { if (m_ == A.m_ && n_ == A.n_ && k_ == A.k_) { T *p = data_; T *end = data_ + m_*n_*k_; const T* q = A.data_; for (; p < end; *p++ = *q++); } return *this; } template Fortran_Array3D & Fortran_Array3D::ref(const Fortran_Array3D &A) { if (this != &A) { v_ = A.v_; m_ = A.m_; n_ = A.n_; k_ = A.k_; data_ = A.data_; } return *this; } template Fortran_Array3D & Fortran_Array3D::operator=(const Fortran_Array3D &A) { return ref(A); } template inline int Fortran_Array3D::dim1() const { return m_; } template inline int Fortran_Array3D::dim2() const { return n_; } template inline int Fortran_Array3D::dim3() const { return k_; } template inline int Fortran_Array3D::ref_count() const { return v_.ref_count(); } template Fortran_Array3D::~Fortran_Array3D() { } } /* namespace TNT */ #endif /* TNT_FORTRAN_ARRAY3D_H */ liblip-2.0.0/include/tnt/tnt_version.h0000644000175000017500000000202210426015341014650 00000000000000/* * * Template Numerical Toolkit (TNT) * * Mathematical and Computational Sciences Division * National Institute of Technology, * Gaithersburg, MD USA * * * This software was developed at the National Institute of Standards and * Technology (NIST) by employees of the Federal Government in the course * of their official duties. Pursuant to title 17 Section 105 of the * United States Code, this software is not subject to copyright protection * and is in the public domain. NIST assumes no responsibility whatsoever for * its use by other parties, and makes no guarantees, expressed or implied, * about its quality, reliability, or any other characteristic. * */ #ifndef TNT_VERSION_H #define TNT_VERSION_H //--------------------------------------------------------------------- // current version //--------------------------------------------------------------------- #define TNT_MAJOR_VERSION '1' #define TNT_MINOR_VERSION '2' #define TNT_SUBMINOR_VERSION '1' #define TNT_VERSION_STRING "1.2.1" #endif // TNT_VERSION_H liblip-2.0.0/include/tnt/tnt_array2d_utils.h0000644000175000017500000001100510426015341015750 00000000000000/* * * Template Numerical Toolkit (TNT) * * Mathematical and Computational Sciences Division * National Institute of Technology, * Gaithersburg, MD USA * * * This software was developed at the National Institute of Standards and * Technology (NIST) by employees of the Federal Government in the course * of their official duties. Pursuant to title 17 Section 105 of the * United States Code, this software is not subject to copyright protection * and is in the public domain. NIST assumes no responsibility whatsoever for * its use by other parties, and makes no guarantees, expressed or implied, * about its quality, reliability, or any other characteristic. * */ #ifndef TNT_ARRAY2D_UTILS_H #define TNT_ARRAY2D_UTILS_H #include #include namespace TNT { template std::ostream& operator<<(std::ostream &s, const Array2D &A) { int M=A.dim1(); int N=A.dim2(); s << M << " " << N << "\n"; for (int i=0; i std::istream& operator>>(std::istream &s, Array2D &A) { int M, N; s >> M >> N; Array2D B(M,N); for (int i=0; i> B[i][j]; } A = B; return s; } template Array2D operator+(const Array2D &A, const Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() != m || B.dim2() != n ) return Array2D(); else { Array2D C(m,n); for (int i=0; i Array2D operator-(const Array2D &A, const Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() != m || B.dim2() != n ) return Array2D(); else { Array2D C(m,n); for (int i=0; i Array2D operator*(const Array2D &A, const Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() != m || B.dim2() != n ) return Array2D(); else { Array2D C(m,n); for (int i=0; i Array2D operator/(const Array2D &A, const Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() != m || B.dim2() != n ) return Array2D(); else { Array2D C(m,n); for (int i=0; i Array2D& operator+=(Array2D &A, const Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() == m || B.dim2() == n ) { for (int i=0; i Array2D& operator-=(Array2D &A, const Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() == m || B.dim2() == n ) { for (int i=0; i Array2D& operator*=(Array2D &A, const Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() == m || B.dim2() == n ) { for (int i=0; i Array2D& operator/=(Array2D &A, const Array2D &B) { int m = A.dim1(); int n = A.dim2(); if (B.dim1() == m || B.dim2() == n ) { for (int i=0; i Array2D matmult(const Array2D &A, const Array2D &B) { if (A.dim2() != B.dim1()) return Array2D(); int M = A.dim1(); int N = A.dim2(); int K = B.dim2(); Array2D C(M,K); for (int i=0; i #include namespace TNT { template std::ostream& operator<<(std::ostream &s, const Fortran_Array3D &A) { int M=A.dim1(); int N=A.dim2(); int K=A.dim3(); s << M << " " << N << " " << K << "\n"; for (int i=1; i<=M; i++) { for (int j=1; j<=N; j++) { for (int k=1; k<=K; k++) s << A(i,j,k) << " "; s << "\n"; } s << "\n"; } return s; } template std::istream& operator>>(std::istream &s, Fortran_Array3D &A) { int M, N, K; s >> M >> N >> K; Fortran_Array3D B(M,N,K); for (int i=1; i<=M; i++) for (int j=1; j<=N; j++) for (int k=1; k<=K; k++) s >> B(i,j,k); A = B; return s; } template Fortran_Array3D operator+(const Fortran_Array3D &A, const Fortran_Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() != m || B.dim2() != n || B.dim3() != p ) return Fortran_Array3D(); else { Fortran_Array3D C(m,n,p); for (int i=1; i<=m; i++) for (int j=1; j<=n; j++) for (int k=1; k<=p; k++) C(i,j,k) = A(i,j,k)+ B(i,j,k); return C; } } template Fortran_Array3D operator-(const Fortran_Array3D &A, const Fortran_Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() != m || B.dim2() != n || B.dim3() != p ) return Fortran_Array3D(); else { Fortran_Array3D C(m,n,p); for (int i=1; i<=m; i++) for (int j=1; j<=n; j++) for (int k=1; k<=p; k++) C(i,j,k) = A(i,j,k)- B(i,j,k); return C; } } template Fortran_Array3D operator*(const Fortran_Array3D &A, const Fortran_Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() != m || B.dim2() != n || B.dim3() != p ) return Fortran_Array3D(); else { Fortran_Array3D C(m,n,p); for (int i=1; i<=m; i++) for (int j=1; j<=n; j++) for (int k=1; k<=p; k++) C(i,j,k) = A(i,j,k)* B(i,j,k); return C; } } template Fortran_Array3D operator/(const Fortran_Array3D &A, const Fortran_Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() != m || B.dim2() != n || B.dim3() != p ) return Fortran_Array3D(); else { Fortran_Array3D C(m,n,p); for (int i=1; i<=m; i++) for (int j=1; j<=n; j++) for (int k=1; k<=p; k++) C(i,j,k) = A(i,j,k)/ B(i,j,k); return C; } } template Fortran_Array3D& operator+=(Fortran_Array3D &A, const Fortran_Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() == m && B.dim2() == n && B.dim3() == p ) { for (int i=1; i<=m; i++) for (int j=1; j<=n; j++) for (int k=1; k<=p; k++) A(i,j,k) += B(i,j,k); } return A; } template Fortran_Array3D& operator-=(Fortran_Array3D &A, const Fortran_Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() == m && B.dim2() == n && B.dim3() == p ) { for (int i=1; i<=m; i++) for (int j=1; j<=n; j++) for (int k=1; k<=p; k++) A(i,j,k) -= B(i,j,k); } return A; } template Fortran_Array3D& operator*=(Fortran_Array3D &A, const Fortran_Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() == m && B.dim2() == n && B.dim3() == p ) { for (int i=1; i<=m; i++) for (int j=1; j<=n; j++) for (int k=1; k<=p; k++) A(i,j,k) *= B(i,j,k); } return A; } template Fortran_Array3D& operator/=(Fortran_Array3D &A, const Fortran_Array3D &B) { int m = A.dim1(); int n = A.dim2(); int p = A.dim3(); if (B.dim1() == m && B.dim2() == n && B.dim3() == p ) { for (int i=1; i<=m; i++) for (int j=1; j<=n; j++) for (int k=1; k<=p; k++) A(i,j,k) /= B(i,j,k); } return A; } } // namespace TNT #endif liblip-2.0.0/include/Makefile.am0000644000175000017500000000150210426033676013371 00000000000000nobase_include_HEADERS = tnt/jama_cholesky.h tnt/tnt_array3d.h tnt/tnt.h tnt/jama_eig.h tnt/tnt_array3d_utils.h tnt/tnt_i_refvec.h tnt/jama_lu.h tnt/tnt_cmat.h tnt/tnt_math_utils.h tnt/jama_qr.h tnt/tnt_fortran_array1d.h tnt/tnt_sparse_matrix_csr.h tnt/jama_svd.h tnt/tnt_fortran_array1d_utils.h tnt/tnt_stopwatch.h tnt/tnt_array1d.h tnt/tnt_fortran_array2d.h tnt/tnt_subscript.h tnt/tnt_array1d_utils.h tnt/tnt_fortran_array2d_utils.h tnt/tnt_vec.h tnt/tnt_array2d.h tnt/tnt_fortran_array3d.h tnt/tnt_version.h tnt/tnt_array2d_utils.h tnt/tnt_fortran_array3d_utils.h glpk/glpavl.h glpk/glpinv.h glpk/glpk.h glpk/glplpx.h glpk/glpmip.h glpk/glprng.h glpk/glptsp.h glpk/glpdmp.h glpk/glpios.h glpk/glplib.h glpk/glpluf.h glpk/glpmpl.h glpk/glpspx.h glpk/glpiet.h glpk/glpipm.h glpk/glplpp.h glpk/glpmat.h glpk/glpqmd.h glpk/glpstr.h liblip-2.0.0/include/Makefile.in0000644000175000017500000002771110430540452013402 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in 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. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = include DIST_COMMON = $(nobase_include_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(includedir)" nobase_includeHEADERS_INSTALL = $(install_sh_DATA) HEADERS = $(nobase_include_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBTOOL_DEPS = @LIBTOOL_DEPS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ nobase_include_HEADERS = tnt/jama_cholesky.h tnt/tnt_array3d.h tnt/tnt.h tnt/jama_eig.h tnt/tnt_array3d_utils.h tnt/tnt_i_refvec.h tnt/jama_lu.h tnt/tnt_cmat.h tnt/tnt_math_utils.h tnt/jama_qr.h tnt/tnt_fortran_array1d.h tnt/tnt_sparse_matrix_csr.h tnt/jama_svd.h tnt/tnt_fortran_array1d_utils.h tnt/tnt_stopwatch.h tnt/tnt_array1d.h tnt/tnt_fortran_array2d.h tnt/tnt_subscript.h tnt/tnt_array1d_utils.h tnt/tnt_fortran_array2d_utils.h tnt/tnt_vec.h tnt/tnt_array2d.h tnt/tnt_fortran_array3d.h tnt/tnt_version.h tnt/tnt_array2d_utils.h tnt/tnt_fortran_array3d_utils.h glpk/glpavl.h glpk/glpinv.h glpk/glpk.h glpk/glplpx.h glpk/glpmip.h glpk/glprng.h glpk/glptsp.h glpk/glpdmp.h glpk/glpios.h glpk/glplib.h glpk/glpluf.h glpk/glpmpl.h glpk/glpspx.h glpk/glpiet.h glpk/glpipm.h glpk/glplpp.h glpk/glpmat.h glpk/glpqmd.h glpk/glpstr.h all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu include/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-nobase_includeHEADERS: $(nobase_include_HEADERS) @$(NORMAL_INSTALL) test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)" @$(am__vpath_adj_setup) \ list='$(nobase_include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ $(am__vpath_adj) \ echo " $(nobase_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ $(nobase_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ done uninstall-nobase_includeHEADERS: @$(NORMAL_UNINSTALL) @$(am__vpath_adj_setup) \ list='$(nobase_include_HEADERS)'; for p in $$list; do \ $(am__vpath_adj) \ echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ rm -f "$(DESTDIR)$(includedir)/$$f"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(mkdir_p) $(distdir)/glpk $(distdir)/tnt @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(HEADERS) installdirs: for dir in "$(DESTDIR)$(includedir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-nobase_includeHEADERS install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-nobase_includeHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool ctags distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-nobase_includeHEADERS \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-info-am \ uninstall-nobase_includeHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: