123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490 |
- $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
- --- screen-4.0.3.orig/configure 2003-12-05 14:46:53.000000000 +0100
- +++ screen-4.0.3/configure 2008-10-08 13:33:43.000000000 +0200
- @@ -124,7 +124,7 @@ done
- fi
- if test ! -f "$as_myself"; then
- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
- - { (exit 1); exit 1; }; }
- + }
- fi
- case $CONFIG_SHELL in
- '')
- @@ -174,7 +174,7 @@ done
- ' >$as_me.lineno &&
- chmod +x $as_me.lineno ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- - { (exit 1); exit 1; }; }
- + }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- @@ -397,7 +397,7 @@ do
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- - { (exit 1); exit 1; }; }
- + }
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
- eval "enable_$ac_feature=no" ;;
-
- @@ -406,7 +406,7 @@ do
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- - { (exit 1); exit 1; }; }
- + }
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
- case $ac_option in
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
- @@ -588,7 +588,7 @@ do
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- - { (exit 1); exit 1; }; }
- + }
- ac_package=`echo $ac_package| sed 's/-/_/g'`
- case $ac_option in
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
- @@ -601,7 +601,7 @@ do
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- - { (exit 1); exit 1; }; }
- + }
- ac_package=`echo $ac_package | sed 's/-/_/g'`
- eval "with_$ac_package=no" ;;
-
- @@ -625,7 +625,7 @@ do
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
- Try \`$0 --help' for more information." >&2
- - { (exit 1); exit 1; }; }
- + }
- ;;
-
- *=*)
- @@ -633,7 +633,7 @@ Try \`$0 --help' for more information."
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- - { (exit 1); exit 1; }; }
- + }
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
- eval "$ac_envvar='$ac_optarg'"
- export $ac_envvar ;;
- @@ -652,7 +652,7 @@ done
- if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- - { (exit 1); exit 1; }; }
- + }
- fi
-
- # Be sure to have absolute paths.
- @@ -662,7 +662,7 @@ do
- case $ac_val in
- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- - { (exit 1); exit 1; }; };;
- + };;
- esac
- done
-
- @@ -674,7 +674,7 @@ do
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) ;;
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- - { (exit 1); exit 1; }; };;
- + };;
- esac
- done
-
- @@ -728,15 +728,15 @@ fi
- if test ! -r $srcdir/$ac_unique_file; then
- if test "$ac_srcdir_defaulted" = yes; then
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
- - { (exit 1); exit 1; }; }
- + }
- else
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- - { (exit 1); exit 1; }; }
- + }
- fi
- fi
- (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
- - { (exit 1); exit 1; }; }
- + }
- srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
- ac_env_build_alias_set=${build_alias+set}
- ac_env_build_alias_value=$build_alias
- @@ -1243,7 +1243,7 @@ if $ac_cache_corrupted; then
- echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
- echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
-
- ac_ext=c
- @@ -1734,7 +1734,7 @@ test -z "$CC" && { { echo "$as_me:$LINEN
- See \`config.log' for more details." >&5
- echo "$as_me: error: no acceptable C compiler found in \$PATH
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
-
- # Provide some information about the compiler.
- echo "$as_me:$LINENO:" \
- @@ -1856,7 +1856,7 @@ See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run C compiled programs.
- If you meant to cross compile, use \`--host'.
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
- fi
- fi
- @@ -1898,7 +1898,7 @@ else
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
-
- rm -f conftest$ac_cv_exeext
- @@ -1950,7 +1950,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot compute suffix of object files: cannot compile
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
-
- rm -f conftest.$ac_cv_objext conftest.$ac_ext
- @@ -2514,7 +2514,7 @@ else
- See \`config.log' for more details." >&5
- echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
-
- ac_ext=c
- @@ -2704,7 +2704,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -2753,7 +2753,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -2790,7 +2790,7 @@ echo "$ac_compile" 1>&6
-
- { { echo "$as_me:$LINENO: error: Can't run the compiler - sorry" >&5
- echo "$as_me: error: Can't run the compiler - sorry" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
- rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- fi
- @@ -2800,7 +2800,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -2830,7 +2830,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
- (exit $ac_status); }; }; then
- { { echo "$as_me:$LINENO: error: Your compiler does not set the exit status - sorry" >&5
- echo "$as_me: error: Your compiler does not set the exit status - sorry" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- echo "$as_me: program exited with status $ac_status" >&5
- echo "$as_me: failed program was:" >&5
- @@ -2900,7 +2900,7 @@ done
- if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
- echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
- ac_config_guess="$SHELL $ac_aux_dir/config.guess"
- ac_config_sub="$SHELL $ac_aux_dir/config.sub"
- @@ -4149,7 +4149,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
-
- { { echo "$as_me:$LINENO: error: !!! no select - no screen" >&5
- echo "$as_me: error: !!! no select - no screen" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
- rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
-
- @@ -4163,7 +4163,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -4272,7 +4272,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -4365,7 +4365,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -4460,7 +4460,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -4562,7 +4562,7 @@ elif test -n "$sock"; then
- else
- { { echo "$as_me:$LINENO: error: you have neither usable sockets nor usable pipes -> no screen" >&5
- echo "$as_me: error: you have neither usable sockets nor usable pipes -> no screen" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
-
-
- @@ -4573,7 +4573,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -4898,7 +4898,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
-
- { { echo "$as_me:$LINENO: error: !!! no tgetent - no screen" >&5
- echo "$as_me: error: !!! no tgetent - no screen" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
- rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- fi
- @@ -4915,7 +4915,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -5359,7 +5359,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -6206,7 +6206,7 @@ echo "$as_me: checking for avenrun symbo
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -6482,7 +6482,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -6598,8 +6598,6 @@ sed 's/^/| /' conftest.$ac_ext >&5
- LIBS="$oldlibs"
- fi
- rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- -test -f /lib/libsec.a || test -f /usr/lib/libsec.a && LIBS="$LIBS -lsec"
- -test -f /lib/libshadow.a || test -f /usr/lib/libshadow.a && LIBS="$LIBS -lshadow"
- oldlibs="$LIBS"
- LIBS="$LIBS -lsun"
- { echo "$as_me:$LINENO: checking IRIX sun library..." >&5
- @@ -7004,7 +7002,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -7056,7 +7054,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -7110,7 +7108,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -7951,7 +7949,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- @@ -7982,7 +7980,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
- ( exit $ac_status )
- { { echo "$as_me:$LINENO: error: Can't run the compiler - internal error. Sorry." >&5
- echo "$as_me: error: Can't run the compiler - internal error. Sorry." >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
- rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- fi
- @@ -8251,7 +8249,7 @@ done
- if test ! -f "$as_myself"; then
- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
- echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi
- case $CONFIG_SHELL in
- '')
- @@ -8302,7 +8300,7 @@ done
- chmod +x $as_me.lineno ||
- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
- echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
- - { (exit 1); exit 1; }; }
- + }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- @@ -8494,7 +8492,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF
- Try \`$0 --help' for more information." >&5
- echo "$as_me: error: ambiguous option: $1
- Try \`$0 --help' for more information." >&2;}
- - { (exit 1); exit 1; }; };;
- + };;
- --help | --hel | -h )
- echo "$ac_cs_usage"; exit 0 ;;
- --debug | --d* | -d )
- @@ -8516,7 +8514,7 @@ Try \`$0 --help' for more information."
- Try \`$0 --help' for more information." >&5
- echo "$as_me: error: unrecognized option: $1
- Try \`$0 --help' for more information." >&2;}
- - { (exit 1); exit 1; }; } ;;
- + } ;;
-
- *) ac_config_targets="$ac_config_targets $1" ;;
-
- @@ -8555,7 +8553,7 @@ do
- "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
- echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- - { (exit 1); exit 1; }; };;
- + };;
- esac
- done
-
- @@ -8750,7 +8748,7 @@ echo X"$as_dir" |
- test ! -n "$as_dirs" || mkdir $as_dirs
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
- echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
- - { (exit 1); exit 1; }; }; }
- + }; }
-
- ac_builddir=.
-
- @@ -8816,7 +8814,7 @@ echo "$as_me: creating $ac_file" >&6;}
- # Absolute (can't be DOS-style, as IFS=:)
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
- echo "$as_me: error: cannot find input file: $f" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- echo $f;;
- *) # Relative
- if test -f "$f"; then
- @@ -8829,7 +8827,7 @@ echo "$as_me: error: cannot find input f
- # /dev/null tree
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
- echo "$as_me: error: cannot find input file: $f" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi;;
- esac
- done` || { (exit 1); exit 1; }
- @@ -8907,7 +8905,7 @@ echo "$as_me: creating $ac_file" >&6;}
- # Absolute (can't be DOS-style, as IFS=:)
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
- echo "$as_me: error: cannot find input file: $f" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- echo $f;;
- *) # Relative
- if test -f "$f"; then
- @@ -8920,7 +8918,7 @@ echo "$as_me: error: cannot find input f
- # /dev/null tree
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
- echo "$as_me: error: cannot find input file: $f" >&2;}
- - { (exit 1); exit 1; }; }
- + }
- fi;;
- esac
- done` || { (exit 1); exit 1; }
- @@ -9073,7 +9071,7 @@ echo X"$as_dir" |
- test ! -n "$as_dirs" || mkdir $as_dirs
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
- echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
- - { (exit 1); exit 1; }; }; }
- + }; }
-
- rm -f $ac_file
- mv $tmp/config.h $ac_file
|