Show
Ignore:
Timestamp:
09/06/06 17:00:28 (2 years ago)
Author:
allenb
Message:

Merge from trunk: Using command: svn merge -r16:56 https://opensg.vrsource.org/svn/trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/scons_build_creation/configure

    r17 r60  
    8989  --enable-gif                        Build with gif support" 
    9090ac_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" 
     92ac_help="$ac_help 
     93  --with-collada=DIR          Where to find the collada files to use" 
    9294ac_help="$ac_help 
    9395  --with-efence=DIR                   Use efence  lib, if DIR is given use the file from the given directory" 
     
    696698ac_gdz_conf_package_gif='0' 
    697699ac_gdz_conf_package_gif_e1='0' 
    698 ac_gdz_conf_package_expat='0' 
    699 ac_gdz_conf_package_gif_expat='0' 
     700ac_gdz_conf_package_libxml='0' 
     701ac_gdz_conf_package_libxml='0' 
    700702ac_gdz_conf_package_efence='0' 
    701703ac_gdz_conf_package_efence_e1='0' 
     
    14911493 
    14921494 
    1493 # Check whether --with-expat or --without-expat was given. 
    1494 if test "${with_expat+set}" = set; then 
    1495   withval="$with_expat
     1495# Check whether --with-libxml or --without-libxml was given. 
     1496if test "${with_libxml+set}" = set; then 
     1497  withval="$with_libxml
    14961498  : 
    14971499else 
    1498   with_expat=no 
     1500  with_libxml=no 
    14991501fi 
    15001502  
    15011503 
    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' 
     1504if test "$with_libxml" = yes; then 
     1505        ac_gdz_libxml_dir= 
     1506        ac_gdz_conf_package_defs=$ac_gdz_conf_package_defs' -DOSG_WITH_LIBXML' 
     1507elif test "$with_libxml" = no; then 
     1508        ac_gdz_libxml_dir= 
     1509else 
     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' 
     1513fi 
     1514 
     1515 
     1516# Check whether --with-collada or --without-collada was given. 
     1517if test "${with_collada+set}" = set; then 
     1518  withval="$with_collada" 
     1519  : 
     1520else 
     1521  with_collada=no 
     1522fi 
     1523  
     1524 
     1525if test "$with_collada" = yes; then 
     1526        ac_gdz_collada_dir= 
     1527        ac_gdz_conf_package_defs=$ac_gdz_conf_package_defs' -DOSG_WITH_COLLADA' 
     1528elif test "$with_collada" = no; then 
     1529        ac_gdz_collada_dir= 
     1530else 
     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' 
    15111534fi 
    15121535 
     
    20272050 
    20282051  
     2052 
     2053 
     2054 
    20292055 
    20302056 
     
    21592185 
    21602186echo $ac_n "checking host system type""... $ac_c" 1>&6 
    2161 echo "configure:2162: checking host system type" >&5 
     2187echo "configure:2188: checking host system type" >&5 
    21622188 
    21632189host_alias=$host 
     
    21802206 
    21812207echo $ac_n "checking target system type""... $ac_c" 1>&6 
    2182 echo "configure:2183: checking target system type" >&5 
     2208echo "configure:2209: checking target system type" >&5 
    21832209 
    21842210target_alias=$target 
     
    21982224 
    21992225echo $ac_n "checking build system type""... $ac_c" 1>&6 
    2200 echo "configure:2201: checking build system type" >&5 
     2226echo "configure:2227: checking build system type" >&5 
    22012227 
    22022228build_alias=$build 
     
    22602286 
    22612287    echo $ac_n "checking "site config conf.$build-$ac_gdz_compiler.in"""... $ac_c" 1>&6 
    2262 echo "configure:2263: checking "site config conf.$build-$ac_gdz_compiler.in"" >&5 
     2288echo "configure:2289: checking "site config conf.$build-$ac_gdz_compiler.in"" >&5 
    22632289 
    22642290    if test -r "$ac_gdz_commonconf_dir/conf.$build-$ac_gdz_compiler.in"; then 
     
    22722298         
    22732299    echo $ac_n "checking "/ guessing compiler dir for $build-$ac_gdz_compiler"""... $ac_c" 1>&6 
    2274 echo "configure:2275: checking "/ guessing compiler dir for $build-$ac_gdz_compiler"" >&5 
     2300echo "configure:2301: checking "/ guessing compiler dir for $build-$ac_gdz_compiler"" >&5 
    22752301 
    22762302    case "$build_os" in 
     
    26142640    if test $ac_gdz_check_compiler_available = yes; then 
    26152641        echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is available""... $ac_c" 1>&6 
    2616 echo "configure:2617: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is available" >&5 
     2642echo "configure:2643: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is available" >&5 
    26172643 
    26182644 
     
    26312657set dummy $ac_prog; ac_word=$2 
    26322658echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2633 echo "configure:2634: checking for $ac_word" >&5 
     2659echo "configure:2660: checking for $ac_word" >&5 
    26342660if eval "test \"`echo '$''{'ac_cv_path_CC'+set}'`\" = set"; then 
    26352661  echo $ac_n "(cached) $ac_c" 1>&6 
     
    26732699set dummy $ac_prog; ac_word=$2 
    26742700echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2675 echo "configure:2676: checking for $ac_word" >&5 
     2701echo "configure:2702: checking for $ac_word" >&5 
    26762702if eval "test \"`echo '$''{'ac_cv_path_CC'+set}'`\" = set"; then 
    26772703  echo $ac_n "(cached) $ac_c" 1>&6 
     
    27312757set dummy $ac_prog; ac_word=$2 
    27322758echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2733 echo "configure:2734: checking for $ac_word" >&5 
     2759echo "configure:2760: checking for $ac_word" >&5 
    27342760if eval "test \"`echo '$''{'ac_cv_path_CXX'+set}'`\" = set"; then 
    27352761  echo $ac_n "(cached) $ac_c" 1>&6 
     
    27732799set dummy $ac_prog; ac_word=$2 
    27742800echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2775 echo "configure:2776: checking for $ac_word" >&5 
     2801echo "configure:2802: checking for $ac_word" >&5 
    27762802if eval "test \"`echo '$''{'ac_cv_path_CXX'+set}'`\" = set"; then 
    27772803  echo $ac_n "(cached) $ac_c" 1>&6 
     
    28152841    else 
    28162842        echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
    2817 echo "configure:2818: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 
     2843echo "configure:2844: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 
    28182844 
    28192845ac_ext=c 
     
    28312857set dummy $ac_prog; ac_word=$2 
    28322858echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2833 echo "configure:2834: checking for $ac_word" >&5 
     2859echo "configure:2860: checking for $ac_word" >&5 
    28342860if eval "test \"`echo '$''{'ac_cv_path_CC'+set}'`\" = set"; then 
    28352861  echo $ac_n "(cached) $ac_c" 1>&6 
     
    28732899set dummy $ac_prog; ac_word=$2 
    28742900echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2875 echo "configure:2876: checking for $ac_word" >&5 
     2901echo "configure:2902: checking for $ac_word" >&5 
    28762902if eval "test \"`echo '$''{'ac_cv_path_CC'+set}'`\" = set"; then 
    28772903  echo $ac_n "(cached) $ac_c" 1>&6 
     
    29132939cat > conftest.$ac_ext << EOF 
    29142940 
    2915 #line 2916 "configure" 
     2941#line 2942 "configure" 
    29162942#include "confdefs.h" 
    29172943 
    29182944main(){return(0);} 
    29192945EOF 
    2920 if { (eval echo configure:2921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2946if { (eval echo configure:2947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    29212947  ac_cv_prog_cc_works=yes 
    29222948  # If we can't run a trivial program, we are probably using a cross compiler. 
     
    29442970fi 
    29452971echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
    2946 echo "configure:2947: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 
     2972echo "configure:2973: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 
    29472973echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 
    29482974cross_compiling=$ac_cv_prog_cc_cross 
     
    29562982set dummy $ac_prog; ac_word=$2 
    29572983echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2958 echo "configure:2959: checking for $ac_word" >&5 
     2984echo "configure:2985: checking for $ac_word" >&5 
    29592985if eval "test \"`echo '$''{'ac_cv_path_CXX'+set}'`\" = set"; then 
    29602986  echo $ac_n "(cached) $ac_c" 1>&6 
     
    29983024set dummy $ac_prog; ac_word=$2 
    29993025echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    3000 echo "configure:3001: checking for $ac_word" >&5 
     3026echo "configure:3027: checking for $ac_word" >&5 
    30013027if eval "test \"`echo '$''{'ac_cv_path_CXX'+set}'`\" = set"; then 
    30023028  echo $ac_n "(cached) $ac_c" 1>&6 
     
    30423068set dummy $ac_prog; ac_word=$2 
    30433069echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    3044 echo "configure:3045: checking for $ac_word" >&5 
     3070echo "configure:3071: checking for $ac_word" >&5 
    30453071if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 
    30463072  echo $ac_n "(cached) $ac_c" 1>&6 
     
    30783104set dummy $ac_prog; ac_word=$2 
    30793105echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    3080 echo "configure:3081: checking for $ac_word" >&5 
     3106echo "configure:3107: checking for $ac_word" >&5 
    30813107if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 
    30823108  echo $ac_n "(cached) $ac_c" 1>&6 
     
    31123138 
    31133139echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
    3114 echo "configure:3115: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 
     3140echo "configure:3141: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 
    31153141 
    31163142ac_ext=C 
     
    31233149cat > conftest.$ac_ext << EOF 
    31243150 
    3125 #line 3126 "configure" 
     3151#line 3152 "configure" 
    31263152#include "confdefs.h" 
    31273153 
    31283154int main(){return(0);} 
    31293155EOF 
    3130 if { (eval echo configure:3131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3156if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    31313157  ac_cv_prog_cxx_works=yes 
    31323158  # If we can't run a trivial program, we are probably using a cross compiler. 
     
    31543180fi 
    31553181echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
    3156 echo "configure:3157: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 
     3182echo "configure:3183: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 
    31573183echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 
    31583184cross_compiling=$ac_cv_prog_cxx_cross 
    31593185 
    31603186echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 
    3161 echo "configure:3162: checking whether we are using GNU C++" >&5 
     3187echo "configure:3188: checking whether we are using GNU C++" >&5 
    31623188if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 
    31633189  echo $ac_n "(cached) $ac_c" 1>&6 
     
    31683194#endif 
    31693195EOF 
    3170 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:3171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
     3196if { 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 
    31713197  ac_cv_prog_gxx=yes 
    31723198else 
     
    31813207CXXFLAGS= 
    31823208echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 
    3183 echo "configure:3184: checking whether ${CXX-g++} accepts -g" >&5 
     3209echo "configure:3210: checking whether ${CXX-g++} accepts -g" >&5 
    31843210if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 
    31853211  echo $ac_n "(cached) $ac_c" 1>&6 
     
    32193245 
    32203246echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 
    3221 echo "configure:3222: checking for Cygwin environment" >&5 
     3247echo "configure:3248: checking for Cygwin environment" >&5 
    32223248if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 
    32233249  echo $ac_n "(cached) $ac_c" 1>&6 
    32243250else 
    32253251  cat > conftest.$ac_ext <<EOF 
    3226 #line 3227 "configure" 
     3252#line 3253 "configure" 
    32273253#include "confdefs.h" 
    32283254 
     
    32353261; return 0; } 
    32363262EOF 
    3237 if { (eval echo configure:3238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     3263if { (eval echo configure:3264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    32383264  rm -rf conftest* 
    32393265  ac_cv_cygwin=yes 
     
    32523278test "$ac_cv_cygwin" = yes && CYGWIN=yes 
    32533279echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 
    3254 echo "configure:3255: checking for mingw32 environment" >&5 
     3280echo "configure:3281: checking for mingw32 environment" >&5 
    32553281if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 
    32563282  echo $ac_n "(cached) $ac_c" 1>&6 
    32573283else 
    32583284  cat > conftest.$ac_ext <<EOF 
    3259 #line 3260 "configure" 
     3285#line 3286 "configure" 
    32603286#include "confdefs.h" 
    32613287 
     
    32643290; return 0; } 
    32653291EOF 
    3266 if { (eval echo configure:3267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     3292if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    32673293  rm -rf conftest* 
    32683294  ac_cv_mingw32=yes 
     
    32853311       cygwin*) 
    32863312        echo $ac_n "checking executable suffix""... $ac_c" 1>&6 
    3287 echo "configure:3288: checking executable suffix" >&5 
     3313echo "configure:3314: checking executable suffix" >&5 
    32883314        EXEEXT=.exe 
    32893315        ac_gdz_exe_suffix=.exe 
     
    32953321 
    32963322echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 
    3297 echo "configure:3298: checking for executable suffix" >&5 
     3323echo "configure:3324: checking for executable suffix" >&5 
    32983324if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 
    32993325  echo $ac_n "(cached) $ac_c" 1>&6 
     
    33053331  echo 'int main () { return 0; }' > conftest.$ac_ext 
    33063332  ac_cv_exeext= 
    3307   if { (eval echo configure:3308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 
     3333  if { (eval echo configure:3334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 
    33083334    for file in conftest.*; do 
    33093335      case $file in 
     
    33403366        if test $ac_gdz_compiler_base = g++; then 
    33413367                echo $ac_n "checking obj suffix""... $ac_c" 1>&6 
    3342 echo "configure:3343: checking obj suffix" >&5 
     3368echo "configure:3369: checking obj suffix" >&5 
    33433369                ac_gdz_obj_suffix=.o 
    33443370                echo "$ac_t""$ac_gdz_obj_suffix" 1>&6 
    33453371        else 
    33463372                echo $ac_n "checking obj suffix""... $ac_c" 1>&6 
    3347 echo "configure:3348: checking obj suffix" >&5 
     3373echo "configure:3374: checking obj suffix" >&5 
    33483374                ac_gdz_obj_suffix=.obj 
    33493375                echo "$ac_t""$ac_gdz_obj_suffix" 1>&6 
     
    33533379        *) 
    33543380        echo $ac_n "checking for object suffix""... $ac_c" 1>&6 
    3355 echo "configure:3356: checking for object suffix" >&5 
     3381echo "configure:3382: checking for object suffix" >&5 
    33563382if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 
    33573383  echo $ac_n "(cached) $ac_c" 1>&6 
     
    33593385  rm -f conftest* 
    33603386echo 'int i = 1;' > conftest.$ac_ext 
    3361 if { (eval echo configure:3362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     3387if { (eval echo configure:3388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    33623388  for ac_file in conftest.*; do 
    33633389    case $ac_file in 
     
    33833409 
    33843410    echo $ac_n "checking lib suffix""... $ac_c" 1>&6 
    3385 echo "configure:3386: checking lib suffix" >&5 
     3411echo "configure:3412: checking lib suffix" >&5 
    33863412 
    33873413    case "$build_os" in 
     
    34053431 
    34063432    echo $ac_n "checking shared object suffix""... $ac_c" 1>&6 
    3407 echo "configure:3408: checking shared object suffix" >&5 
     3433echo "configure:3434: checking shared object suffix" >&5 
    34083434 
    34093435    case "$build_os" in 
     
    34303456 
    34313457     echo $ac_n "checking shared object praefix""... $ac_c" 1>&6 
    3432 echo "configure:3433: checking shared object praefix" >&5 
     3458echo "configure:3459: checking shared object praefix" >&5 
    34333459 
    34343460     case "$build_os" in 
     
    34533479                 
    34543480    echo $ac_n "checking system dir""... $ac_c" 1>&6 
    3455 echo "configure:3456: checking system dir" >&5 
     3481echo "configure:3482: checking system dir" >&5 
    34563482 
    34573483    if test $enable_win_exclude_default_path = no; then 
     
    36963722 
    36973723echo $ac_n "checking project config common.project.in""... $ac_c" 1>&6 
    3698 echo "configure:3699: checking project config common.project.in" >&5 
     3724echo "configure:3725: checking project config common.project.in" >&5 
    36993725 
    37003726if test -r "$ac_gdz_commonconf_dir/common.project.in"; then 
     
    37073733 
    37083734echo $ac_n "checking package config common.libs.in""... $ac_c" 1>&6 
    3709 echo "configure:3710: checking package config common.libs.in" >&5 
     3735echo "configure:3736: checking package config common.libs.in" >&5 
    37103736 
    37113737if test -r "$ac_gdz_commonconf_dir/common.libs.in"; then 
     
    37193745 
    37203746echo $ac_n "checking additional package configs""... $ac_c" 1>&6 
    3721 echo "configure:3722: checking additional package configs" >&5 
     3747echo "configure:3748: checking additional package configs" >&5 
    37223748 
    37233749for i in `find . -name common.libs.in | sed -e 's|^./||'` ; 
     
    72447270 
    72457271 
    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"; then 
     7272    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 
    72517277        if test $build_os = cygwin; then 
    72527278           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" 
    72567282        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" 
    72597285        fi 
    72607286    fi 
    72617287 
    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 
    72687298 
    72697299     
     
    73277357ac_given_srcdir=$srcdir 
    73287358 
    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 15 
     7359trap '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 
    73307360EOF 
    73317361cat >> $CONFIG_STATUS <<EOF 
     
    73367366$ac_vpsub 
    73377367$extrasub 
    7338 s%@ac_gdz_expat_incdir_e23@%$ac_gdz_expat_incdir_e23%g 
    7339 s%@ac_gdz_expat_libdir_e23@%$ac_gdz_expat_libdir_e23%g 
    7340 s%@ac_gdz_expat_lib_e23@%$ac_gdz_expat_lib_e23%g 
     7368s%@ac_gdz_libxml_incdir_e23@%$ac_gdz_libxml_incdir_e23%g 
     7369s%@ac_gdz_libxml_libdir_e23@%$ac_gdz_libxml_libdir_e23%g 
     7370s%@ac_gdz_libxml_lib_e23@%$ac_gdz_libxml_lib_e23%g 
    73417371 
    73427372CEOF 
     
    73807410cat >> $CONFIG_STATUS <<EOF 
    73817411 
    7382 CONFIG_FILES=\${CONFIG_FILES-"$ac_gdz_common_expat_e23:$ac_gdz_common_expat_in_e23"} 
     7412CONFIG_FILES=\${CONFIG_FILES-"$ac_gdz_common_libxml_e23:$ac_gdz_common_libxml_in_e23"} 
     7413EOF 
     7414cat >> $CONFIG_STATUS <<\EOF 
     7415for 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 
     7459s%@configure_input@%$configure_input%g 
     7460s%@srcdir@%$srcdir%g 
     7461s%@top_srcdir@%$top_srcdir%g 
     7462" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 
     7463fi; done 
     7464rm -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. 
     7470ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)' 
     7471ac_dB='\([      ][      ]*\)[^  ]*%\1#\2' 
     7472ac_dC='\3' 
     7473ac_dD='%g' 
     7474# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". 
     7475ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)' 
     7476ac_uB='\([      ]\)%\1#\2define\3' 
     7477ac_uC=' ' 
     7478ac_uD='\4%g' 
     7479# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 
     7480ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)' 
     7481ac_eB='$%\1#\2define\3' 
     7482ac_eC=' ' 
     7483ac_eD='%g' 
     7484 
     7485if test "${CONFIG_HEADERS+set}" != set; then 
     7486EOF 
     7487cat >> $CONFIG_STATUS <<EOF 
     7488  CONFIG_HEADERS="$ac_gdz_package_sub_dir_out/Base/OSGConfigured.h:CommonConf/OSGConfigured.h.in" 
     7489EOF 
     7490cat >> $CONFIG_STATUS <<\EOF 
     7491fi 
     7492for 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 
     7506EOF 
     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. 
     7512rm -f conftest.vals 
     7513cat > conftest.hdr <<\EOF 
     7514s/[\\&%]/\\&/g 
     7515s%[\\$`]%\\&%g 
     7516s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp 
     7517s%ac_d%ac_u%gp 
     7518s%ac_u%ac_e%gp 
     7519EOF 
     7520sed -n -f conftest.hdr confdefs.h > conftest.vals 
     7521rm -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. 
     7526cat >> conftest.vals <<\EOF 
     7527s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% 
     7528EOF 
     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 
     7533rm -f conftest.tail 
     7534while : 
     7535do 
     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 
     7550done 
     7551rm -f conftest.vals 
     7552 
     7553cat >> $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 
     7571fi; done 
     7572 
     7573EOF 
     7574cat >> $CONFIG_STATUS <<EOF 
     7575 
     7576EOF 
     7577cat >> $CONFIG_STATUS <<\EOF 
     7578 
     7579exit 0 
     7580EOF 
     7581chmod +x $CONFIG_STATUS 
     7582rm -fr confdefs* $ac_clean_files 
     7583test "$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 
     7624trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 
     7625 
     7626test "x$prefix" = xNONE && prefix=$ac_default_prefix 
     7627# Let make expand exec_prefix. 
     7628test "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. 
     7633if test "x$srcdir" = x.; then 
     7634  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d' 
     7635fi 
     7636 
     7637trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 
     7638 
     7639DEFS=-DHAVE_CONFIG_H 
     7640 
     7641# Without the "./", some shells look in PATH for config.status. 
     7642: ${CONFIG_STATUS=./config.status} 
     7643 
     7644echo creating $CONFIG_STATUS 
     7645rm -f $CONFIG_STATUS 
     7646cat > $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 
     7658ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 
     7659for ac_option 
     7660do 
     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 
     7672done 
     7673 
     7674ac_given_srcdir=$srcdir 
     7675 
     7676trap '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 
     7677EOF 
     7678cat >> $CONFIG_STATUS <<EOF 
     7679 
     7680# Protect against being on the right side of a sed subst in config.status. 
     7681sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 
     7682 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 
     7683$ac_vpsub 
     7684$extrasub 
     7685s%@ac_gdz_collada_incdir_e25@%$ac_gdz_collada_incdir_e25%g 
     7686s%@ac_gdz_collada_libdir_e25@%$ac_gdz_collada_libdir_e25%g 
     7687s%@ac_gdz_collada_lib_e25@%$ac_gdz_collada_lib_e25%g 
     7688 
     7689CEOF 
     7690EOF 
     7691 
     7692cat >> $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. 
     7696ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 
     7697ac_file=1 # Number of current file. 
     7698ac_beg=1 # First line for current file. 
     7699ac_end=$ac_max_sed_cmds # Line after last line for current file. 
     7700ac_more_lines=: 
     7701ac_sed_cmds="" 
     7702while $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 
     7721done 
     7722if test -z "$ac_sed_cmds"; then 
     7723  ac_sed_cmds=cat 
     7724fi 
     7725EOF 
     7726 
     7727cat >> $CONFIG_STATUS <<EOF 
     7728 
     7729CONFIG_FILES=\${CONFIG_FILES-"$ac_gdz_common_collada_e25:$ac_gdz_common_collada_in_e25"} 
    73837730EOF 
    73847731cat >> $CONFIG_STATUS <<\EOF