comparison configure @ 5676:dede3f658f8e

Sanity check package roots in configure.
author Stephen J. Turnbull <stephen@xemacs.org>
date Sat, 04 Aug 2012 23:26:26 +0900
parents bc51e191aaea
children ede80ef92a74
comparison
equal deleted inserted replaced
5675:4e54445e0c7d 5676:dede3f658f8e
21154 case "$ld_switch_site" in 21154 case "$ld_switch_site" in
21155 *nocombreloc*) echo " Linking with \`-z nocombreloc'. 21155 *nocombreloc*) echo " Linking with \`-z nocombreloc'.
21156 - Consider configuring with --with-pdump." ;; 21156 - Consider configuring with --with-pdump." ;;
21157 esac 21157 esac
21158 21158
21159
21160 echo "
21161 Package Search (a 'root' contains '{xemacs,mule,site}-packages'):"
21162
21163 if test -n "$with_early_packages"; then
21164 case "$with_early_packages" in *:* ) case "$opsys" in *cygwin* )
21165 echo " WARNING: Paths containing spaces will be misinterpreted." ;;
21166 esac
21167 with_early_packages="`echo '' $with_early_packages | sed -e 's/^ //' -e 's/:/ /g'`";; esac
21168 echo " User package roots: $with_early_packages"
21169 else
21170 echo " User package roots: ~/.xemacs"
21171 fi
21172
21173 with_late_packages_expanded=$with_late_packages
21174 while true; do
21175 case "$with_late_packages_expanded" in
21176 *\$* ) eval "with_late_packages_expanded=$with_late_packages_expanded" ;;
21177 *) break ;;
21178 esac
21179 done
21180 case "$with_late_packages_expanded" in *:* ) case "$opsys" in *cygwin* )
21181 echo " WARNING: Paths containing spaces will be misinterpreted." ;;
21182 esac
21183 with_late_packages_expanded="`echo '' $with_late_packages_expanded | sed -e 's/^ //' -e 's/:/ /g'`";; esac
21184 echo " System package roots: $with_late_packages_expanded"
21185 for path in $with_late_packages_expanded; do
21186 if test ! -d $path; then
21187 echo " WARNING: $path was specified, but doesn't exist."
21188 echo " WARNING: XEmacs functionality will be noticably limited until"
21189 echo " WARNING: some packages are installed."
21190 elif test ! -d "$path/xemacs-packages" \
21191 -a ! -d "$path/mule-packages" \
21192 -a ! -d "$path/site-packages"; then
21193 echo " WARNING: No packages found in $path."
21194 echo " WARNING: XEmacs functionality will be noticably limited until"
21195 echo " WARNING: some packages are installed."
21196 fi
21197 done
21198 if test -z "$with_late_packages"; then
21199 echo " XEmacs BUG: with_late_packages is unset. Please report this!"
21200 fi
21201
21202 if test -n "$with_last_packages"; then
21203 case "$with_last_packages" in *:* ) case "$opsys" in *cygwin* )
21204 echo " WARNING: Paths containing spaces will be misinterpreted." ;;
21205 esac
21206 with_last_packages="`echo '' $with_last_packages | sed -e 's/^ //' -e 's/:/ /g'`";; esac
21207 echo " Legacy package roots: $with_last_packages"
21208 for path in $with_last_packages; do
21209 if test ! -d $path; then
21210 echo " WARNING: $path was specified, but doesn't exist."
21211 echo " WARNING: If you don't need this setting, it is recommended"
21212 echo " WARNING: that you not use it."
21213 elif test ! -d "$path/xemacs-packages" \
21214 -a ! -d "$path/mule-packages" \
21215 -a ! -d "$path/site-packages"; then
21216 echo " WARNING: No packages found in $path."
21217 echo " WARNING: If you don't need this setting, it is recommended"
21218 echo " WARNING: that you not use it."
21219 fi
21220 done
21221 fi
21222
21159 echo " 21223 echo "
21160 Window System:" 21224 Window System:"
21161 if test "$with_msw" = "yes"; then 21225 if test "$with_msw" = "yes"; then
21162 echo " Compiling in support for the Microsoft window system." 21226 echo " Compiling in support for the Microsoft window system."
21163 fi 21227 fi