diff options
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 27 |
1 files changed, 13 insertions, 14 deletions
| @@ -23524,6 +23524,16 @@ test "${prefix}" != NONE && | |||
| 23524 | test "${exec_prefix}" != NONE && | 23524 | test "${exec_prefix}" != NONE && |
| 23525 | exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'` | 23525 | exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'` |
| 23526 | 23526 | ||
| 23527 | # Now get this: Some word that is part of the ${srcdir} directory name | ||
| 23528 | # or the ${configuration} value might, just might, happen to be an | ||
| 23529 | # identifier like `sun4' or `i386' or something, and be predefined by | ||
| 23530 | # the C preprocessor to some helpful value like 1, or maybe the empty | ||
| 23531 | # string. Needless to say consequent macro substitutions are less | ||
| 23532 | # than conducive to the makefile finding the correct directory. | ||
| 23533 | cpp_undefs="`echo $srcdir $configuration $canonical | | ||
| 23534 | sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ | ||
| 23535 | -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`" | ||
| 23536 | |||
| 23527 | ## Check if the C preprocessor will convert `..' to `. .'. If so, set | 23537 | ## Check if the C preprocessor will convert `..' to `. .'. If so, set |
| 23528 | ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile | 23538 | ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile |
| 23529 | ## from Makefile.c can correctly provide the arg `-traditional' to the | 23539 | ## from Makefile.c can correctly provide the arg `-traditional' to the |
| @@ -24102,7 +24112,7 @@ cat >>$CONFIG_STATUS <<_ACEOF | |||
| 24102 | # | 24112 | # |
| 24103 | # INIT-COMMANDS | 24113 | # INIT-COMMANDS |
| 24104 | # | 24114 | # |
| 24105 | GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" | 24115 | GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" cpp_undefs="$cpp_undefs" |
| 24106 | 24116 | ||
| 24107 | _ACEOF | 24117 | _ACEOF |
| 24108 | 24118 | ||
| @@ -24748,17 +24758,6 @@ done | |||
| 24748 | # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c | 24758 | # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c |
| 24749 | # This must be done after src/config.h is built, since we rely on that file. | 24759 | # This must be done after src/config.h is built, since we rely on that file. |
| 24750 | 24760 | ||
| 24751 | # Now get this: Some word that is part of the ${srcdir} directory name | ||
| 24752 | # or the ${configuration} value might, just might, happen to be an | ||
| 24753 | # identifier like `sun4' or `i386' or something, and be predefined by | ||
| 24754 | # the C preprocessor to some helpful value like 1, or maybe the empty | ||
| 24755 | # string. Needless to say consequent macro substitutions are less | ||
| 24756 | # than conducive to the makefile finding the correct directory. | ||
| 24757 | undefs="`echo $top_srcdir $configuration $canonical | | ||
| 24758 | sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ | ||
| 24759 | -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \ | ||
| 24760 | `" | ||
| 24761 | |||
| 24762 | echo creating src/epaths.h | 24761 | echo creating src/epaths.h |
| 24763 | ${MAKE-make} epaths-force | 24762 | ${MAKE-make} epaths-force |
| 24764 | 24763 | ||
| @@ -24777,7 +24776,7 @@ echo creating lib-src/Makefile | |||
| 24777 | sed -e '1,/start of cpp stuff/d'\ | 24776 | sed -e '1,/start of cpp stuff/d'\ |
| 24778 | -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ | 24777 | -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ |
| 24779 | < Makefile.c > junk.c | 24778 | < Makefile.c > junk.c |
| 24780 | $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ | 24779 | $CPP $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ |
| 24781 | sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c | 24780 | sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c |
| 24782 | cat junk1.c junk2.c > Makefile.new | 24781 | cat junk1.c junk2.c > Makefile.new |
| 24783 | rm -f junk.c junk1.c junk2.c | 24782 | rm -f junk.c junk1.c junk2.c |
| @@ -24793,7 +24792,7 @@ echo creating src/Makefile | |||
| 24793 | sed -e '1,/start of cpp stuff/d'\ | 24792 | sed -e '1,/start of cpp stuff/d'\ |
| 24794 | -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ | 24793 | -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ |
| 24795 | < Makefile.c > junk.c | 24794 | < Makefile.c > junk.c |
| 24796 | $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ | 24795 | $CPP $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ |
| 24797 | sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c | 24796 | sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c |
| 24798 | cat junk1.c junk2.c > Makefile.new | 24797 | cat junk1.c junk2.c > Makefile.new |
| 24799 | rm -f junk.c junk1.c junk2.c | 24798 | rm -f junk.c junk1.c junk2.c |