- Timestamp:
- Dec 9, 2011, 12:28:45 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r2724 r2726 609 609 TK_VERSION 610 610 TK_XLIBSW 611 TCL_SHLIB_LD612 TCL_SHLIB_CFLAGS613 TCL_SHLIB_LDFLAGS614 TCL_SHLIB_SUFFIX615 611 TK_LIB_SPEC 616 612 TK_INC_SPEC 617 613 TCL_VERSION 614 TCL_SHLIB_SUFFIX 615 TCL_SHLIB_LDFLAGS 616 TCL_SHLIB_LD 617 TCL_SHLIB_CFLAGS 618 TCL_CFLAGS_OPTIMIZE 619 TCL_CFLAGS_DEBUG 618 620 TCL_LIB_SPEC 619 621 TCL_INC_SPEC … … 4912 4914 fi 4913 4915 4916 4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5 4918 $as_echo_n "checking for clrtoeol in -lncurses... " >&6; } 4919 if ${ac_cv_lib_ncurses_clrtoeol+:} false; then : 4920 $as_echo_n "(cached) " >&6 4921 else 4922 ac_check_lib_save_LIBS=$LIBS 4923 LIBS="-lncurses $LIBS" 4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4925 /* end confdefs.h. */ 4926 4927 /* Override any GCC internal prototype to avoid an error. 4928 Use char because int might match the return type of a GCC 4929 builtin and then its argument prototype would still apply. */ 4930 #ifdef __cplusplus 4931 extern "C" 4932 #endif 4933 char clrtoeol (); 4934 int 4935 main () 4936 { 4937 return clrtoeol (); 4938 ; 4939 return 0; 4940 } 4941 _ACEOF 4942 if ac_fn_cxx_try_link "$LINENO"; then : 4943 ac_cv_lib_ncurses_clrtoeol=yes 4944 else 4945 ac_cv_lib_ncurses_clrtoeol=no 4946 fi 4947 rm -f core conftest.err conftest.$ac_objext \ 4948 conftest$ac_exeext conftest.$ac_ext 4949 LIBS=$ac_check_lib_save_LIBS 4950 fi 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5 4952 $as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; } 4953 if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then : 4954 cat >>confdefs.h <<_ACEOF 4955 #define HAVE_LIBNCURSES 1 4956 _ACEOF 4957 4958 LIBS="-lncurses $LIBS" 4959 4960 else 4961 as_fn_error $? "ncursers library missing?" "$LINENO" 5 4962 fi 4963 4964 for ac_header in ncurses.h 4965 do : 4966 ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" 4967 if test "x$ac_cv_header_ncurses_h" = xyes; then : 4968 cat >>confdefs.h <<_ACEOF 4969 #define HAVE_NCURSES_H 1 4970 _ACEOF 4971 4972 else 4973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5 4974 $as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;} 4975 fi 4976 4977 done 4978 4979 4914 4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4915 4981 $as_echo_n "checking for main in -lstdc++... " >&6; } … … 9688 9754 9689 9755 9690 9691 9756 HAVE_FFMPEG_LIBS="" 9692 9757 if test "${with_ffmpeg}" != "no"; then … … 9864 9929 LIBS="-lswscale $LIBS" 9865 9930 9866 else9867 as_fn_error $? "librappture requires libswscale" "$LINENO" 59868 9931 fi 9869 9932 … … 10004 10067 fi 10005 10068 10069 for ac_func in sws_getCachedContext 10070 do : 10006 10071 ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext" 10007 10072 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then : 10008 10009 else 10010 as_fn_error $? "oops! no sws_getCachedContext ?!?" "$LINENO" 5 10011 fi 10073 cat >>confdefs.h <<_ACEOF 10074 #define HAVE_SWS_GETCACHEDCONTEXT 1 10075 _ACEOF 10076 10077 fi 10078 done 10012 10079 10013 10080 for ac_func in img_convert … … 10082 10149 10083 10150 MAKE=${make_command} 10151 10152 10153 10154 10155 10156 10157 10084 10158 10085 10159 -
trunk/configure.in
r2724 r2726 60 60 61 61 AC_CHECK_LIB(m, main,,AC_MSG_ERROR(librappture requires libm)) 62 63 AC_CHECK_LIB(ncurses, clrtoeol,,AC_MSG_ERROR([ncursers library missing?])) 64 AC_CHECK_HEADERS(ncurses.h,,AC_MSG_WARN(ncurses headers missing ?)) 65 62 66 AC_CHECK_LIB(stdc++, main,,AC_MSG_ERROR(librappture requires libstdc++)) 63 67 AC_CHECK_HEADERS(algorithm,,AC_MSG_WARN(STL classes missing ?)) … … 338 342 ]]) 339 343 340 341 344 HAVE_FFMPEG_LIBS="" 342 345 if test "${with_ffmpeg}" != "no"; then … … 355 358 AC_CHECK_LIB(avutil, main,,AC_MSG_ERROR(librappture requires libavutil)) 356 359 AC_CHECK_LIB(avformat, main,,AC_MSG_ERROR(librappture requires libavformat)) 357 AC_CHECK_LIB(swscale, main ,,AC_MSG_ERROR(librappture requires libswscale))360 AC_CHECK_LIB(swscale, main) 358 361 AC_CHECK_FUNCS(avcodec_decode_video2) 359 362 AC_CHECK_FUNCS(avcodec_decode_video) … … 377 380 AC_MSG_ERROR(oops! no avpicture_get_size ?!?)) 378 381 AC_CHECK_FUNC(avpicture_fill,,AC_MSG_ERROR(oops! no avpicture_fill ?!?)) 379 AC_CHECK_FUNC(sws_getCachedContext,, 380 AC_MSG_ERROR(oops! no sws_getCachedContext ?!?)) 382 AC_CHECK_FUNCS(sws_getCachedContext) 381 383 AC_CHECK_FUNCS(img_convert) 382 384 AC_CHECK_FUNCS(sws_scale) … … 461 463 AC_SUBST(TCL_INC_SPEC) 462 464 AC_SUBST(TCL_LIB_SPEC) 465 AC_SUBST(TCL_CFLAGS_DEBUG) 466 AC_SUBST(TCL_CFLAGS_OPTIMIZE) 467 AC_SUBST(TCL_SHLIB_CFLAGS) 468 AC_SUBST(TCL_SHLIB_LD) 469 AC_SUBST(TCL_SHLIB_LDFLAGS) 470 AC_SUBST(TCL_SHLIB_SUFFIX) 463 471 AC_SUBST(TCL_VERSION) 464 472 AC_SUBST(TCL_VERSION) 465 473 AC_SUBST(TK_INC_SPEC) 466 474 AC_SUBST(TK_LIB_SPEC) 475 AC_SUBST(TCL_CFLAGS_DEBUG) 476 AC_SUBST(TCL_SHLIB_CFLAGS) 467 477 AC_SUBST(TCL_SHLIB_SUFFIX) 478 AC_SUBST(TCL_SHLIB_LD) 468 479 AC_SUBST(TCL_SHLIB_LDFLAGS) 469 AC_SUBST(TCL_SHLIB_CFLAGS)470 AC_SUBST(TCL_SHLIB_LD)471 480 AC_SUBST(TK_XLIBSW) 472 481 AC_SUBST(TK_VERSION)
Note: See TracChangeset
for help on using the changeset viewer.