|
1 | 1 | #! /bin/sh |
2 | | -# From configure.in Revision: 1.416 . |
| 2 | +# From configure.in Revision: 1.417 . |
3 | 3 | # Guess values for system-dependent variables and create Makefiles. |
4 | 4 | # Generated by GNU Autoconf 2.53 for python 2.3. |
5 | 5 | # |
@@ -9930,6 +9930,70 @@ fi |
9930 | 9930 | # 'Real Time' functions on Solaris |
9931 | 9931 | # posix4 on Solaris 2.6 |
9932 | 9932 | # pthread (first!) on Linux |
| 9933 | +# check if we need libintl for locale functions |
| 9934 | +echo "$as_me:$LINENO: checking for textdomain in -lintl" >&5 |
| 9935 | +echo $ECHO_N "checking for textdomain in -lintl... $ECHO_C" >&6 |
| 9936 | +if test "${ac_cv_lib_intl_textdomain+set}" = set; then |
| 9937 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9938 | +else |
| 9939 | + ac_check_lib_save_LIBS=$LIBS |
| 9940 | +LIBS="-lintl $LIBS" |
| 9941 | +cat >conftest.$ac_ext <<_ACEOF |
| 9942 | +#line $LINENO "configure" |
| 9943 | +#include "confdefs.h" |
| 9944 | +
|
| 9945 | +/* Override any gcc2 internal prototype to avoid an error. */ |
| 9946 | +#ifdef __cplusplus |
| 9947 | +extern "C" |
| 9948 | +#endif |
| 9949 | +/* We use char because int might match the return type of a gcc2 |
| 9950 | + builtin and then its argument prototype would still apply. */ |
| 9951 | +char textdomain (); |
| 9952 | +#ifdef F77_DUMMY_MAIN |
| 9953 | +# ifdef __cplusplus |
| 9954 | + extern "C" |
| 9955 | +# endif |
| 9956 | + int F77_DUMMY_MAIN() { return 1; } |
| 9957 | +#endif |
| 9958 | +int |
| 9959 | +main () |
| 9960 | +{ |
| 9961 | +textdomain (); |
| 9962 | + ; |
| 9963 | + return 0; |
| 9964 | +} |
| 9965 | +_ACEOF |
| 9966 | +rm -f conftest.$ac_objext conftest$ac_exeext |
| 9967 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9968 | + (eval $ac_link) 2>&5 |
| 9969 | + ac_status=$? |
| 9970 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9971 | + (exit $ac_status); } && |
| 9972 | + { ac_try='test -s conftest$ac_exeext' |
| 9973 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9974 | + (eval $ac_try) 2>&5 |
| 9975 | + ac_status=$? |
| 9976 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9977 | + (exit $ac_status); }; }; then |
| 9978 | + ac_cv_lib_intl_textdomain=yes |
| 9979 | +else |
| 9980 | + echo "$as_me: failed program was:" >&5 |
| 9981 | +cat conftest.$ac_ext >&5 |
| 9982 | +ac_cv_lib_intl_textdomain=no |
| 9983 | +fi |
| 9984 | +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 9985 | +LIBS=$ac_check_lib_save_LIBS |
| 9986 | +fi |
| 9987 | +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_textdomain" >&5 |
| 9988 | +echo "${ECHO_T}$ac_cv_lib_intl_textdomain" >&6 |
| 9989 | +if test $ac_cv_lib_intl_textdomain = yes; then |
| 9990 | +
|
| 9991 | +cat >>confdefs.h <<\_ACEOF |
| 9992 | +#define WITH_LIBINTL 1 |
| 9993 | +_ACEOF |
| 9994 | +
|
| 9995 | +fi |
| 9996 | +
|
9933 | 9997 |
|
9934 | 9998 | # checks for system dependent C++ extensions support |
9935 | 9999 | case "$ac_sys_system" in |
|
0 commit comments