"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
dwdiff-2.1.1.tar.bz2 and dwdiff-2.1.2.tar.bz2

About: dwdiff is a diff program that operates at the word level instead of the line level.

configure  (dwdiff-2.1.1.tar.bz2):configure  (dwdiff-2.1.2.tar.bz2)
skipping to change at line 107 skipping to change at line 107
} }
replace_default() { replace_default() {
if [ -n "$2" ] ; then if [ -n "$2" ] ; then
echo "/^$1=/c\\ echo "/^$1=/c\\
$1=$2" $1=$2"
fi fi
} }
insert() { insert() {
echo "/^$1/d"
[ -n "$2" ] && echo "/^\\.POSIX:/a\\ [ -n "$2" ] && echo "/^\\.POSIX:/a\\
$1=$2" $1=$2"
} }
create_makefile() { create_makefile() {
for _INSTALL in ${TEST_INSTALL} for _INSTALL in ${TEST_INSTALL}
do do
# Don't test the sun install program, because it is dangerous. # Don't test the sun install program, because it is dangerous.
if [ "`uname`" = "SunOS" ] && [ "$_INSTALL" = "install" ] ; then if [ "`uname`" = "SunOS" ] && [ "$_INSTALL" = "install" ] ; then
continue continue
skipping to change at line 151 skipping to change at line 152
add_replace_settings "$@" add_replace_settings "$@"
[ -n "${SEDEXTRA}" ] && ${SEDEXTRA} [ -n "${SEDEXTRA}" ] && ${SEDEXTRA}
} > .sedscript } > .sedscript
for MAKEFILE in ${MAKEFILES:-Makefile} for MAKEFILE in ${MAKEFILES:-Makefile}
do do
echo "----------------------------------">> config.log echo "----------------------------------">> config.log
check_message_result "Creating ${MAKEFILE}" check_message_result "Creating ${MAKEFILE}"
cat ${MAKEFILE}.in | sed -f .sedscript > ${MAKEFILE} cat ${MAKEFILE}.in | sed -f .sedscript > ${MAKEFILE}
done done
clean .sedscript .Makefile .foo .config_base clean .Makefile .Makefile.in .sedscript .foo .config_base
for EXT in ${EXTENSIONS} for EXT in ${EXTENSIONS}
do do
clean_${EXT} clean_${EXT}
done done
exit 0 exit 0
} }
#============================== #==============================
# Setup # Setup
#============================== #==============================
skipping to change at line 227 skipping to change at line 228
if test_link "working C compiler (${COMPILER})" CC="${COM PILER}" ; then if test_link "working C compiler (${COMPILER})" CC="${COM PILER}" ; then
CC="${COMPILER}" CC="${COMPILER}"
return return
fi fi
done done
fi fi
test_link "working C compiler (${CC-${MAKE} default})" || error "No worki ng C compiler found. See config.log for errors." test_link "working C compiler (${CC-${MAKE} default})" || error "No worki ng C compiler found. See config.log for errors."
} }
sed_rules_c() { sed_rules_c() {
replace_default CFLAGS "${CFLAGS}" insert CFLAGS "${CFLAGS}"
[ -n "${CC}" ] && insert CC "${CC}" [ -n "${CC}" ] && insert CC "${CC}"
} }
test_compile() { test_compile() {
clean .config.o clean .config.o
check_message "Checking for $1... " check_message "Checking for $1... "
shift shift
if test_make "$@" .config.o >> config.log 2>&1 ; then if test_make "$@" .config.o >> config.log 2>&1 ; then
check_message_result "yes" check_message_result "yes"
skipping to change at line 515 skipping to change at line 516
if [ -n "${INSTALL}" ] ; then if [ -n "${INSTALL}" ] ; then
TEST_INSTALL="${INSTALL}" TEST_INSTALL="${INSTALL}"
unset INSTALL unset INSTALL
else else
TEST_INSTALL="install ./install.sh" TEST_INSTALL="install ./install.sh"
fi fi
echo "Configuration test log created at `date`" > config.log echo "Configuration test log created at `date`" > config.log
echo "-- configure called with $0 $@" >> config.log echo "-- configure called with $0 $@" >> config.log
clean config.log .Makefile .sedscript .config_base clean config.log .Makefile .Makefile.in .sedscript .foo .config_base
for EXT in ${EXTENSIONS} for EXT in ${EXTENSIONS}
do do
clean_${EXT} clean_${EXT}
done done
{ {
echo ".POSIX:" echo ".POSIX:"
[ -z "${LDFLAGS}" ] || echo "LDFLAGS=${LDFLAGS}" [ -z "${LDFLAGS}" ] || echo "LDFLAGS=${LDFLAGS}"
[ -z "${LDLIBS}" ] || echo "LDLIBS=${LDLIBS}" [ -z "${LDLIBS}" ] || echo "LDLIBS=${LDLIBS}"
skipping to change at line 568 skipping to change at line 569
check_message_result "yes" check_message_result "yes"
else else
check_message_result "no" check_message_result "no"
error "${MAKE} failed. See config.log for errors." error "${MAKE} failed. See config.log for errors."
fi fi
for EXT in ${EXTENSIONS} for EXT in ${EXTENSIONS}
do do
basic_test_${EXT} basic_test_${EXT}
sed_rules_${EXT} >> .sedscript sed_rules_${EXT} >> .sedscript
sed -f .sedscript .Makefile.in > .Makefile
done done
sed -f .sedscript .Makefile.in > .Makefile
config config
error "Error in config.pkg. Cannot continue." error "Error in config.pkg. Cannot continue."
 End of changes. 6 change blocks. 
4 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)