ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.166 by root, Thu May 13 19:24:27 2021 UTC vs.
Revision 1.167 by sf-exg, Fri May 14 13:50:22 2021 UTC

1667printf "%s\n" "$ac_res" >&6; } 1667printf "%s\n" "$ac_res" >&6; }
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 1669
1670} # ac_fn_c_check_header_compile 1670} # ac_fn_c_check_header_compile
1671 1671
1672# ac_fn_c_try_link LINENO
1673# -----------------------
1674# Try to link conftest.$ac_ext, and return whether this succeeded.
1675ac_fn_c_try_link ()
1676{
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1679 if { { ac_try="$ac_link"
1680case "(($ac_try" in
1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682 *) ac_try_echo=$ac_try;;
1683esac
1684eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685printf "%s\n" "$ac_try_echo"; } >&5
1686 (eval "$ac_link") 2>conftest.err
1687 ac_status=$?
1688 if test -s conftest.err; then
1689 grep -v '^ *+' conftest.err >conftest.er1
1690 cat conftest.er1 >&5
1691 mv -f conftest.er1 conftest.err
1692 fi
1693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && {
1695 test -z "$ac_c_werror_flag" ||
1696 test ! -s conftest.err
1697 } && test -s conftest$ac_exeext && {
1698 test "$cross_compiling" = yes ||
1699 test -x conftest$ac_exeext
1700 }
1701then :
1702 ac_retval=0
1703else $as_nop
1704 printf "%s\n" "$as_me: failed program was:" >&5
1705sed 's/^/| /' conftest.$ac_ext >&5
1706
1707 ac_retval=1
1708fi
1709 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1710 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1711 # interfere with the next link command; also delete a directory that is
1712 # left behind by Apple's compiler. We do this before executing the actions.
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1716
1717} # ac_fn_c_try_link
1718
1719# ac_fn_cxx_try_link LINENO 1672# ac_fn_cxx_try_link LINENO
1720# ------------------------- 1673# -------------------------
1721# Try to link conftest.$ac_ext, and return whether this succeeded. 1674# Try to link conftest.$ac_ext, and return whether this succeeded.
1722ac_fn_cxx_try_link () 1675ac_fn_cxx_try_link ()
1723{ 1676{
4553ac_prog_cxx_stdcxx=no 4506ac_prog_cxx_stdcxx=no
4554if test x$ac_prog_cxx_stdcxx = xno 4507if test x$ac_prog_cxx_stdcxx = xno
4555then : 4508then :
4556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 4509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
4557printf %s "checking for $CXX option to enable C++11 features... " >&6; } 4510printf %s "checking for $CXX option to enable C++11 features... " >&6; }
4558if test ${ac_cv_prog_cxx_11+y} 4511if test ${ac_cv_prog_cxx_cxx11+y}
4559then : 4512then :
4560 printf %s "(cached) " >&6 4513 printf %s "(cached) " >&6
4561else $as_nop 4514else $as_nop
4562 ac_cv_prog_cxx_11=no 4515 ac_cv_prog_cxx_cxx11=no
4563ac_save_CXX=$CXX 4516ac_save_CXX=$CXX
4564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4517cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565/* end confdefs.h. */ 4518/* end confdefs.h. */
4566$ac_cxx_conftest_cxx11_program 4519$ac_cxx_conftest_cxx11_program
4567_ACEOF 4520_ACEOF
4599fi 4552fi
4600if test x$ac_prog_cxx_stdcxx = xno 4553if test x$ac_prog_cxx_stdcxx = xno
4601then : 4554then :
4602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 4555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
4603printf %s "checking for $CXX option to enable C++98 features... " >&6; } 4556printf %s "checking for $CXX option to enable C++98 features... " >&6; }
4604if test ${ac_cv_prog_cxx_98+y} 4557if test ${ac_cv_prog_cxx_cxx98+y}
4605then : 4558then :
4606 printf %s "(cached) " >&6 4559 printf %s "(cached) " >&6
4607else $as_nop 4560else $as_nop
4608 ac_cv_prog_cxx_98=no 4561 ac_cv_prog_cxx_cxx98=no
4609ac_save_CXX=$CXX 4562ac_save_CXX=$CXX
4610cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4563cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611/* end confdefs.h. */ 4564/* end confdefs.h. */
4612$ac_cxx_conftest_cxx98_program 4565$ac_cxx_conftest_cxx98_program
4613_ACEOF 4566_ACEOF
4916 4869
4917fi 4870fi
4918 if test $ac_cv_should_define__xopen_source = yes 4871 if test $ac_cv_should_define__xopen_source = yes
4919then : 4872then :
4920 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h 4873 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4921
4922fi
4923
4924
4925
4926{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4927printf %s "checking for library containing strerror... " >&6; }
4928if test ${ac_cv_search_strerror+y}
4929then :
4930 printf %s "(cached) " >&6
4931else $as_nop
4932 ac_func_search_save_LIBS=$LIBS
4933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934/* end confdefs.h. */
4935
4936/* Override any GCC internal prototype to avoid an error.
4937 Use char because int might match the return type of a GCC
4938 builtin and then its argument prototype would still apply. */
4939char strerror ();
4940int
4941main (void)
4942{
4943return strerror ();
4944 ;
4945 return 0;
4946}
4947_ACEOF
4948for ac_lib in '' cposix
4949do
4950 if test -z "$ac_lib"; then
4951 ac_res="none required"
4952 else
4953 ac_res=-l$ac_lib
4954 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4955 fi
4956 if ac_fn_c_try_link "$LINENO"
4957then :
4958 ac_cv_search_strerror=$ac_res
4959fi
4960rm -f core conftest.err conftest.$ac_objext conftest.beam \
4961 conftest$ac_exeext
4962 if test ${ac_cv_search_strerror+y}
4963then :
4964 break
4965fi
4966done
4967if test ${ac_cv_search_strerror+y}
4968then :
4969
4970else $as_nop
4971 ac_cv_search_strerror=no
4972fi
4973rm conftest.$ac_ext
4974LIBS=$ac_func_search_save_LIBS
4975fi
4976{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4977printf "%s\n" "$ac_cv_search_strerror" >&6; }
4978ac_res=$ac_cv_search_strerror
4979if test "$ac_res" != no
4980then :
4981 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4982 4874
4983fi 4875fi
4984 4876
4985ac_ext=cpp 4877ac_ext=cpp
4986ac_cpp='$CXXCPP $CPPFLAGS' 4878ac_cpp='$CXXCPP $CPPFLAGS'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines