Changeset 8202 for trunk/gsdl/configure
- Timestamp:
- 2004-10-01T12:03:13+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/configure
r8200 r8202 2987 2987 2988 2988 2989 echo $ac_n "checking for textdomain 2990 echo "configure:2991: checking for textdomain 2991 if eval "test \"`echo '$''{'ac_cv_func_textdomain 2989 echo $ac_n "checking for textdomain""... $ac_c" 1>&6 2990 echo "configure:2991: checking for textdomain" >&5 2991 if eval "test \"`echo '$''{'ac_cv_func_textdomain'+set}'`\" = set"; then 2992 2992 echo $ac_n "(cached) $ac_c" 1>&6 2993 2993 else … … 2996 2996 #include "confdefs.h" 2997 2997 /* System header to define __stub macros and hopefully few prototypes, 2998 which can conflict with char textdomain 2998 which can conflict with char textdomain(); below. */ 2999 2999 #include <assert.h> 3000 3000 /* Override any gcc2 internal prototype to avoid an error. */ 3001 3001 /* We use char because int might match the return type of a gcc2 3002 3002 builtin and then its argument prototype would still apply. */ 3003 char textdomain 3003 char textdomain(); 3004 3004 3005 3005 int main() { … … 3008 3008 to always fail with ENOSYS. Some functions are actually named 3009 3009 something starting with __ and the normal name is an alias. */ 3010 #if defined (__stub_textdomain ) || defined (__stub___textdomain)3010 #if defined (__stub_textdomain) || defined (__stub___textdomain) 3011 3011 choke me 3012 3012 #else 3013 textdomain 3013 textdomain(); 3014 3014 #endif 3015 3015 … … 3018 3018 if { (eval echo configure:3019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3019 3019 rm -rf conftest* 3020 eval "ac_cv_func_textdomain 3021 else 3022 echo "configure: failed program was:" >&5 3023 cat conftest.$ac_ext >&5 3024 rm -rf conftest* 3025 eval "ac_cv_func_textdomain 3026 fi 3027 rm -f conftest* 3028 fi 3029 3030 if eval "test \"`echo '$ac_cv_func_'textdomain 3020 eval "ac_cv_func_textdomain=yes" 3021 else 3022 echo "configure: failed program was:" >&5 3023 cat conftest.$ac_ext >&5 3024 rm -rf conftest* 3025 eval "ac_cv_func_textdomain=no" 3026 fi 3027 rm -f conftest* 3028 fi 3029 3030 if eval "test \"`echo '$ac_cv_func_'textdomain`\" = yes"; then 3031 3031 echo "$ac_t""yes" 1>&6 3032 3032 cat >> confdefs.h <<\EOF … … 3455 3455 3456 3456 # --------------------------------------------------------------------------- 3457 ac_configure_args="$ac_configure_args --host=$host --target=$target"3458 3457 subdirs="packages" 3459 3458
Note:
See TracChangeset
for help on using the changeset viewer.