Changeset 60 for branches/scons_build_creation/configure
- Timestamp:
- 09/06/06 17:00:28 (2 years ago)
- Files:
-
- branches/scons_build_creation/configure (modified) (49 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/scons_build_creation/configure
r17 r60 89 89 --enable-gif Build with gif support" 90 90 ac_help="$ac_help 91 --with-expat=DIR Where to find the expat files to use" 91 --with-libxml=DIR Where to find the libxml files to use" 92 ac_help="$ac_help 93 --with-collada=DIR Where to find the collada files to use" 92 94 ac_help="$ac_help 93 95 --with-efence=DIR Use efence lib, if DIR is given use the file from the given directory" … … 696 698 ac_gdz_conf_package_gif='0' 697 699 ac_gdz_conf_package_gif_e1='0' 698 ac_gdz_conf_package_ expat='0'699 ac_gdz_conf_package_ gif_expat='0'700 ac_gdz_conf_package_libxml='0' 701 ac_gdz_conf_package_libxml='0' 700 702 ac_gdz_conf_package_efence='0' 701 703 ac_gdz_conf_package_efence_e1='0' … … 1491 1493 1492 1494 1493 # Check whether --with- expat or --without-expatwas given.1494 if test "${with_ expat+set}" = set; then1495 withval="$with_ expat"1495 # Check whether --with-libxml or --without-libxml was given. 1496 if test "${with_libxml+set}" = set; then 1497 withval="$with_libxml" 1496 1498 : 1497 1499 else 1498 with_ expat=no1500 with_libxml=no 1499 1501 fi 1500 1502 1501 1503 1502 if test "$with_expat" = yes; then 1503 ac_gdz_expat_dir= 1504 ac_gdz_conf_package_defs=$ac_gdz_conf_package_defs' -DOSG_WITH_EXPAT' 1505 elif test "$with_expat" = no; then 1506 ac_gdz_expat_dir= 1507 else 1508 ac_gdz_expat_dir=$with_expat 1509 ac_gdz_conf_package_expat='1' 1510 ac_gdz_conf_package_defs=$ac_gdz_conf_package_defs' -DOSG_WITH_EXPAT' 1504 if test "$with_libxml" = yes; then 1505 ac_gdz_libxml_dir= 1506 ac_gdz_conf_package_defs=$ac_gdz_conf_package_defs' -DOSG_WITH_LIBXML' 1507 elif test "$with_libxml" = no; then 1508 ac_gdz_libxml_dir= 1509 else 1510 ac_gdz_libxml_dir=$with_libxml 1511 ac_gdz_conf_package_libxml='1' 1512 ac_gdz_conf_package_defs=$ac_gdz_conf_package_defs' -DOSG_WITH_LIBXML' 1513 fi 1514 1515 1516 # Check whether --with-collada or --without-collada was given. 1517 if test "${with_collada+set}" = set; then 1518 withval="$with_collada" 1519 : 1520 else 1521 with_collada=no 1522 fi 1523 1524 1525 if test "$with_collada" = yes; then 1526 ac_gdz_collada_dir= 1527 ac_gdz_conf_package_defs=$ac_gdz_conf_package_defs' -DOSG_WITH_COLLADA' 1528 elif test "$with_collada" = no; then 1529 ac_gdz_collada_dir= 1530 else 1531 ac_gdz_collada_dir=$with_collada 1532 ac_gdz_conf_package_collada='1' 1533 ac_gdz_conf_package_defs=$ac_gdz_conf_package_defs' -DOSG_WITH_COLLADA' 1511 1534 fi 1512 1535 … … 2027 2050 2028 2051 2052 2053 2054 2029 2055 2030 2056 … … 2159 2185 2160 2186 echo $ac_n "checking host system type""... $ac_c" 1>&6 2161 echo "configure:21 62: checking host system type" >&52187 echo "configure:2188: checking host system type" >&5 2162 2188 2163 2189 host_alias=$host … … 2180 2206 2181 2207 echo $ac_n "checking target system type""... $ac_c" 1>&6 2182 echo "configure:2 183: checking target system type" >&52208 echo "configure:2209: checking target system type" >&5 2183 2209 2184 2210 target_alias=$target … … 2198 2224 2199 2225 echo $ac_n "checking build system type""... $ac_c" 1>&6 2200 echo "configure:22 01: checking build system type" >&52226 echo "configure:2227: checking build system type" >&5 2201 2227 2202 2228 build_alias=$build … … 2260 2286 2261 2287 echo $ac_n "checking "site config conf.$build-$ac_gdz_compiler.in"""... $ac_c" 1>&6 2262 echo "configure:22 63: checking "site config conf.$build-$ac_gdz_compiler.in"" >&52288 echo "configure:2289: checking "site config conf.$build-$ac_gdz_compiler.in"" >&5 2263 2289 2264 2290 if test -r "$ac_gdz_commonconf_dir/conf.$build-$ac_gdz_compiler.in"; then … … 2272 2298 2273 2299 echo $ac_n "checking "/ guessing compiler dir for $build-$ac_gdz_compiler"""... $ac_c" 1>&6 2274 echo "configure:2 275: checking "/ guessing compiler dir for $build-$ac_gdz_compiler"" >&52300 echo "configure:2301: checking "/ guessing compiler dir for $build-$ac_gdz_compiler"" >&5 2275 2301 2276 2302 case "$build_os" in … … 2614 2640 if test $ac_gdz_check_compiler_available = yes; then 2615 2641 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is available""... $ac_c" 1>&6 2616 echo "configure:26 17: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is available" >&52642 echo "configure:2643: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is available" >&5 2617 2643 2618 2644 … … 2631 2657 set dummy $ac_prog; ac_word=$2 2632 2658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2633 echo "configure:26 34: checking for $ac_word" >&52659 echo "configure:2660: checking for $ac_word" >&5 2634 2660 if eval "test \"`echo '$''{'ac_cv_path_CC'+set}'`\" = set"; then 2635 2661 echo $ac_n "(cached) $ac_c" 1>&6 … … 2673 2699 set dummy $ac_prog; ac_word=$2 2674 2700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2675 echo "configure:2 676: checking for $ac_word" >&52701 echo "configure:2702: checking for $ac_word" >&5 2676 2702 if eval "test \"`echo '$''{'ac_cv_path_CC'+set}'`\" = set"; then 2677 2703 echo $ac_n "(cached) $ac_c" 1>&6 … … 2731 2757 set dummy $ac_prog; ac_word=$2 2732 2758 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2733 echo "configure:27 34: checking for $ac_word" >&52759 echo "configure:2760: checking for $ac_word" >&5 2734 2760 if eval "test \"`echo '$''{'ac_cv_path_CXX'+set}'`\" = set"; then 2735 2761 echo $ac_n "(cached) $ac_c" 1>&6 … … 2773 2799 set dummy $ac_prog; ac_word=$2 2774 2800 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2775 echo "configure:2 776: checking for $ac_word" >&52801 echo "configure:2802: checking for $ac_word" >&5 2776 2802 if eval "test \"`echo '$''{'ac_cv_path_CXX'+set}'`\" = set"; then 2777 2803 echo $ac_n "(cached) $ac_c" 1>&6 … … 2815 2841 else 2816 2842 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2817 echo "configure:28 18: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52843 echo "configure:2844: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2818 2844 2819 2845 ac_ext=c … … 2831 2857 set dummy $ac_prog; ac_word=$2 2832 2858 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2833 echo "configure:28 34: checking for $ac_word" >&52859 echo "configure:2860: checking for $ac_word" >&5 2834 2860 if eval "test \"`echo '$''{'ac_cv_path_CC'+set}'`\" = set"; then 2835 2861 echo $ac_n "(cached) $ac_c" 1>&6 … … 2873 2899 set dummy $ac_prog; ac_word=$2 2874 2900 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2875 echo "configure:2 876: checking for $ac_word" >&52901 echo "configure:2902: checking for $ac_word" >&5 2876 2902 if eval "test \"`echo '$''{'ac_cv_path_CC'+set}'`\" = set"; then 2877 2903 echo $ac_n "(cached) $ac_c" 1>&6 … … 2913 2939 cat > conftest.$ac_ext << EOF 2914 2940 2915 #line 29 16"configure"2941 #line 2942 "configure" 2916 2942 #include "confdefs.h" 2917 2943 2918 2944 main(){return(0);} 2919 2945 EOF 2920 if { (eval echo configure:29 21: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2946 if { (eval echo configure:2947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2921 2947 ac_cv_prog_cc_works=yes 2922 2948 # If we can't run a trivial program, we are probably using a cross compiler. … … 2944 2970 fi 2945 2971 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2946 echo "configure:29 47: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52972 echo "configure:2973: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2947 2973 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2948 2974 cross_compiling=$ac_cv_prog_cc_cross … … 2956 2982 set dummy $ac_prog; ac_word=$2 2957 2983 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2958 echo "configure:29 59: checking for $ac_word" >&52984 echo "configure:2985: checking for $ac_word" >&5 2959 2985 if eval "test \"`echo '$''{'ac_cv_path_CXX'+set}'`\" = set"; then 2960 2986 echo $ac_n "(cached) $ac_c" 1>&6 … … 2998 3024 set dummy $ac_prog; ac_word=$2 2999 3025 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3000 echo "configure:30 01: checking for $ac_word" >&53026 echo "configure:3027: checking for $ac_word" >&5 3001 3027 if eval "test \"`echo '$''{'ac_cv_path_CXX'+set}'`\" = set"; then 3002 3028 echo $ac_n "(cached) $ac_c" 1>&6 … … 3042 3068 set dummy $ac_prog; ac_word=$2 3043 3069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3044 echo "configure:30 45: checking for $ac_word" >&53070 echo "configure:3071: checking for $ac_word" >&5 3045 3071 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 3046 3072 echo $ac_n "(cached) $ac_c" 1>&6 … … 3078 3104 set dummy $ac_prog; ac_word=$2 3079 3105 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3080 echo "configure:3 081: checking for $ac_word" >&53106 echo "configure:3107: checking for $ac_word" >&5 3081 3107 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 3082 3108 echo $ac_n "(cached) $ac_c" 1>&6 … … 3112 3138 3113 3139 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 3114 echo "configure:31 15: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&53140 echo "configure:3141: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 3115 3141 3116 3142 ac_ext=C … … 3123 3149 cat > conftest.$ac_ext << EOF 3124 3150 3125 #line 31 26"configure"3151 #line 3152 "configure" 3126 3152 #include "confdefs.h" 3127 3153 3128 3154 int main(){return(0);} 3129 3155 EOF 3130 if { (eval echo configure:31 31: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3156 if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3131 3157 ac_cv_prog_cxx_works=yes 3132 3158 # If we can't run a trivial program, we are probably using a cross compiler. … … 3154 3180 fi 3155 3181 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 3156 echo "configure:31 57: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&53182 echo "configure:3183: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 3157 3183 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 3158 3184 cross_compiling=$ac_cv_prog_cxx_cross 3159 3185 3160 3186 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 3161 echo "configure:31 62: checking whether we are using GNU C++" >&53187 echo "configure:3188: checking whether we are using GNU C++" >&5 3162 3188 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 3163 3189 echo $ac_n "(cached) $ac_c" 1>&6 … … 3168 3194 #endif 3169 3195 EOF 3170 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:31 71: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then3196 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:3197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 3171 3197 ac_cv_prog_gxx=yes 3172 3198 else … … 3181 3207 CXXFLAGS= 3182 3208 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 3183 echo "configure:3 184: checking whether ${CXX-g++} accepts -g" >&53209 echo "configure:3210: checking whether ${CXX-g++} accepts -g" >&5 3184 3210 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 3185 3211 echo $ac_n "(cached) $ac_c" 1>&6 … … 3219 3245 3220 3246 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 3221 echo "configure:32 22: checking for Cygwin environment" >&53247 echo "configure:3248: checking for Cygwin environment" >&5 3222 3248 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 3223 3249 echo $ac_n "(cached) $ac_c" 1>&6 3224 3250 else 3225 3251 cat > conftest.$ac_ext <<EOF 3226 #line 32 27"configure"3252 #line 3253 "configure" 3227 3253 #include "confdefs.h" 3228 3254 … … 3235 3261 ; return 0; } 3236 3262 EOF 3237 if { (eval echo configure:32 38: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3263 if { (eval echo configure:3264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3238 3264 rm -rf conftest* 3239 3265 ac_cv_cygwin=yes … … 3252 3278 test "$ac_cv_cygwin" = yes && CYGWIN=yes 3253 3279 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 3254 echo "configure:32 55: checking for mingw32 environment" >&53280 echo "configure:3281: checking for mingw32 environment" >&5 3255 3281 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 3256 3282 echo $ac_n "(cached) $ac_c" 1>&6 3257 3283 else 3258 3284 cat > conftest.$ac_ext <<EOF 3259 #line 32 60"configure"3285 #line 3286 "configure" 3260 3286 #include "confdefs.h" 3261 3287 … … 3264 3290 ; return 0; } 3265 3291 EOF 3266 if { (eval echo configure:32 67: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3292 if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3267 3293 rm -rf conftest* 3268 3294 ac_cv_mingw32=yes … … 3285 3311 cygwin*) 3286 3312 echo $ac_n "checking executable suffix""... $ac_c" 1>&6 3287 echo "configure:3 288: checking executable suffix" >&53313 echo "configure:3314: checking executable suffix" >&5 3288 3314 EXEEXT=.exe 3289 3315 ac_gdz_exe_suffix=.exe … … 3295 3321 3296 3322 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 3297 echo "configure:3 298: checking for executable suffix" >&53323 echo "configure:3324: checking for executable suffix" >&5 3298 3324 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 3299 3325 echo $ac_n "(cached) $ac_c" 1>&6 … … 3305 3331 echo 'int main () { return 0; }' > conftest.$ac_ext 3306 3332 ac_cv_exeext= 3307 if { (eval echo configure:33 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3333 if { (eval echo configure:3334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 3308 3334 for file in conftest.*; do 3309 3335 case $file in … … 3340 3366 if test $ac_gdz_compiler_base = g++; then 3341 3367 echo $ac_n "checking obj suffix""... $ac_c" 1>&6 3342 echo "configure:33 43: checking obj suffix" >&53368 echo "configure:3369: checking obj suffix" >&5 3343 3369 ac_gdz_obj_suffix=.o 3344 3370 echo "$ac_t""$ac_gdz_obj_suffix" 1>&6 3345 3371 else 3346 3372 echo $ac_n "checking obj suffix""... $ac_c" 1>&6 3347 echo "configure:33 48: checking obj suffix" >&53373 echo "configure:3374: checking obj suffix" >&5 3348 3374 ac_gdz_obj_suffix=.obj 3349 3375 echo "$ac_t""$ac_gdz_obj_suffix" 1>&6 … … 3353 3379 *) 3354 3380 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 3355 echo "configure:33 56: checking for object suffix" >&53381 echo "configure:3382: checking for object suffix" >&5 3356 3382 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 3357 3383 echo $ac_n "(cached) $ac_c" 1>&6 … … 3359 3385 rm -f conftest* 3360 3386 echo 'int i = 1;' > conftest.$ac_ext 3361 if { (eval echo configure:33 62: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3387 if { (eval echo configure:3388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3362 3388 for ac_file in conftest.*; do 3363 3389 case $ac_file in … … 3383 3409 3384 3410 echo $ac_n "checking lib suffix""... $ac_c" 1>&6 3385 echo "configure:3 386: checking lib suffix" >&53411 echo "configure:3412: checking lib suffix" >&5 3386 3412 3387 3413 case "$build_os" in … … 3405 3431 3406 3432 echo $ac_n "checking shared object suffix""... $ac_c" 1>&6 3407 echo "configure:34 08: checking shared object suffix" >&53433 echo "configure:3434: checking shared object suffix" >&5 3408 3434 3409 3435 case "$build_os" in … … 3430 3456 3431 3457 echo $ac_n "checking shared object praefix""... $ac_c" 1>&6 3432 echo "configure:34 33: checking shared object praefix" >&53458 echo "configure:3459: checking shared object praefix" >&5 3433 3459 3434 3460 case "$build_os" in … … 3453 3479 3454 3480 echo $ac_n "checking system dir""... $ac_c" 1>&6 3455 echo "configure:34 56: checking system dir" >&53481 echo "configure:3482: checking system dir" >&5 3456 3482 3457 3483 if test $enable_win_exclude_default_path = no; then … … 3696 3722 3697 3723 echo $ac_n "checking project config common.project.in""... $ac_c" 1>&6 3698 echo "configure:3 699: checking project config common.project.in" >&53724 echo "configure:3725: checking project config common.project.in" >&5 3699 3725 3700 3726 if test -r "$ac_gdz_commonconf_dir/common.project.in"; then … … 3707 3733 3708 3734 echo $ac_n "checking package config common.libs.in""... $ac_c" 1>&6 3709 echo "configure:37 10: checking package config common.libs.in" >&53735 echo "configure:3736: checking package config common.libs.in" >&5 3710 3736 3711 3737 if test -r "$ac_gdz_commonconf_dir/common.libs.in"; then … … 3719 3745 3720 3746 echo $ac_n "checking additional package configs""... $ac_c" 1>&6 3721 echo "configure:37 22: checking additional package configs" >&53747 echo "configure:3748: checking additional package configs" >&5 3722 3748 3723 3749 for i in `find . -name common.libs.in | sed -e 's|^./||'` ; … … 7244 7270 7245 7271 7246 ac_gdz_ expat_lib_e23=7247 ac_gdz_ expat_incdir_e23=7248 ac_gdz_ expat_libdir_e23=7249 7250 if test -n "$ac_gdz_ expat_dir"; then7272 ac_gdz_libxml_lib_e23= 7273 ac_gdz_libxml_incdir_e23= 7274 ac_gdz_libxml_libdir_e23= 7275 7276 if test -n "$ac_gdz_libxml_dir"; then 7251 7277 if test $build_os = cygwin; then 7252 7278 echo $ac_gdz_exapt_dir 7253 ac_gdz_ expat_incdir_e23='"'`cygpath -w $ac_gdz_expat_dir`'\include"'7254 ac_gdz_ expat_libdir_e23='"'`cygpath -w $ac_gdz_expat_dir`'\lib"'7255 ac_gdz_ expat_lib_e23="Libexpat.lib"7279 ac_gdz_libxml_incdir_e23='"'`cygpath -w $ac_gdz_libxml_dir`'\include"' 7280 ac_gdz_libxml_libdir_e23='"'`cygpath -w $ac_gdz_libxml_dir`'\lib"' 7281 ac_gdz_libxml_lib_e23="Libxml.lib" 7256 7282 else 7257 ac_gdz_ expat_incdir_e23="$ac_gdz_expat_dir/include"7258 ac_gdz_ expat_libdir_e23="$ac_gdz_expat_dir/lib"7283 ac_gdz_libxml_incdir_e23="$ac_gdz_libxml_dir/include" 7284 ac_gdz_libxml_libdir_e23="$ac_gdz_libxml_dir/lib" 7259 7285 fi 7260 7286 fi 7261 7287 7262 if test "$with_expat" != no; then 7263 ac_gdz_expat_lib_e23="-lexpat" 7264 fi 7265 7266 ac_gdz_common_expat_in_e23=$ac_gdz_commonconf_dir/commonEXPAT.in 7267 ac_gdz_common_expat_e23=$ac_gdz_commonpackage_dir/commonEXPAT.mk 7288 if test "$with_libxml" != no; then 7289 if test $build_os = cygwin; then 7290 ac_gdz_libxml_lib_e23="libxml.lib" 7291 else 7292 ac_gdz_libxml_lib_e23="-lxml2" 7293 fi 7294 fi 7295 7296 ac_gdz_common_libxml_in_e23=$ac_gdz_commonconf_dir/commonLIBXML.in 7297 ac_gdz_common_libxml_e23=$ac_gdz_commonpackage_dir/commonLIBXML.mk 7268 7298 7269 7299 … … 7327 7357 ac_given_srcdir=$srcdir 7328 7358 7329 trap 'rm -fr `echo "$ac_gdz_common_ expat_e23:$ac_gdz_common_expat_in_e23 $ac_gdz_package_sub_dir_out/Base/OSGConfigured.h:CommonConf/OSGConfigured.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 157359 trap 'rm -fr `echo "$ac_gdz_common_libxml_e23:$ac_gdz_common_libxml_in_e23 $ac_gdz_package_sub_dir_out/Base/OSGConfigured.h:CommonConf/OSGConfigured.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 7330 7360 EOF 7331 7361 cat >> $CONFIG_STATUS <<EOF … … 7336 7366 $ac_vpsub 7337 7367 $extrasub 7338 s%@ac_gdz_ expat_incdir_e23@%$ac_gdz_expat_incdir_e23%g7339 s%@ac_gdz_ expat_libdir_e23@%$ac_gdz_expat_libdir_e23%g7340 s%@ac_gdz_ expat_lib_e23@%$ac_gdz_expat_lib_e23%g7368 s%@ac_gdz_libxml_incdir_e23@%$ac_gdz_libxml_incdir_e23%g 7369 s%@ac_gdz_libxml_libdir_e23@%$ac_gdz_libxml_libdir_e23%g 7370 s%@ac_gdz_libxml_lib_e23@%$ac_gdz_libxml_lib_e23%g 7341 7371 7342 7372 CEOF … … 7380 7410 cat >> $CONFIG_STATUS <<EOF 7381 7411 7382 CONFIG_FILES=\${CONFIG_FILES-"$ac_gdz_common_expat_e23:$ac_gdz_common_expat_in_e23"} 7412 CONFIG_FILES=\${CONFIG_FILES-"$ac_gdz_common_libxml_e23:$ac_gdz_common_libxml_in_e23"} 7413 EOF 7414 cat >> $CONFIG_STATUS <<\EOF 7415 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 7416 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7417 case "$ac_file" in 7418 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 7419 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 7420 *) ac_file_in="${ac_file}.in" ;; 7421 esac 7422 7423 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 7424 7425 # Remove last slash and all that follows it. Not all systems have dirname. 7426 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 7427 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 7428 # The file is in a subdirectory. 7429 test ! -d "$ac_dir" && mkdir "$ac_dir" 7430 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 7431 # A "../" for each directory in $ac_dir_suffix. 7432 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 7433 else 7434 ac_dir_suffix= ac_dots= 7435 fi 7436 7437 case "$ac_given_srcdir" in 7438 .) srcdir=. 7439 if test -z "$ac_dots"; then top_srcdir=. 7440 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 7441 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 7442 *) # Relative path. 7443 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 7444 top_srcdir="$ac_dots$ac_given_srcdir" ;; 7445 esac 7446 7447 7448 echo creating "$ac_file" 7449 rm -f "$ac_file" 7450 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 7451 case "$ac_file" in 7452 *Makefile*) ac_comsub="1i\\ 7453 # $configure_input" ;; 7454 *) ac_comsub= ;; 7455 esac 7456 7457 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 7458 sed -e "$ac_comsub 7459 s%@configure_input@%$configure_input%g 7460 s%@srcdir@%$srcdir%g 7461 s%@top_srcdir@%$top_srcdir%g 7462 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 7463 fi; done 7464 rm -f conftest.s* 7465 7466 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 7467 # NAME is the cpp macro being defined and VALUE is the value it is being given. 7468 # 7469 # ac_d sets the value in "#define NAME VALUE" lines. 7470 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' 7471 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' 7472 ac_dC='\3' 7473 ac_dD='%g' 7474 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". 7475 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 7476 ac_uB='\([ ]\)%\1#\2define\3' 7477 ac_uC=' ' 7478 ac_uD='\4%g' 7479 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 7480 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 7481 ac_eB='$%\1#\2define\3' 7482 ac_eC=' ' 7483 ac_eD='%g' 7484 7485 if test "${CONFIG_HEADERS+set}" != set; then 7486 EOF 7487 cat >> $CONFIG_STATUS <<EOF 7488 CONFIG_HEADERS="$ac_gdz_package_sub_dir_out/Base/OSGConfigured.h:CommonConf/OSGConfigured.h.in" 7489 EOF 7490 cat >> $CONFIG_STATUS <<\EOF 7491 fi 7492 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then 7493 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7494 case "$ac_file" in 7495 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 7496 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 7497 *) ac_file_in="${ac_file}.in" ;; 7498 esac 7499 7500 echo creating $ac_file 7501 7502 rm -f conftest.frag conftest.in conftest.out 7503 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 7504 cat $ac_file_inputs > conftest.in 7505 7506 EOF 7507 7508 # Transform confdefs.h into a sed script conftest.vals that substitutes 7509 # the proper values into config.h.in to produce config.h. And first: 7510 # Protect against being on the right side of a sed subst in config.status. 7511 # Protect against being in an unquoted here document in config.status. 7512 rm -f conftest.vals 7513 cat > conftest.hdr <<\EOF 7514 s/[\\&%]/\\&/g 7515 s%[\\$`]%\\&%g 7516 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp 7517 s%ac_d%ac_u%gp 7518 s%ac_u%ac_e%gp 7519 EOF 7520 sed -n -f conftest.hdr confdefs.h > conftest.vals 7521 rm -f conftest.hdr 7522 7523 # This sed command replaces #undef with comments. This is necessary, for 7524 # example, in the case of _POSIX_SOURCE, which is predefined and required 7525 # on some systems where configure will not decide to define it. 7526 cat >> conftest.vals <<\EOF 7527 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% 7528 EOF 7529 7530 # Break up conftest.vals because some shells have a limit on 7531 # the size of here documents, and old seds have small limits too. 7532 7533 rm -f conftest.tail 7534 while : 7535 do 7536 ac_lines=`grep -c . conftest.vals` 7537 # grep -c gives empty output for an empty file on some AIX systems. 7538 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi 7539 # Write a limited-size here document to conftest.frag. 7540 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS 7541 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS 7542 echo 'CEOF 7543 sed -f conftest.frag conftest.in > conftest.out 7544 rm -f conftest.in 7545 mv conftest.out conftest.in 7546 ' >> $CONFIG_STATUS 7547 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail 7548 rm -f conftest.vals 7549 mv conftest.tail conftest.vals 7550 done 7551 rm -f conftest.vals 7552 7553 cat >> $CONFIG_STATUS <<\EOF 7554 rm -f conftest.frag conftest.h 7555 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h 7556 cat conftest.in >> conftest.h 7557 rm -f conftest.in 7558 if cmp -s $ac_file conftest.h 2>/dev/null; then 7559 echo "$ac_file is unchanged" 7560 rm -f conftest.h 7561 else 7562 # Remove last slash and all that follows it. Not all systems have dirname. 7563 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 7564 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 7565 # The file is in a subdirectory. 7566 test ! -d "$ac_dir" && mkdir "$ac_dir" 7567 fi 7568 rm -f $ac_file 7569 mv conftest.h $ac_file 7570 fi 7571 fi; done 7572 7573 EOF 7574 cat >> $CONFIG_STATUS <<EOF 7575 7576 EOF 7577 cat >> $CONFIG_STATUS <<\EOF 7578 7579 exit 0 7580 EOF 7581 chmod +x $CONFIG_STATUS 7582 rm -fr confdefs* $ac_clean_files 7583 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 7584 7585 7586 7587 7588 7589 ac_gdz_collada_lib_e25= 7590 ac_gdz_collada_incdir_e25= 7591 ac_gdz_collada_libdir_e25= 7592 7593 if test -n "$ac_gdz_collada_dir"; then 7594 if test $build_os = cygwin; then 7595 echo $ac_gdz_exapt_dir 7596 ac_gdz_collada_incdir_e25='"'`cygpath -w $ac_gdz_collada_dir`'\include"' 7597 ac_gdz_collada_libdir_e25='"'`cygpath -w $ac_gdz_collada_dir`'\lib"' 7598 ac_gdz_collada_lib_e25="Libcollada.lib" 7599 else 7600 ac_gdz_collada_incdir_e25="$ac_gdz_collada_dir/include $ac_gdz_collada_dir/include/1.4" 7601 ac_gdz_collada_libdir_e25="$ac_gdz_collada_dir/lib-\$(DBG)" 7602 fi 7603 fi 7604 7605 if test "$with_collada" != no; then 7606 if test $build_os = cygwin; then 7607 ac_gdz_collada_lib_e25="libcollada.lib" 7608 else 7609 ac_gdz_collada_lib_e25="-lcollada_dae -lcollada_LIBXMLPlugin -lcollada_STLDatabase -lcollada_dom -lcollada_stdErrPlugin" 7610 fi 7611 fi 7612 7613 ac_gdz_common_collada_in_e25=$ac_gdz_commonconf_dir/commonCOLLADA.in 7614 ac_gdz_common_collada_e25=$ac_gdz_commonpackage_dir/commonCOLLADA.mk 7615 7616 7617 7618 7619 7620 touch confdefs.h 7621 7622 trap '' 1 2 15 7623 7624 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 7625 7626 test "x$prefix" = xNONE && prefix=$ac_default_prefix 7627 # Let make expand exec_prefix. 7628 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7629 7630 # Any assignment to VPATH causes Sun make to only execute 7631 # the first set of double-colon rules, so remove it if not needed. 7632 # If there is a colon in the path, we need to keep it. 7633 if test "x$srcdir" = x.; then 7634 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' 7635 fi 7636 7637 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 7638 7639 DEFS=-DHAVE_CONFIG_H 7640 7641 # Without the "./", some shells look in PATH for config.status. 7642 : ${CONFIG_STATUS=./config.status} 7643 7644 echo creating $CONFIG_STATUS 7645 rm -f $CONFIG_STATUS 7646 cat > $CONFIG_STATUS <<EOF 7647 #! /bin/sh 7648 # Generated automatically by configure. 7649 # Run this file to recreate the current configuration. 7650 # This directory was configured as follows, 7651 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 7652 # 7653 # $0 $ac_configure_args 7654 # 7655 # Compiler output produced by configure, useful for debugging 7656 # configure, is in ./config.log if it exists. 7657 7658 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 7659 for ac_option 7660 do 7661 case "\$ac_option" in 7662 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7663 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 7664 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 7665 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 7666 echo "$CONFIG_STATUS generated by autoconf version 2.13" 7667 exit 0 ;; 7668 -help | --help | --hel | --he | --h) 7669 echo "\$ac_cs_usage"; exit 0 ;; 7670 *) echo "\$ac_cs_usage"; exit 1 ;; 7671 esac 7672 done 7673 7674 ac_given_srcdir=$srcdir 7675 7676 trap 'rm -fr `echo "$ac_gdz_common_collada_e25:$ac_gdz_common_collada_in_e25 $ac_gdz_package_sub_dir_out/Base/OSGConfigured.h:CommonConf/OSGConfigured.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 7677 EOF 7678 cat >> $CONFIG_STATUS <<EOF 7679 7680 # Protect against being on the right side of a sed subst in config.status. 7681 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 7682 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 7683 $ac_vpsub 7684 $extrasub 7685 s%@ac_gdz_collada_incdir_e25@%$ac_gdz_collada_incdir_e25%g 7686 s%@ac_gdz_collada_libdir_e25@%$ac_gdz_collada_libdir_e25%g 7687 s%@ac_gdz_collada_lib_e25@%$ac_gdz_collada_lib_e25%g 7688 7689 CEOF 7690 EOF 7691 7692 cat >> $CONFIG_STATUS <<\EOF 7693 7694 # Split the substitutions into bite-sized pieces for seds with 7695 # small command number limits, like on Digital OSF/1 and HP-UX. 7696 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 7697 ac_file=1 # Number of current file. 7698 ac_beg=1 # First line for current file. 7699 ac_end=$ac_max_sed_cmds # Line after last line for current file. 7700 ac_more_lines=: 7701 ac_sed_cmds="" 7702 while $ac_more_lines; do 7703 if test $ac_beg -gt 1; then 7704 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 7705 else 7706 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 7707 fi 7708 if test ! -s conftest.s$ac_file; then 7709 ac_more_lines=false 7710 rm -f conftest.s$ac_file 7711 else 7712 if test -z "$ac_sed_cmds"; then 7713 ac_sed_cmds="sed -f conftest.s$ac_file" 7714 else 7715 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 7716 fi 7717 ac_file=`expr $ac_file + 1` 7718 ac_beg=$ac_end 7719 ac_end=`expr $ac_end + $ac_max_sed_cmds` 7720 fi 7721 done 7722 if test -z "$ac_sed_cmds"; then 7723 ac_sed_cmds=cat 7724 fi 7725 EOF 7726 7727 cat >> $CONFIG_STATUS <<EOF 7728 7729 CONFIG_FILES=\${CONFIG_FILES-"$ac_gdz_common_collada_e25:$ac_gdz_common_collada_in_e25"} 7383 7730 EOF 7384 7731 cat >> $CONFIG_STATUS <<\EOF
