comparison configure.in @ 6:27bc7f280385 r19-15b4

Import from CVS: tag r19-15b4
author cvs
date Mon, 13 Aug 2007 08:47:15 +0200
parents ac2d302a0011
children 4b173ad71786
comparison
equal deleted inserted replaced
5:49b78a777eb4 6:27bc7f280385
2358 exit 1 2358 exit 1
2359 fi 2359 fi
2360 2360
2361 if [ "${dynamic}" = "yes" ]; then 2361 if [ "${dynamic}" = "yes" ]; then
2362 case "${opsys}" in 2362 case "${opsys}" in
2363 hpux8 ) opsys=hpux8shr ;; 2363 hpux8 ) opsys=hpux8-shr ;;
2364 hpux9 ) opsys=hpux9shr ;; 2364 hpux9 ) opsys=hpux9-shr ;;
2365 hpux10 ) opsys=hpux10shr ;; 2365 hpux10 ) opsys=hpux10-shr ;;
2366 sunos4-0 ) opsys=sunos4-0shr ;; 2366 sunos4-0 ) opsys=sunos4-0-shr ;;
2367 sunos4-1 ) opsys=sunos4-1shr ;; 2367 sunos4-1 ) opsys=sunos4-1-shr ;;
2368 sunos4-1-2 ) opsys=sunos4-1-2shr ;; 2368 sunos4-1-2 ) opsys=sunos4-1-2-shr ;;
2369 sunos4-1-3 ) opsys=sunos4-1-3shr ;; 2369 sunos4-1-3 ) opsys=sunos4-1-3-shr ;;
2370 sco5 ) opsys=sco5-shr ;; 2370 sco5 ) opsys=sco5-shr ;;
2371 esac 2371 esac
2372 elif [ "${dynamic}" = "no" ]; then 2372 elif [ "${dynamic}" = "no" ]; then
2373 case "${opsys}" in 2373 case "${opsys}" in
2374 sol2 ) opsys=sol2-static ;; 2374 sol2 ) opsys=sol2-static ;;
2537 fi 2537 fi
2538 2538
2539 #### Some systems specify a CPP to use unless we are using GCC. 2539 #### Some systems specify a CPP to use unless we are using GCC.
2540 #### Now that we know whether we are using GCC, we can decide whether 2540 #### Now that we know whether we are using GCC, we can decide whether
2541 #### to use that one. 2541 #### to use that one.
2542 if [ "x$NON_GNU_CPP" = x ] || [ x$GCC = x1 ] 2542
2543 then true 2543 #### Also, GNU CPP by default defines certain add'l macros that could
2544 #### hurt us when generating makefiles. We want to switch off these
2545 #### add'l macros for the purpose of generating makefiles.
2546
2547 CPPFLAGS_MAKEFILEGEN=""
2548 if [ "x$GCC" = x1 ] ; then
2549 CPPFLAGS_MAKEFILEGEN=" -undef "
2550 elif [ "x$NON_GNU_CPP" = x ] ; then
2551 true
2544 else 2552 else
2545 if [ "x$CPP" = x ]; then 2553 if [ "x$CPP" = x ]; then
2546 if [ "${with_lcc}" = "yes" ] && [ "${NON_GNU_CPP}" = "yes" ] ; then 2554 if [ "${with_lcc}" = "yes" ] && [ "${NON_GNU_CPP}" = "yes" ] ; then
2547 CPP='gcc -E -traditional' # cross fingers and hope it's there.... 2555 CPP='gcc -E -traditional' # cross fingers and hope it's there....
2548 else 2556 else
4454 makefile_command='echo "creating src/Makefile"; 4462 makefile_command='echo "creating src/Makefile";
4455 topsrcdir='"${topsrcdir}"'; 4463 topsrcdir='"${topsrcdir}"';
4456 ( cd ./src; 4464 ( cd ./src;
4457 rm -f junk.c; 4465 rm -f junk.c;
4458 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; 4466 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c;
4459 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; 4467 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`;
4460 < junk.cpp '\ 4468 < junk.cpp '\
4461 ' sed -e '\''s/^#.*//'\'' '\ 4469 ' sed -e '\''s/^#.*//'\'' '\
4462 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ 4470 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\
4463 ' -e '\''s/^ / /'\'' '\ 4471 ' -e '\''s/^ / /'\'' '\
4464 ' | sed -n -e '\''/^..*$/p'\'' '\ 4472 ' | sed -n -e '\''/^..*$/p'\'' '\
4471 lwlib_makefile_command='echo "creating lwlib/Makefile"; 4479 lwlib_makefile_command='echo "creating lwlib/Makefile";
4472 topsrcdir='"${topsrcdir}"'; 4480 topsrcdir='"${topsrcdir}"';
4473 ( cd ./lwlib; 4481 ( cd ./lwlib;
4474 rm -f junk.c; 4482 rm -f junk.c;
4475 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; 4483 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c;
4476 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; 4484 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`;
4477 < junk.cpp '\ 4485 < junk.cpp '\
4478 ' sed -e '\''s/^#.*//'\'' '\ 4486 ' sed -e '\''s/^#.*//'\'' '\
4479 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ 4487 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\
4480 ' -e '\''s/^ / /'\'' '\ 4488 ' -e '\''s/^ / /'\'' '\
4481 ' | sed -n -e '\''/^..*$/p'\'' '\ 4489 ' | sed -n -e '\''/^..*$/p'\'' '\
4488 lib_src_makefile_command='echo "creating lib-src/Makefile"; 4496 lib_src_makefile_command='echo "creating lib-src/Makefile";
4489 topsrcdir='"${topsrcdir}"'; 4497 topsrcdir='"${topsrcdir}"';
4490 ( cd ./lib-src; 4498 ( cd ./lib-src;
4491 rm -f junk.c; 4499 rm -f junk.c;
4492 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; 4500 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c;
4493 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; 4501 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`;
4494 < junk.cpp '\ 4502 < junk.cpp '\
4495 ' sed -e '\''s/^#.*//'\'' '\ 4503 ' sed -e '\''s/^#.*//'\'' '\
4496 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ 4504 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\
4497 ' -e '\''s/^ / /'\'' '\ 4505 ' -e '\''s/^ / /'\'' '\
4498 ' | sed -n -e '\''/^..*$/p'\'' '\ 4506 ' | sed -n -e '\''/^..*$/p'\'' '\
4505 dynodump_makefile_command='echo "creating dynodump/Makefile"; 4513 dynodump_makefile_command='echo "creating dynodump/Makefile";
4506 topsrcdir='"${topsrcdir}"'; 4514 topsrcdir='"${topsrcdir}"';
4507 ( cd ./dynodump; 4515 ( cd ./dynodump;
4508 rm -f junk.c; 4516 rm -f junk.c;
4509 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; 4517 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c;
4510 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; 4518 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`;
4511 < junk.cpp '\ 4519 < junk.cpp '\
4512 ' sed -e '\''s/^#.*//'\'' '\ 4520 ' sed -e '\''s/^#.*//'\'' '\
4513 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ 4521 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\
4514 ' -e '\''s/^ / /'\'' '\ 4522 ' -e '\''s/^ / /'\'' '\
4515 ' | sed -n -e '\''/^..*$/p'\'' '\ 4523 ' | sed -n -e '\''/^..*$/p'\'' '\
4522 man_makefile_command='echo "creating man/Makefile"; 4530 man_makefile_command='echo "creating man/Makefile";
4523 topsrcdir='"${topsrcdir}"'; 4531 topsrcdir='"${topsrcdir}"';
4524 ( cd ./man; 4532 ( cd ./man;
4525 rm -f junk.c; 4533 rm -f junk.c;
4526 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; 4534 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c;
4527 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; 4535 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`;
4528 < junk.cpp '\ 4536 < junk.cpp '\
4529 ' sed -e '\''s/^#.*//'\'' '\ 4537 ' sed -e '\''s/^#.*//'\'' '\
4530 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ 4538 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\
4531 ' -e '\''s/^ / /'\'' '\ 4539 ' -e '\''s/^ / /'\'' '\
4532 ' | sed -n -e '\''/^..*$/p'\'' '\ 4540 ' | sed -n -e '\''/^..*$/p'\'' '\
4540 energize_makefile_command='echo "creating lwlib/energize/Makefile"; 4548 energize_makefile_command='echo "creating lwlib/energize/Makefile";
4541 topsrcdir='"${topsrcdir}"'; 4549 topsrcdir='"${topsrcdir}"';
4542 ( cd ./lwlib/energize; 4550 ( cd ./lwlib/energize;
4543 rm -f junk.c; 4551 rm -f junk.c;
4544 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; 4552 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c;
4545 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; 4553 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`;
4546 < junk.cpp '\ 4554 < junk.cpp '\
4547 ' sed -e '\''s/^#.*//'\'' '\ 4555 ' sed -e '\''s/^#.*//'\'' '\
4548 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ 4556 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\
4549 ' -e '\''s/^ / /'\'' '\ 4557 ' -e '\''s/^ / /'\'' '\
4550 ' | sed -n -e '\''/^..*$/p'\'' '\ 4558 ' | sed -n -e '\''/^..*$/p'\'' '\