comparison configure @ 8:4b173ad71786 r19-15b5

Import from CVS: tag r19-15b5
author cvs
date Mon, 13 Aug 2007 08:47:35 +0200
parents ac2d302a0011
children 49a24b4fd526
comparison
equal deleted inserted replaced
7:c153ca296910 8:4b173ad71786
93 cflags='NO_CFLAGS_DEFINED' 93 cflags='NO_CFLAGS_DEFINED'
94 dynamic='' 94 dynamic=''
95 with_x11='' 95 with_x11=''
96 rel_alloc='default' 96 rel_alloc='default'
97 use_system_malloc='default' 97 use_system_malloc='default'
98 internal_makefile_list='Makefile lib-src/Makefile.in man/Makefile.in src/Makefile.in lwlib/Makefile.in dynodump/Makefile.in' 98 internal_makefile_list='Makefile lib-src/Makefile.in src/Makefile.in lwlib/Makefile.in dynodump/Makefile.in'
99 energize_version='no' 99 energize_version='no'
100 native_sound_lib='' 100 native_sound_lib=''
101 # make normal error-checking be the default in alpha and beta versions, so 101 # make normal error-checking be the default in alpha and beta versions, so
102 # that bugs get noticed. Change this for released versions. 102 # that bugs get noticed. Change this for released versions.
103 error_check_default='yes' 103 error_check_default='yes'
8473 8473
8474 # Build: 8474 # Build:
8475 # src/Makefile from ${srcdir}/src/Makefile.in 8475 # src/Makefile from ${srcdir}/src/Makefile.in
8476 # lwlib/Makefile from ${srcdir}/lwlib/Makefile.in 8476 # lwlib/Makefile from ${srcdir}/lwlib/Makefile.in
8477 # lib-src/Makefile from ${srcdir}/lib-src/Makefile.in 8477 # lib-src/Makefile from ${srcdir}/lib-src/Makefile.in
8478 # man/Makefile from ${srcdir}/man/Makefile.in
8479 # man/*/Makefile from ${srcdir}/man/*/Makefile.in 8478 # man/*/Makefile from ${srcdir}/man/*/Makefile.in
8480 # dynodump/Makefile from ${srcdir}/dynodump/Makefile.in 8479 # dynodump/Makefile from ${srcdir}/dynodump/Makefile.in
8481 # and possibly 8480 # and possibly
8482 # lwlib/energize/Makefile from ${srcdir}/lwlib/energize/Makefile.in. 8481 # lwlib/energize/Makefile from ${srcdir}/lwlib/energize/Makefile.in.
8483 # This must be done after src/config.h is built, since we rely on that 8482 # This must be done after src/config.h is built, since we rely on that
8558 chmod 444 Makefile.new; 8557 chmod 444 Makefile.new;
8559 mv -f Makefile.new Makefile; 8558 mv -f Makefile.new Makefile;
8560 rm -f junk.c junk.cpp; 8559 rm -f junk.c junk.cpp;
8561 )' 8560 )'
8562 eval `echo $dynodump_makefile_command` 8561 eval `echo $dynodump_makefile_command`
8563 man_makefile_command='echo "creating man/Makefile";
8564 topsrcdir='"${topsrcdir}"';
8565 ( cd ./man;
8566 rm -f junk.c;
8567 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c;
8568 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`;
8569 < junk.cpp '\
8570 ' sed -e '\''s/^#.*//'\'' '\
8571 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\
8572 ' -e '\''s/^ / /'\'' '\
8573 ' | sed -n -e '\''/^..*$/p'\'' '\
8574 ' > Makefile.new;
8575 chmod 444 Makefile.new;
8576 mv -f Makefile.new Makefile;
8577 rm -f junk.c junk.cpp;
8578 )'
8579 eval `echo $man_makefile_command`
8580 if [ "${with_energize}" = "yes" ]; then 8562 if [ "${with_energize}" = "yes" ]; then
8581 energize_makefile_command='echo "creating lwlib/energize/Makefile"; 8563 energize_makefile_command='echo "creating lwlib/energize/Makefile";
8582 topsrcdir='"${topsrcdir}"'; 8564 topsrcdir='"${topsrcdir}"';
8583 ( cd ./lwlib/energize; 8565 ( cd ./lwlib/energize;
8584 rm -f junk.c; 8566 rm -f junk.c;
8596 )' 8578 )'
8597 eval `echo $energize_makefile_command` 8579 eval `echo $energize_makefile_command`
8598 fi 8580 fi
8599 # AC-OUTPUT has created `config.status' already. We need to add the 8581 # AC-OUTPUT has created `config.status' already. We need to add the
8600 # above commands to re-create `src/Makefile', `lwlib/Makefile', 8582 # above commands to re-create `src/Makefile', `lwlib/Makefile',
8601 # `lib-src/Makefile', `dynodump/Makefile', `man/Makefile', and possibly 8583 # `lib-src/Makefile', `dynodump/Makefile', and possibly
8602 # `lwlib/energize/Makefile', and we need to insert them before the final 8584 # `lwlib/energize/Makefile', and we need to insert them before the final
8603 # "exit 0" which appears at the end of `config.status'. 8585 # "exit 0" which appears at the end of `config.status'.
8604 <config.status sed -e 's/^exit 0$//' >config.new 8586 <config.status sed -e 's/^exit 0$//' >config.new
8605 echo $makefile_command >>config.new 8587 echo $makefile_command >>config.new
8606 echo $lwlib_makefile_command >>config.new 8588 echo $lwlib_makefile_command >>config.new
8613 echo exit 0 >>config.new 8595 echo exit 0 >>config.new
8614 mv -f config.new config.status 8596 mv -f config.new config.status
8615 chmod +x config.status 8597 chmod +x config.status
8616 # Don't let the fact that we just rewrote config.status make Makefile think 8598 # Don't let the fact that we just rewrote config.status make Makefile think
8617 # that it is now newer. We have just rewritten all of the Makefiles as well. 8599 # that it is now newer. We have just rewritten all of the Makefiles as well.
8618 MFS="Makefile src/Makefile src/Makefile.in lib-src/Makefile lib-src/Makefile.in dynodump/Makefile dynodump/Makefile.in lwlib/Makefile lwlib/Makefile.in man/Makefile man/Makefile.in" 8600 MFS="Makefile src/Makefile src/Makefile.in lib-src/Makefile lib-src/Makefile.in dynodump/Makefile dynodump/Makefile.in lwlib/Makefile lwlib/Makefile.in"
8619 for file in $MFS; do 8601 for file in $MFS; do
8620 chmod a+w $file; touch $file; chmod 444 $file 8602 chmod a+w $file; touch $file; chmod 444 $file
8621 done 8603 done
8622 8604
8623 if test ! -f src/gdbinit && test -f $topsrcdir/src/gdbinit; then 8605 if test ! -f src/gdbinit && test -f $topsrcdir/src/gdbinit; then