In the future, IFS value needs to be changed in a few places
in configure -- and then restored. Store the original value
to $DEFAULT_IFS for easy restoration.
+# Store original IFS value so it can be changed (and restored) in many places.
+readonly DEFAULT_IFS=$IFS
+
srcdir=$(dirname "$0")
# For a non-srcdir configure invocation (such as ../configure), create
srcdir=$(dirname "$0")
# For a non-srcdir configure invocation (such as ../configure), create
# IFS=$(printf '\n')
#
# because the shell's command substitution deletes any trailing newlines.
# IFS=$(printf '\n')
#
# because the shell's command substitution deletes any trailing newlines.
IFS="
"
for path in $ldconfig_paths; do
IFS="
"
for path in $ldconfig_paths; do
libdir_in_ldconfig=1
fi
done
libdir_in_ldconfig=1
fi
done
if [ "$libdir_in_ldconfig" = '0' ]; then
printf "No (will set RPATH)\n"
else
if [ "$libdir_in_ldconfig" = '0' ]; then
printf "No (will set RPATH)\n"
else
printf "\n\t${WARN_CFLAGS}\n"
rm -f minimal minimal.c
printf "\n\t${WARN_CFLAGS}\n"
rm -f minimal minimal.c
cat <<EOF
All required packages were found. You may now run the following
cat <<EOF
All required packages were found. You may now run the following