• Home
  • Raw
  • Download

Lines Matching +full:hardcode +full:- +full:script

1 # lib-link.m4 serial 4 (gettext-0.12)
2 dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
6 dnl that contains a configuration script generated by Autoconf, under
19 define([Name],[translit([$1],[./-], [___])])
20 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
53 define([Name],[translit([$1],[./-], [___])])
54 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
63 dnl via --without-lib[]Name-prefix, he wants to use it.
104 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
106 rm -f ./conftest.sh
118 [ --disable-rpath do not hardcode runtime library paths],
127 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
135 AC_LIB_ARG_WITH([lib$1-prefix],
136 [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
137 --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
154 dnl $LDFLAGS. Using breadth-first-seach.
162 while test -n "$names_next_round"; do
173 if test -z "$already_handled"; then
177 … uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
179 if test -n "$value"; then
182 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
184 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
198 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
201 if test -f "$additional_libdir/lib$name.la"; then
205 if test -f "$additional_libdir/lib$name.$libext"; then
208 if test -f "$additional_libdir/lib$name.la"; then
218 -L*)
219 dir=`echo "X$x" | sed -e 's/^X-L//'`
220 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
223 if test -f "$dir/lib$name.la"; then
227 if test -f "$dir/lib$name.$libext"; then
230 if test -f "$dir/lib$name.la"; then
244 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
246 dnl Linking with a shared library. We attempt to hardcode its
253 dnl Use an explicit option to hardcode DIR into the resulting
264 if test -z "$haveit"; then
273 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
274 dnl Use an explicit option to hardcode DIR into the resulting
286 if test -z "$haveit"; then
290 dnl Rely on "-L$found_dir".
296 if test "X$x" = "X-L$found_dir"; then
301 if test -z "$haveit"; then
302 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
306 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
315 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
317 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
329 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
336 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
351 if test -n "$GCC"; then
357 if test -z "$haveit"; then
360 if test "X$x" = "X-I$additional_includedir"; then
365 if test -z "$haveit"; then
366 if test -d "$additional_includedir"; then
368 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
375 if test -n "$found_la"; then
388 -L*)
389 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
400 if test -n "$GCC"; then
406 if test -z "$haveit"; then
410 if test "X$x" = "X-L$additional_libdir"; then
415 if test -z "$haveit"; then
416 if test -d "$additional_libdir"; then
418 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
424 if test "X$x" = "X-L$additional_libdir"; then
429 if test -z "$haveit"; then
430 if test -d "$additional_libdir"; then
432 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
438 -R*)
439 dir=`echo "X$dep" | sed -e 's/^X-R//'`
450 if test -z "$haveit"; then
462 if test -z "$haveit"; then
467 -l*)
469 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
473 dnl directory; it is already contained in a preceding -L
475 …names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,…
490 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
491 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
498 if test -n "$hardcode_libdir_separator"; then
499 dnl Weird platform: only the last -rpath option counts, the user must
513 dnl The -rpath options are cumulative.
525 dnl executables is -R. The -R options are cumulative.
527 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
547 if test -z "$haveit"; then