diff options
Diffstat (limited to 'math/graphthing/files/patch-configure')
-rw-r--r-- | math/graphthing/files/patch-configure | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/math/graphthing/files/patch-configure b/math/graphthing/files/patch-configure new file mode 100644 index 000000000000..63be3956865c --- /dev/null +++ b/math/graphthing/files/patch-configure @@ -0,0 +1,77 @@ +--- configure.orig Fri Apr 5 02:55:27 2002 ++++ configure Wed May 1 14:19:00 2002 +@@ -2199,7 +2199,7 @@ + #include "confdefs.h" + #include <libintl.h> + EOF +-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ++ac_try="$ac_cpp -I/usr/local/include conftest.$ac_ext >/dev/null 2>conftest.out" + { (eval echo configure:2204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then +@@ -2780,7 +2780,6 @@ + CATOBJEXT=.cat + INSTOBJEXT=.cat + DATADIRNAME=lib +- INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` + nls_cv_header_intl=intl/libintl.h +@@ -2909,7 +2908,6 @@ + CATOBJEXT=.gmo + INSTOBJEXT=.mo + DATADIRNAME=share +- INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` + nls_cv_header_intl=intl/libintl.h +@@ -3964,49 +3962,6 @@ + ac_dests="$nls_cv_header_intl" + EOF + +-cat >> $CONFIG_STATUS <<\EOF +-srcdir=$ac_given_srcdir +-while test -n "$ac_sources"; do +- set $ac_dests; ac_dest=$1; shift; ac_dests=$* +- set $ac_sources; ac_source=$1; shift; ac_sources=$* +- +- echo "linking $srcdir/$ac_source to $ac_dest" +- +- if test ! -r $srcdir/$ac_source; then +- { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; } +- fi +- rm -f $ac_dest +- +- # Make relative symlinks. +- # Remove last slash and all that follows it. Not all systems have dirname. +- ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'` +- if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then +- # The dest file is in a subdirectory. +- test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir" +- ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`" +- # A "../" for each directory in $ac_dest_dir_suffix. +- ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'` +- else +- ac_dest_dir_suffix= ac_dots= +- fi +- +- case "$srcdir" in +- [/$]*) ac_rel_source="$srcdir/$ac_source" ;; +- *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;; +- esac +- +- # Make a symlink if possible; otherwise try a hard link. +- if ln -s $ac_rel_source $ac_dest 2>/dev/null || +- ln $srcdir/$ac_source $ac_dest; then : +- else +- { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; } +- fi +-done +-EOF +-cat >> $CONFIG_STATUS <<EOF +- +- +-EOF + cat >> $CONFIG_STATUS <<\EOF + case "$CONFIG_FILES" in *po/Makefile.in*) + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile |