1214571Sdim#! /bin/sh 2214571Sdim# Output a system dependent set of variables, describing how to set the 3214571Sdim# run time search path of shared libraries in an executable. 4214571Sdim# 5214571Sdim# Copyright 1996-2003 Free Software Foundation, Inc. 6214571Sdim# Taken from GNU libtool, 2001 7214571Sdim# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 8214571Sdim# 9214571Sdim# This program is free software; you can redistribute it and/or modify 10214571Sdim# it under the terms of the GNU General Public License as published by 11214571Sdim# the Free Software Foundation; either version 2 of the License, or 12214571Sdim# (at your option) any later version. 13214571Sdim# 14214571Sdim# This program is distributed in the hope that it will be useful, but 15214571Sdim# WITHOUT ANY WARRANTY; without even the implied warranty of 16214571Sdim# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17214571Sdim# General Public License for more details. 18214571Sdim# 19214571Sdim# You should have received a copy of the GNU General Public License 20214571Sdim# along with this program; if not, write to the Free Software 21214571Sdim# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 22214571Sdim# 23214571Sdim# As a special exception to the GNU General Public License, if you 24214571Sdim# distribute this file as part of a program that contains a 25214571Sdim# configuration script generated by Autoconf, you may include it under 26214571Sdim# the same distribution terms that you use for the rest of that program. 27214571Sdim# 28214571Sdim# The first argument passed to this file is the canonical host specification, 29214571Sdim# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 30214571Sdim# or 31214571Sdim# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 32214571Sdim# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld 33214571Sdim# should be set by the caller. 34214571Sdim# 35214571Sdim# The set of defined variables is at the end of this script. 36214571Sdim 37214571Sdim# Known limitations: 38214571Sdim# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer 39214571Sdim# than 256 bytes, otherwise the compiler driver will dump core. The only 40214571Sdim# known workaround is to choose shorter directory names for the build 41214571Sdim# directory and/or the installation directory. 42214571Sdim 43214571Sdim# All known linkers require a `.a' archive for static linking (except M$VC, 44214571Sdim# which needs '.lib'). 45214571Sdimlibext=a 46214571Sdimshrext=.so 47214571Sdim 48214571Sdimhost="$1" 49214571Sdimhost_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 50214571Sdimhost_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 51214571Sdimhost_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 52214571Sdim 53214571Sdim# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. 54214571Sdim 55214571Sdimwl= 56214571Sdimif test "$GCC" = yes; then 57214571Sdim wl='-Wl,' 58214571Sdimelse 59214571Sdim case "$host_os" in 60214571Sdim aix*) 61214571Sdim wl='-Wl,' 62214571Sdim ;; 63214571Sdim mingw* | pw32* | os2*) 64214571Sdim ;; 65214571Sdim hpux9* | hpux10* | hpux11*) 66214571Sdim wl='-Wl,' 67214571Sdim ;; 68214571Sdim irix5* | irix6* | nonstopux*) 69214571Sdim wl='-Wl,' 70214571Sdim ;; 71214571Sdim newsos6) 72214571Sdim ;; 73214571Sdim linux*) 74214571Sdim case $CC in 75214571Sdim icc|ecc) 76214571Sdim wl='-Wl,' 77214571Sdim ;; 78214571Sdim ccc) 79214571Sdim wl='-Wl,' 80214571Sdim ;; 81214571Sdim esac 82214571Sdim ;; 83214571Sdim osf3* | osf4* | osf5*) 84214571Sdim wl='-Wl,' 85214571Sdim ;; 86214571Sdim sco3.2v5*) 87214571Sdim ;; 88214571Sdim solaris*) 89214571Sdim wl='-Wl,' 90214571Sdim ;; 91214571Sdim sunos4*) 92214571Sdim wl='-Qoption ld ' 93214571Sdim ;; 94214571Sdim sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 95214571Sdim wl='-Wl,' 96214571Sdim ;; 97214571Sdim sysv4*MP*) 98214571Sdim ;; 99214571Sdim uts4*) 100214571Sdim ;; 101214571Sdim esac 102214571Sdimfi 103214571Sdim 104214571Sdim# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. 105214571Sdim 106214571Sdimhardcode_libdir_flag_spec= 107214571Sdimhardcode_libdir_separator= 108214571Sdimhardcode_direct=no 109214571Sdimhardcode_minus_L=no 110214571Sdim 111214571Sdimcase "$host_os" in 112214571Sdim cygwin* | mingw* | pw32*) 113214571Sdim # FIXME: the MSVC++ port hasn't been tested in a loooong time 114214571Sdim # When not using gcc, we currently assume that we are using 115214571Sdim # Microsoft Visual C++. 116214571Sdim if test "$GCC" != yes; then 117214571Sdim with_gnu_ld=no 118214571Sdim fi 119214571Sdim ;; 120214571Sdim openbsd*) 121214571Sdim with_gnu_ld=no 122214571Sdim ;; 123214571Sdimesac 124214571Sdim 125214571Sdimld_shlibs=yes 126214571Sdimif test "$with_gnu_ld" = yes; then 127214571Sdim case "$host_os" in 128214571Sdim aix3* | aix4* | aix5*) 129214571Sdim # On AIX/PPC, the GNU linker is very broken 130214571Sdim if test "$host_cpu" != ia64; then 131214571Sdim ld_shlibs=no 132214571Sdim fi 133214571Sdim ;; 134214571Sdim amigaos*) 135214571Sdim hardcode_libdir_flag_spec='-L$libdir' 136214571Sdim hardcode_minus_L=yes 137214571Sdim # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 138214571Sdim # that the semantics of dynamic libraries on AmigaOS, at least up 139214571Sdim # to version 4, is to share data among multiple programs linked 140214571Sdim # with the same dynamic library. Since this doesn't match the 141214571Sdim # behavior of shared libraries on other platforms, we can use 142214571Sdim # them. 143214571Sdim ld_shlibs=no 144214571Sdim ;; 145214571Sdim beos*) 146214571Sdim if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 147214571Sdim : 148214571Sdim else 149214571Sdim ld_shlibs=no 150214571Sdim fi 151214571Sdim ;; 152214571Sdim cygwin* | mingw* | pw32*) 153214571Sdim # hardcode_libdir_flag_spec is actually meaningless, as there is 154214571Sdim # no search path for DLLs. 155214571Sdim hardcode_libdir_flag_spec='-L$libdir' 156214571Sdim if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 157214571Sdim : 158214571Sdim else 159214571Sdim ld_shlibs=no 160214571Sdim fi 161214571Sdim ;; 162214571Sdim netbsd*) 163214571Sdim ;; 164214571Sdim solaris* | sysv5*) 165214571Sdim if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then 166214571Sdim ld_shlibs=no 167214571Sdim elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 168214571Sdim : 169214571Sdim else 170214571Sdim ld_shlibs=no 171214571Sdim fi 172214571Sdim ;; 173214571Sdim sunos4*) 174214571Sdim hardcode_direct=yes 175214571Sdim ;; 176214571Sdim *) 177214571Sdim if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 178214571Sdim : 179214571Sdim else 180214571Sdim ld_shlibs=no 181214571Sdim fi 182214571Sdim ;; 183214571Sdim esac 184214571Sdim if test "$ld_shlibs" = yes; then 185214571Sdim # Unlike libtool, we use -rpath here, not --rpath, since the documented 186214571Sdim # option of GNU ld is called -rpath, not --rpath. 187214571Sdim hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 188214571Sdim fi 189214571Sdimelse 190214571Sdim case "$host_os" in 191214571Sdim aix3*) 192214571Sdim # Note: this linker hardcodes the directories in LIBPATH if there 193214571Sdim # are no directories specified by -L. 194214571Sdim hardcode_minus_L=yes 195214571Sdim if test "$GCC" = yes; then 196214571Sdim # Neither direct hardcoding nor static linking is supported with a 197214571Sdim # broken collect2. 198214571Sdim hardcode_direct=unsupported 199214571Sdim fi 200214571Sdim ;; 201214571Sdim aix4* | aix5*) 202214571Sdim if test "$host_cpu" = ia64; then 203214571Sdim # On IA64, the linker does run time linking by default, so we don't 204214571Sdim # have to do anything special. 205214571Sdim aix_use_runtimelinking=no 206214571Sdim else 207214571Sdim aix_use_runtimelinking=no 208214571Sdim # Test if we are trying to use run time linking or normal 209214571Sdim # AIX style linking. If -brtl is somewhere in LDFLAGS, we 210214571Sdim # need to do runtime linking. 211214571Sdim case $host_os in aix4.[23]|aix4.[23].*|aix5*) 212214571Sdim for ld_flag in $LDFLAGS; do 213214571Sdim if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 214214571Sdim aix_use_runtimelinking=yes 215214571Sdim break 216214571Sdim fi 217214571Sdim done 218214571Sdim esac 219214571Sdim fi 220214571Sdim hardcode_direct=yes 221214571Sdim hardcode_libdir_separator=':' 222214571Sdim if test "$GCC" = yes; then 223214571Sdim case $host_os in aix4.[012]|aix4.[012].*) 224214571Sdim collect2name=`${CC} -print-prog-name=collect2` 225214571Sdim if test -f "$collect2name" && \ 226214571Sdim strings "$collect2name" | grep resolve_lib_name >/dev/null 227214571Sdim then 228214571Sdim # We have reworked collect2 229214571Sdim hardcode_direct=yes 230214571Sdim else 231214571Sdim # We have old collect2 232214571Sdim hardcode_direct=unsupported 233214571Sdim hardcode_minus_L=yes 234214571Sdim hardcode_libdir_flag_spec='-L$libdir' 235214571Sdim hardcode_libdir_separator= 236214571Sdim fi 237214571Sdim esac 238214571Sdim fi 239214571Sdim # Begin _LT_AC_SYS_LIBPATH_AIX. 240214571Sdim echo 'int main () { return 0; }' > conftest.c 241214571Sdim ${CC} ${LDFLAGS} conftest.c -o conftest 242214571Sdim aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 243214571Sdim}'` 244214571Sdim if test -z "$aix_libpath"; then 245214571Sdim aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 246214571Sdim}'` 247214571Sdim fi 248214571Sdim if test -z "$aix_libpath"; then 249214571Sdim aix_libpath="/usr/lib:/lib" 250214571Sdim fi 251214571Sdim rm -f conftest.c conftest 252214571Sdim # End _LT_AC_SYS_LIBPATH_AIX. 253214571Sdim if test "$aix_use_runtimelinking" = yes; then 254214571Sdim hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 255214571Sdim else 256214571Sdim if test "$host_cpu" = ia64; then 257214571Sdim hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 258214571Sdim else 259214571Sdim hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 260214571Sdim fi 261214571Sdim fi 262214571Sdim ;; 263214571Sdim amigaos*) 264214571Sdim hardcode_libdir_flag_spec='-L$libdir' 265214571Sdim hardcode_minus_L=yes 266214571Sdim # see comment about different semantics on the GNU ld section 267214571Sdim ld_shlibs=no 268214571Sdim ;; 269214571Sdim bsdi4*) 270214571Sdim ;; 271214571Sdim cygwin* | mingw* | pw32*) 272214571Sdim # When not using gcc, we currently assume that we are using 273214571Sdim # Microsoft Visual C++. 274214571Sdim # hardcode_libdir_flag_spec is actually meaningless, as there is 275214571Sdim # no search path for DLLs. 276214571Sdim hardcode_libdir_flag_spec=' ' 277214571Sdim libext=lib 278214571Sdim ;; 279214571Sdim darwin* | rhapsody*) 280214571Sdim if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 281214571Sdim hardcode_direct=no 282214571Sdim fi 283214571Sdim ;; 284214571Sdim dgux*) 285214571Sdim hardcode_libdir_flag_spec='-L$libdir' 286214571Sdim ;; 287214571Sdim freebsd1*) 288214571Sdim ld_shlibs=no 289214571Sdim ;; 290214571Sdim freebsd2.2*) 291214571Sdim hardcode_libdir_flag_spec='-R$libdir' 292214571Sdim hardcode_direct=yes 293214571Sdim ;; 294214571Sdim freebsd2*) 295214571Sdim hardcode_direct=yes 296214571Sdim hardcode_minus_L=yes 297214571Sdim ;; 298214571Sdim freebsd*) 299214571Sdim hardcode_libdir_flag_spec='-R$libdir' 300214571Sdim hardcode_direct=yes 301214571Sdim ;; 302214571Sdim hpux9*) 303214571Sdim hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 304214571Sdim hardcode_libdir_separator=: 305214571Sdim hardcode_direct=yes 306214571Sdim # hardcode_minus_L: Not really in the search PATH, 307214571Sdim # but as the default location of the library. 308214571Sdim hardcode_minus_L=yes 309214571Sdim ;; 310214571Sdim hpux10* | hpux11*) 311214571Sdim if test "$with_gnu_ld" = no; then 312214571Sdim case "$host_cpu" in 313214571Sdim hppa*64*) 314214571Sdim hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 315214571Sdim hardcode_libdir_separator=: 316214571Sdim hardcode_direct=no 317214571Sdim ;; 318214571Sdim ia64*) 319214571Sdim hardcode_libdir_flag_spec='-L$libdir' 320214571Sdim hardcode_direct=no 321214571Sdim # hardcode_minus_L: Not really in the search PATH, 322214571Sdim # but as the default location of the library. 323214571Sdim hardcode_minus_L=yes 324214571Sdim ;; 325214571Sdim *) 326214571Sdim hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 327214571Sdim hardcode_libdir_separator=: 328214571Sdim hardcode_direct=yes 329214571Sdim # hardcode_minus_L: Not really in the search PATH, 330214571Sdim # but as the default location of the library. 331214571Sdim hardcode_minus_L=yes 332214571Sdim ;; 333214571Sdim esac 334214571Sdim fi 335214571Sdim ;; 336214571Sdim irix5* | irix6* | nonstopux*) 337214571Sdim hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 338214571Sdim hardcode_libdir_separator=: 339214571Sdim ;; 340214571Sdim netbsd*) 341214571Sdim hardcode_libdir_flag_spec='-R$libdir' 342214571Sdim hardcode_direct=yes 343214571Sdim ;; 344214571Sdim newsos6) 345214571Sdim hardcode_direct=yes 346214571Sdim hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 347214571Sdim hardcode_libdir_separator=: 348214571Sdim ;; 349214571Sdim openbsd*) 350214571Sdim hardcode_direct=yes 351214571Sdim if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 352214571Sdim hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 353214571Sdim else 354214571Sdim case "$host_os" in 355214571Sdim openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 356214571Sdim hardcode_libdir_flag_spec='-R$libdir' 357214571Sdim ;; 358214571Sdim *) 359214571Sdim hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 360214571Sdim ;; 361214571Sdim esac 362214571Sdim fi 363214571Sdim ;; 364214571Sdim os2*) 365214571Sdim hardcode_libdir_flag_spec='-L$libdir' 366214571Sdim hardcode_minus_L=yes 367214571Sdim ;; 368214571Sdim osf3*) 369214571Sdim hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 370214571Sdim hardcode_libdir_separator=: 371214571Sdim ;; 372214571Sdim osf4* | osf5*) 373214571Sdim if test "$GCC" = yes; then 374214571Sdim hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 375214571Sdim else 376214571Sdim # Both cc and cxx compiler support -rpath directly 377214571Sdim hardcode_libdir_flag_spec='-rpath $libdir' 378214571Sdim fi 379214571Sdim hardcode_libdir_separator=: 380214571Sdim ;; 381214571Sdim sco3.2v5*) 382214571Sdim ;; 383214571Sdim solaris*) 384214571Sdim hardcode_libdir_flag_spec='-R$libdir' 385214571Sdim ;; 386214571Sdim sunos4*) 387214571Sdim hardcode_libdir_flag_spec='-L$libdir' 388214571Sdim hardcode_direct=yes 389214571Sdim hardcode_minus_L=yes 390214571Sdim ;; 391214571Sdim sysv4) 392214571Sdim case $host_vendor in 393214571Sdim sni) 394214571Sdim hardcode_direct=yes # is this really true??? 395214571Sdim ;; 396214571Sdim siemens) 397214571Sdim hardcode_direct=no 398214571Sdim ;; 399214571Sdim motorola) 400214571Sdim hardcode_direct=no #Motorola manual says yes, but my tests say they lie 401214571Sdim ;; 402214571Sdim esac 403214571Sdim ;; 404214571Sdim sysv4.3*) 405214571Sdim ;; 406214571Sdim sysv4*MP*) 407214571Sdim if test -d /usr/nec; then 408214571Sdim ld_shlibs=yes 409214571Sdim fi 410214571Sdim ;; 411214571Sdim sysv4.2uw2*) 412214571Sdim hardcode_direct=yes 413214571Sdim hardcode_minus_L=no 414214571Sdim ;; 415214571Sdim sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) 416214571Sdim ;; 417214571Sdim sysv5*) 418214571Sdim hardcode_libdir_flag_spec= 419214571Sdim ;; 420214571Sdim uts4*) 421214571Sdim hardcode_libdir_flag_spec='-L$libdir' 422214571Sdim ;; 423214571Sdim *) 424214571Sdim ld_shlibs=no 425214571Sdim ;; 426214571Sdim esac 427214571Sdimfi 428214571Sdim 429214571Sdim# Check dynamic linker characteristics 430214571Sdim# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. 431214571Sdimlibname_spec='lib$name' 432214571Sdimcase "$host_os" in 433214571Sdim aix3*) 434214571Sdim ;; 435214571Sdim aix4* | aix5*) 436214571Sdim ;; 437214571Sdim amigaos*) 438214571Sdim ;; 439214571Sdim beos*) 440214571Sdim ;; 441214571Sdim bsdi4*) 442214571Sdim ;; 443214571Sdim cygwin* | mingw* | pw32*) 444214571Sdim shrext=.dll 445214571Sdim ;; 446214571Sdim darwin* | rhapsody*) 447214571Sdim shrext=.dylib 448214571Sdim ;; 449214571Sdim dgux*) 450214571Sdim ;; 451214571Sdim freebsd1*) 452214571Sdim ;; 453214571Sdim freebsd*) 454214571Sdim ;; 455214571Sdim gnu*) 456214571Sdim ;; 457214571Sdim hpux9* | hpux10* | hpux11*) 458214571Sdim case "$host_cpu" in 459214571Sdim ia64*) 460214571Sdim shrext=.so 461214571Sdim ;; 462214571Sdim hppa*64*) 463214571Sdim shrext=.sl 464214571Sdim ;; 465214571Sdim *) 466214571Sdim shrext=.sl 467214571Sdim ;; 468214571Sdim esac 469214571Sdim ;; 470214571Sdim irix5* | irix6* | nonstopux*) 471214571Sdim case "$host_os" in 472214571Sdim irix5* | nonstopux*) 473214571Sdim libsuff= shlibsuff= 474214571Sdim ;; 475214571Sdim *) 476214571Sdim case $LD in 477214571Sdim *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; 478214571Sdim *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; 479214571Sdim *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; 480214571Sdim *) libsuff= shlibsuff= ;; 481214571Sdim esac 482214571Sdim ;; 483214571Sdim esac 484214571Sdim ;; 485214571Sdim linux*oldld* | linux*aout* | linux*coff*) 486214571Sdim ;; 487214571Sdim linux*) 488214571Sdim ;; 489214571Sdim netbsd*) 490214571Sdim ;; 491214571Sdim newsos6) 492214571Sdim ;; 493214571Sdim nto-qnx) 494214571Sdim ;; 495214571Sdim openbsd*) 496214571Sdim ;; 497214571Sdim os2*) 498214571Sdim libname_spec='$name' 499214571Sdim shrext=.dll 500214571Sdim ;; 501214571Sdim osf3* | osf4* | osf5*) 502214571Sdim ;; 503214571Sdim sco3.2v5*) 504214571Sdim ;; 505214571Sdim solaris*) 506214571Sdim ;; 507214571Sdim sunos4*) 508214571Sdim ;; 509214571Sdim sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 510214571Sdim ;; 511214571Sdim sysv4*MP*) 512214571Sdim ;; 513214571Sdim uts4*) 514214571Sdim ;; 515214571Sdimesac 516214571Sdim 517214571Sdimsed_quote_subst='s/\(["`$\\]\)/\\\1/g' 518214571Sdimescaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` 519214571Sdimshlibext=`echo "$shrext" | sed -e 's,^\.,,'` 520214571Sdimescaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` 521214571Sdim 522214571Sdimsed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF 523214571Sdim 524214571Sdim# How to pass a linker flag through the compiler. 525214571Sdimwl="$escaped_wl" 526214571Sdim 527214571Sdim# Static library suffix (normally "a"). 528214571Sdimlibext="$libext" 529214571Sdim 530214571Sdim# Shared library suffix (normally "so"). 531214571Sdimshlibext="$shlibext" 532214571Sdim 533214571Sdim# Flag to hardcode \$libdir into a binary during linking. 534214571Sdim# This must work even if \$libdir does not exist. 535214571Sdimhardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec" 536214571Sdim 537214571Sdim# Whether we need a single -rpath flag with a separated argument. 538214571Sdimhardcode_libdir_separator="$hardcode_libdir_separator" 539214571Sdim 540214571Sdim# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the 541214571Sdim# resulting binary. 542214571Sdimhardcode_direct="$hardcode_direct" 543214571Sdim 544214571Sdim# Set to yes if using the -LDIR flag during linking hardcodes DIR into the 545214571Sdim# resulting binary. 546214571Sdimhardcode_minus_L="$hardcode_minus_L" 547214571Sdim 548214571SdimEOF 549