ltoptions.m4 | ltoptions.m4 | |||
---|---|---|---|---|
skipping to change at line 314 | skipping to change at line 314 | |||
dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) | dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) | |||
dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) | dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) | |||
# _LT_WITH_PIC([MODE]) | # _LT_WITH_PIC([MODE]) | |||
# -------------------- | # -------------------- | |||
# implement the --with-pic flag, and support the `pic-only' and `no-pic' | # implement the --with-pic flag, and support the `pic-only' and `no-pic' | |||
# LT_INIT options. | # LT_INIT options. | |||
# MODE is either `yes' or `no'. If omitted, it defaults to `both'. | # MODE is either `yes' or `no'. If omitted, it defaults to `both'. | |||
m4_define([_LT_WITH_PIC], | m4_define([_LT_WITH_PIC], | |||
[AC_ARG_WITH([pic], | [AC_ARG_WITH([pic], | |||
[AS_HELP_STRING([--with-pic], | [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], | |||
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])], | [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], | |||
[pic_mode="$withval"], | [lt_p=${PACKAGE-default} | |||
case $withval in | ||||
yes|no) pic_mode=$withval ;; | ||||
*) | ||||
pic_mode=default | ||||
# Look at the argument we got. We use all the common list separators | ||||
. | ||||
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | ||||
for lt_pkg in $withval; do | ||||
IFS="$lt_save_ifs" | ||||
if test "X$lt_pkg" = "X$lt_p"; then | ||||
pic_mode=yes | ||||
fi | ||||
done | ||||
IFS="$lt_save_ifs" | ||||
;; | ||||
esac], | ||||
[pic_mode=default]) | [pic_mode=default]) | |||
test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) | test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) | |||
_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl | _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl | |||
])# _LT_WITH_PIC | ])# _LT_WITH_PIC | |||
LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) | LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) | |||
LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) | LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 18 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |