Changeset 1bdffcb for configure


Ignore:
Timestamp:
Jan 23, 2007, 11:49:14 PM (18 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
0c8ab5e
Parents:
4d17916
Message:
owl.h     - moved curses.h back up so building on Solaris would work.
configure - added test for resizeterm
global.c  - conditionally include resizeterm
fmtext.c  - remove tabs, rewrite parts of the colorpair manager
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r15bd5ef r1bdffcb  
    28832883fi
    28842884
     2885{ echo "$as_me:$LINENO: checking for resizeterm" >&5
     2886if test $ac_cv_lib_ncurses_initscr = yes; then
     2887echo $ECHO_N "checking for resizeterm in -lncurses... $ECHO_C" >&6;
     2888else
     2889echo $ECHO_N "checking for resizeterm in -lcurses... $ECHO_C" >&6;
     2890fi }
     2891if test "${ac_cv_lib_curses_resizeterm+set}" = set; then
     2892  echo $ECHO_N "(cached) $ECHO_C" >&6
     2893else
     2894
     2895cat >conftest.$ac_ext <<_ACEOF
     2896/* confdefs.h.  */
     2897_ACEOF
     2898cat confdefs.h >>conftest.$ac_ext
     2899cat >>conftest.$ac_ext <<_ACEOF
     2900/* end confdefs.h.  */
     2901
     2902/* Override any GCC internal prototype to avoid an error.
     2903   Use char because int might match the return type of a GCC
     2904   builtin and then its argument prototype would still apply.  */
     2905#ifdef __cplusplus
     2906extern "C"
     2907#endif
     2908char resizeterm ();
     2909int
     2910main ()
     2911{
     2912return resizeterm ();
     2913  ;
     2914  return 0;
     2915}
     2916_ACEOF
     2917rm -f conftest.$ac_objext conftest$ac_exeext
     2918if { (ac_try="$ac_link"
     2919case "(($ac_try" in
     2920  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2921  *) ac_try_echo=$ac_try;;
     2922esac
     2923eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2924  (eval "$ac_link") 2>conftest.er1
     2925  ac_status=$?
     2926  grep -v '^ *+' conftest.er1 >conftest.err
     2927  rm -f conftest.er1
     2928  cat conftest.err >&5
     2929  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2930  (exit $ac_status); } &&
     2931         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
     2932  { (case "(($ac_try" in
     2933  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2934  *) ac_try_echo=$ac_try;;
     2935esac
     2936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2937  (eval "$ac_try") 2>&5
     2938  ac_status=$?
     2939  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2940  (exit $ac_status); }; } &&
     2941         { ac_try='test -s conftest$ac_exeext'
     2942  { (case "(($ac_try" in
     2943  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2944  *) ac_try_echo=$ac_try;;
     2945esac
     2946eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2947  (eval "$ac_try") 2>&5
     2948  ac_status=$?
     2949  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2950  (exit $ac_status); }; }; then
     2951  ac_cv_lib_curses_resizeterm=yes
     2952else
     2953  echo "$as_me: failed program was:" >&5
     2954sed 's/^/| /' conftest.$ac_ext >&5
     2955
     2956        ac_cv_lib_curses_resizeterm=no
     2957fi
     2958
     2959rm -f core conftest.err conftest.$ac_objext \
     2960      conftest$ac_exeext conftest.$ac_ext
     2961
     2962{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_resizeterm" >&5
     2963echo "${ECHO_T}$ac_cv_lib_curses_resizeterm" >&6; }
     2964
     2965if test $ac_cv_lib_curses_resizeterm = yes; then
     2966  cat >>confdefs.h <<_ACEOF
     2967#define HAVE_RESIZETERM 1
     2968_ACEOF
     2969
     2970fi
     2971
     2972fi
    28852973
    28862974{ echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
Note: See TracChangeset for help on using the changeset viewer.