configure
changeset 9638 a30b6998c1d8
parent 9626 44e4400c1044
child 9657 fbc01731d914
equal deleted inserted replaced
9637:adf81fe554b9 9638:a30b6998c1d8
  9910   *)
  9910   *)
  9911     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  9911     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  9912     ;;
  9912     ;;
  9913   esac
  9913   esac
  9914   # Ok, now we have the path, separated by spaces, we can step through it
  9914   # Ok, now we have the path, separated by spaces, we can step through it
  9915   # and add multilib dir if necessary.
  9915   # and add multilib dir if necessary...
  9916   lt_tmp_lt_search_path_spec=
  9916   lt_tmp_lt_search_path_spec=
  9917   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9917   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
       
  9918   # ...but if some path already ends with the multilib dir we assume
       
  9919   # that all is fine and trust -print-search-dirs as is (GCC 4.2 or newer).
       
  9920   case "$lt_multi_os_dir; $lt_search_path_spec " in
       
  9921   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
       
  9922     lt_multi_os_dir=
       
  9923     ;;
       
  9924   esac
  9918   for lt_sys_path in $lt_search_path_spec; do
  9925   for lt_sys_path in $lt_search_path_spec; do
  9919     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  9926     if test -d "$lt_sys_path$lt_multi_os_dir"; then
  9920       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  9927       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  9921     else
  9928     elif test -n "$lt_multi_os_dir"; then
  9922       test -d "$lt_sys_path" && \
  9929       test -d "$lt_sys_path" && \
  9923 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9930 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9924     fi
  9931     fi
  9925   done
  9932   done
  9926   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  9933   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '