ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/configure
(Generate patch)

Comparing BasiliskII/src/Unix/configure (file contents):
Revision 1.19 by cebix, 2000-07-13T16:12:29Z vs.
Revision 1.20 by cebix, 2000-07-22T18:12:31Z

# Line 2681 | Line 2681 | else
2681   fi
2682  
2683  
2684 +  for module in .
2685 +  do
2686 +      case "$module" in
2687 +         gthread)
2688 +             gtk_config_args="$gtk_config_args gthread"
2689 +         ;;
2690 +      esac
2691 +  done
2692 +
2693    if test x$gtk_config_exec_prefix != x ; then
2694       gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
2695       if test x${GTK_CONFIG+set} != xset ; then
# Line 2697 | Line 2706 | fi
2706    # Extract the first word of "gtk-config", so it can be a program name with args.
2707   set dummy gtk-config; ac_word=$2
2708   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2709 < echo "configure:2701: checking for $ac_word" >&5
2709 > echo "configure:2710: checking for $ac_word" >&5
2710   if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
2711    echo $ac_n "(cached) $ac_c" 1>&6
2712   else
# Line 2732 | Line 2741 | fi
2741  
2742    min_gtk_version=1.2.0
2743    echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
2744 < echo "configure:2736: checking for GTK - version >= $min_gtk_version" >&5
2744 > echo "configure:2745: checking for GTK - version >= $min_gtk_version" >&5
2745    no_gtk=""
2746    if test "$GTK_CONFIG" = "no" ; then
2747      no_gtk=yes
# Line 2749 | Line 2758 | echo "configure:2736: checking for GTK -
2758        ac_save_CFLAGS="$CFLAGS"
2759        ac_save_LIBS="$LIBS"
2760        CFLAGS="$CFLAGS $GTK_CFLAGS"
2761 <      LIBS="$LIBS $GTK_LIBS"
2761 >      LIBS="$GTK_LIBS $LIBS"
2762        rm -f conf.gtktest
2763        if test "$cross_compiling" = yes; then
2764    echo $ac_n "cross compiling; assumed OK... $ac_c"
2765   else
2766    cat > conftest.$ac_ext <<EOF
2767 < #line 2759 "configure"
2767 > #line 2768 "configure"
2768   #include "confdefs.h"
2769  
2770   #include <gtk/gtk.h>
2771   #include <stdio.h>
2772 + #include <stdlib.h>
2773  
2774   int
2775   main ()
2776   {
2777    int major, minor, micro;
2778 +  char *tmp_version;
2779  
2780    system ("touch conf.gtktest");
2781  
2782 <  if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
2782 >  /* HP/UX 9 (%@#!) writes to sscanf strings */
2783 >  tmp_version = g_strdup("$min_gtk_version");
2784 >  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
2785       printf("%s, bad version string\n", "$min_gtk_version");
2786       exit(1);
2787     }
# Line 2789 | Line 2802 | main ()
2802        printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
2803        printf("*** before re-running configure\n");
2804      }
2805 + #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
2806 +  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
2807 +           (gtk_minor_version != GTK_MINOR_VERSION) ||
2808 +           (gtk_micro_version != GTK_MICRO_VERSION))
2809 +    {
2810 +      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
2811 +             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
2812 +      printf("*** library (version %d.%d.%d)\n",
2813 +             gtk_major_version, gtk_minor_version, gtk_micro_version);
2814 +    }
2815 + #endif /* defined (GTK_MAJOR_VERSION) ... */
2816    else
2817      {
2818        if ((gtk_major_version > major) ||
# Line 2818 | Line 2842 | main ()
2842   }
2843  
2844   EOF
2845 < if { (eval echo configure:2822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2845 > if { (eval echo configure:2846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2846   then
2847    :
2848   else
# Line 2861 | Line 2885 | EOF
2885            CFLAGS="$CFLAGS $GTK_CFLAGS"
2886            LIBS="$LIBS $GTK_LIBS"
2887            cat > conftest.$ac_ext <<EOF
2888 < #line 2865 "configure"
2888 > #line 2889 "configure"
2889   #include "confdefs.h"
2890  
2891   #include <gtk/gtk.h>
# Line 2871 | Line 2895 | int main() {
2895   return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
2896   ; return 0; }
2897   EOF
2898 < if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2898 > if { (eval echo configure:2899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2899    rm -rf conftest*
2900     echo "*** The test program compiled, but did not run. This usually means"
2901            echo "*** that the run-time linker is not finding GTK or finding the wrong"
# Line 2956 | Line 2980 | fi
2980    # Extract the first word of "esd-config", so it can be a program name with args.
2981   set dummy esd-config; ac_word=$2
2982   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2983 < echo "configure:2960: checking for $ac_word" >&5
2983 > echo "configure:2984: checking for $ac_word" >&5
2984   if eval "test \"`echo '$''{'ac_cv_path_ESD_CONFIG'+set}'`\" = set"; then
2985    echo $ac_n "(cached) $ac_c" 1>&6
2986   else
# Line 2991 | Line 3015 | fi
3015  
3016    min_esd_version=0.2.8
3017    echo $ac_n "checking for ESD - version >= $min_esd_version""... $ac_c" 1>&6
3018 < echo "configure:2995: checking for ESD - version >= $min_esd_version" >&5
3018 > echo "configure:3019: checking for ESD - version >= $min_esd_version" >&5
3019    no_esd=""
3020    if test "$ESD_CONFIG" = "no" ; then
3021      no_esd=yes
# Line 3015 | Line 3039 | echo "configure:2995: checking for ESD -
3039    echo $ac_n "cross compiling; assumed OK... $ac_c"
3040   else
3041    cat > conftest.$ac_ext <<EOF
3042 < #line 3019 "configure"
3042 > #line 3043 "configure"
3043   #include "confdefs.h"
3044  
3045   #include <stdio.h>
# Line 3073 | Line 3097 | int main ()
3097  
3098  
3099   EOF
3100 < if { (eval echo configure:3077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3100 > if { (eval echo configure:3101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3101   then
3102    :
3103   else
# Line 3115 | Line 3139 | EOF
3139            CFLAGS="$CFLAGS $ESD_CFLAGS"
3140            LIBS="$LIBS $ESD_LIBS"
3141            cat > conftest.$ac_ext <<EOF
3142 < #line 3119 "configure"
3142 > #line 3143 "configure"
3143   #include "confdefs.h"
3144  
3145   #include <stdio.h>
# Line 3125 | Line 3149 | int main() {
3149   return 0;
3150   ; return 0; }
3151   EOF
3152 < if { (eval echo configure:3129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3152 > if { (eval echo configure:3153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3153    rm -rf conftest*
3154     echo "*** The test program compiled, but did not run. This usually means"
3155            echo "*** that the run-time linker is not finding ESD or finding the wrong"
# Line 3164 | Line 3188 | rm -f conftest*
3188   fi
3189  
3190   echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
3191 < echo "configure:3168: checking for ANSI C header files" >&5
3191 > echo "configure:3192: checking for ANSI C header files" >&5
3192   if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
3193    echo $ac_n "(cached) $ac_c" 1>&6
3194   else
3195    cat > conftest.$ac_ext <<EOF
3196 < #line 3173 "configure"
3196 > #line 3197 "configure"
3197   #include "confdefs.h"
3198   #include <stdlib.h>
3199   #include <stdarg.h>
# Line 3177 | Line 3201 | else
3201   #include <float.h>
3202   EOF
3203   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3204 < { (eval echo configure:3181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3204 > { (eval echo configure:3205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3205   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3206   if test -z "$ac_err"; then
3207    rm -rf conftest*
# Line 3194 | Line 3218 | rm -f conftest*
3218   if test $ac_cv_header_stdc = yes; then
3219    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3220   cat > conftest.$ac_ext <<EOF
3221 < #line 3198 "configure"
3221 > #line 3222 "configure"
3222   #include "confdefs.h"
3223   #include <string.h>
3224   EOF
# Line 3212 | Line 3236 | fi
3236   if test $ac_cv_header_stdc = yes; then
3237    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3238   cat > conftest.$ac_ext <<EOF
3239 < #line 3216 "configure"
3239 > #line 3240 "configure"
3240   #include "confdefs.h"
3241   #include <stdlib.h>
3242   EOF
# Line 3233 | Line 3257 | if test "$cross_compiling" = yes; then
3257    :
3258   else
3259    cat > conftest.$ac_ext <<EOF
3260 < #line 3237 "configure"
3260 > #line 3261 "configure"
3261   #include "confdefs.h"
3262   #include <ctype.h>
3263   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 3244 | Line 3268 | if (XOR (islower (i), ISLOWER (i)) || to
3268   exit (0); }
3269  
3270   EOF
3271 < if { (eval echo configure:3248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3271 > if { (eval echo configure:3272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3272   then
3273    :
3274   else
# Line 3271 | Line 3295 | for ac_hdr in unistd.h fcntl.h sys/time.
3295   do
3296   ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3297   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3298 < echo "configure:3275: checking for $ac_hdr" >&5
3298 > echo "configure:3299: checking for $ac_hdr" >&5
3299   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3300    echo $ac_n "(cached) $ac_c" 1>&6
3301   else
3302    cat > conftest.$ac_ext <<EOF
3303 < #line 3280 "configure"
3303 > #line 3304 "configure"
3304   #include "confdefs.h"
3305   #include <$ac_hdr>
3306   EOF
3307   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3308 < { (eval echo configure:3285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3308 > { (eval echo configure:3309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3309   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3310   if test -z "$ac_err"; then
3311    rm -rf conftest*
# Line 3309 | Line 3333 | done
3333  
3334  
3335   echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3336 < echo "configure:3313: checking whether byte ordering is bigendian" >&5
3336 > echo "configure:3337: checking whether byte ordering is bigendian" >&5
3337   if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3338    echo $ac_n "(cached) $ac_c" 1>&6
3339   else
3340    ac_cv_c_bigendian=unknown
3341   # See if sys/param.h defines the BYTE_ORDER macro.
3342   cat > conftest.$ac_ext <<EOF
3343 < #line 3320 "configure"
3343 > #line 3344 "configure"
3344   #include "confdefs.h"
3345   #include <sys/types.h>
3346   #include <sys/param.h>
# Line 3327 | Line 3351 | int main() {
3351   #endif
3352   ; return 0; }
3353   EOF
3354 < if { (eval echo configure:3331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3354 > if { (eval echo configure:3355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3355    rm -rf conftest*
3356    # It does; now see whether it defined to BIG_ENDIAN or not.
3357   cat > conftest.$ac_ext <<EOF
3358 < #line 3335 "configure"
3358 > #line 3359 "configure"
3359   #include "confdefs.h"
3360   #include <sys/types.h>
3361   #include <sys/param.h>
# Line 3342 | Line 3366 | int main() {
3366   #endif
3367   ; return 0; }
3368   EOF
3369 < if { (eval echo configure:3346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3369 > if { (eval echo configure:3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3370    rm -rf conftest*
3371    ac_cv_c_bigendian=yes
3372   else
# Line 3362 | Line 3386 | if test "$cross_compiling" = yes; then
3386      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3387   else
3388    cat > conftest.$ac_ext <<EOF
3389 < #line 3366 "configure"
3389 > #line 3390 "configure"
3390   #include "confdefs.h"
3391   main () {
3392    /* Are we little or big endian?  From Harbison&Steele.  */
# Line 3375 | Line 3399 | main () {
3399    exit (u.c[sizeof (long) - 1] == 1);
3400   }
3401   EOF
3402 < if { (eval echo configure:3379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3402 > if { (eval echo configure:3403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3403   then
3404    ac_cv_c_bigendian=no
3405   else
# Line 3399 | Line 3423 | EOF
3423   fi
3424  
3425   echo $ac_n "checking for working const""... $ac_c" 1>&6
3426 < echo "configure:3403: checking for working const" >&5
3426 > echo "configure:3427: checking for working const" >&5
3427   if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3428    echo $ac_n "(cached) $ac_c" 1>&6
3429   else
3430    cat > conftest.$ac_ext <<EOF
3431 < #line 3408 "configure"
3431 > #line 3432 "configure"
3432   #include "confdefs.h"
3433  
3434   int main() {
# Line 3453 | Line 3477 | ccp = (char const *const *) p;
3477  
3478   ; return 0; }
3479   EOF
3480 < if { (eval echo configure:3457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3480 > if { (eval echo configure:3481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3481    rm -rf conftest*
3482    ac_cv_c_const=yes
3483   else
# Line 3474 | Line 3498 | EOF
3498   fi
3499  
3500   echo $ac_n "checking for inline""... $ac_c" 1>&6
3501 < echo "configure:3478: checking for inline" >&5
3501 > echo "configure:3502: checking for inline" >&5
3502   if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3503    echo $ac_n "(cached) $ac_c" 1>&6
3504   else
3505    ac_cv_c_inline=no
3506   for ac_kw in inline __inline__ __inline; do
3507    cat > conftest.$ac_ext <<EOF
3508 < #line 3485 "configure"
3508 > #line 3509 "configure"
3509   #include "confdefs.h"
3510  
3511   int main() {
3512   } $ac_kw foo() {
3513   ; return 0; }
3514   EOF
3515 < if { (eval echo configure:3492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3515 > if { (eval echo configure:3516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3516    rm -rf conftest*
3517    ac_cv_c_inline=$ac_kw; break
3518   else
# Line 3514 | Line 3538 | EOF
3538   esac
3539  
3540   echo $ac_n "checking size of short""... $ac_c" 1>&6
3541 < echo "configure:3518: checking size of short" >&5
3541 > echo "configure:3542: checking size of short" >&5
3542   if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
3543    echo $ac_n "(cached) $ac_c" 1>&6
3544   else
# Line 3522 | Line 3546 | else
3546    ac_cv_sizeof_short=2
3547   else
3548    cat > conftest.$ac_ext <<EOF
3549 < #line 3526 "configure"
3549 > #line 3550 "configure"
3550   #include "confdefs.h"
3551   #include <stdio.h>
3552   main()
# Line 3533 | Line 3557 | main()
3557    exit(0);
3558   }
3559   EOF
3560 < if { (eval echo configure:3537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3560 > if { (eval echo configure:3561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3561   then
3562    ac_cv_sizeof_short=`cat conftestval`
3563   else
# Line 3553 | Line 3577 | EOF
3577  
3578  
3579   echo $ac_n "checking size of int""... $ac_c" 1>&6
3580 < echo "configure:3557: checking size of int" >&5
3580 > echo "configure:3581: checking size of int" >&5
3581   if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3582    echo $ac_n "(cached) $ac_c" 1>&6
3583   else
# Line 3561 | Line 3585 | else
3585    ac_cv_sizeof_int=4
3586   else
3587    cat > conftest.$ac_ext <<EOF
3588 < #line 3565 "configure"
3588 > #line 3589 "configure"
3589   #include "confdefs.h"
3590   #include <stdio.h>
3591   main()
# Line 3572 | Line 3596 | main()
3596    exit(0);
3597   }
3598   EOF
3599 < if { (eval echo configure:3576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3599 > if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3600   then
3601    ac_cv_sizeof_int=`cat conftestval`
3602   else
# Line 3592 | Line 3616 | EOF
3616  
3617  
3618   echo $ac_n "checking size of long""... $ac_c" 1>&6
3619 < echo "configure:3596: checking size of long" >&5
3619 > echo "configure:3620: checking size of long" >&5
3620   if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3621    echo $ac_n "(cached) $ac_c" 1>&6
3622   else
# Line 3600 | Line 3624 | else
3624    ac_cv_sizeof_long=4
3625   else
3626    cat > conftest.$ac_ext <<EOF
3627 < #line 3604 "configure"
3627 > #line 3628 "configure"
3628   #include "confdefs.h"
3629   #include <stdio.h>
3630   main()
# Line 3611 | Line 3635 | main()
3635    exit(0);
3636   }
3637   EOF
3638 < if { (eval echo configure:3615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3638 > if { (eval echo configure:3639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3639   then
3640    ac_cv_sizeof_long=`cat conftestval`
3641   else
# Line 3631 | Line 3655 | EOF
3655  
3656  
3657   echo $ac_n "checking size of long long""... $ac_c" 1>&6
3658 < echo "configure:3635: checking size of long long" >&5
3658 > echo "configure:3659: checking size of long long" >&5
3659   if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
3660    echo $ac_n "(cached) $ac_c" 1>&6
3661   else
# Line 3639 | Line 3663 | else
3663    ac_cv_sizeof_long_long=8
3664   else
3665    cat > conftest.$ac_ext <<EOF
3666 < #line 3643 "configure"
3666 > #line 3667 "configure"
3667   #include "confdefs.h"
3668   #include <stdio.h>
3669   main()
# Line 3650 | Line 3674 | main()
3674    exit(0);
3675   }
3676   EOF
3677 < if { (eval echo configure:3654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3677 > if { (eval echo configure:3678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3678   then
3679    ac_cv_sizeof_long_long=`cat conftestval`
3680   else
# Line 3670 | Line 3694 | EOF
3694  
3695  
3696   echo $ac_n "checking for off_t""... $ac_c" 1>&6
3697 < echo "configure:3674: checking for off_t" >&5
3697 > echo "configure:3698: checking for off_t" >&5
3698   if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3699    echo $ac_n "(cached) $ac_c" 1>&6
3700   else
3701    cat > conftest.$ac_ext <<EOF
3702 < #line 3679 "configure"
3702 > #line 3703 "configure"
3703   #include "confdefs.h"
3704   #include <sys/types.h>
3705   #if STDC_HEADERS
# Line 3703 | Line 3727 | EOF
3727   fi
3728  
3729   echo $ac_n "checking for loff_t""... $ac_c" 1>&6
3730 < echo "configure:3707: checking for loff_t" >&5
3730 > echo "configure:3731: checking for loff_t" >&5
3731   if eval "test \"`echo '$''{'ac_cv_type_loff_t'+set}'`\" = set"; then
3732    echo $ac_n "(cached) $ac_c" 1>&6
3733   else
3734    cat > conftest.$ac_ext <<EOF
3735 < #line 3712 "configure"
3735 > #line 3736 "configure"
3736   #include "confdefs.h"
3737   #include <sys/types.h>
3738   #if STDC_HEADERS
# Line 3736 | Line 3760 | EOF
3760   fi
3761  
3762   echo $ac_n "checking for size_t""... $ac_c" 1>&6
3763 < echo "configure:3740: checking for size_t" >&5
3763 > echo "configure:3764: checking for size_t" >&5
3764   if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3765    echo $ac_n "(cached) $ac_c" 1>&6
3766   else
3767    cat > conftest.$ac_ext <<EOF
3768 < #line 3745 "configure"
3768 > #line 3769 "configure"
3769   #include "confdefs.h"
3770   #include <sys/types.h>
3771   #if STDC_HEADERS
# Line 3769 | Line 3793 | EOF
3793   fi
3794  
3795   echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3796 < echo "configure:3773: checking whether time.h and sys/time.h may both be included" >&5
3796 > echo "configure:3797: checking whether time.h and sys/time.h may both be included" >&5
3797   if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3798    echo $ac_n "(cached) $ac_c" 1>&6
3799   else
3800    cat > conftest.$ac_ext <<EOF
3801 < #line 3778 "configure"
3801 > #line 3802 "configure"
3802   #include "confdefs.h"
3803   #include <sys/types.h>
3804   #include <sys/time.h>
# Line 3783 | Line 3807 | int main() {
3807   struct tm *tp;
3808   ; return 0; }
3809   EOF
3810 < if { (eval echo configure:3787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3810 > if { (eval echo configure:3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3811    rm -rf conftest*
3812    ac_cv_header_time=yes
3813   else
# Line 3804 | Line 3828 | EOF
3828   fi
3829  
3830   echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3831 < echo "configure:3808: checking whether struct tm is in sys/time.h or time.h" >&5
3831 > echo "configure:3832: checking whether struct tm is in sys/time.h or time.h" >&5
3832   if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3833    echo $ac_n "(cached) $ac_c" 1>&6
3834   else
3835    cat > conftest.$ac_ext <<EOF
3836 < #line 3813 "configure"
3836 > #line 3837 "configure"
3837   #include "confdefs.h"
3838   #include <sys/types.h>
3839   #include <time.h>
# Line 3817 | Line 3841 | int main() {
3841   struct tm *tp; tp->tm_sec;
3842   ; return 0; }
3843   EOF
3844 < if { (eval echo configure:3821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3844 > if { (eval echo configure:3845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3845    rm -rf conftest*
3846    ac_cv_struct_tm=time.h
3847   else
# Line 3841 | Line 3865 | fi
3865   for ac_func in strdup cfmakeraw
3866   do
3867   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3868 < echo "configure:3845: checking for $ac_func" >&5
3868 > echo "configure:3869: checking for $ac_func" >&5
3869   if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3870    echo $ac_n "(cached) $ac_c" 1>&6
3871   else
3872    cat > conftest.$ac_ext <<EOF
3873 < #line 3850 "configure"
3873 > #line 3874 "configure"
3874   #include "confdefs.h"
3875   /* System header to define __stub macros and hopefully few prototypes,
3876      which can conflict with char $ac_func(); below.  */
# Line 3869 | Line 3893 | $ac_func();
3893  
3894   ; return 0; }
3895   EOF
3896 < if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3896 > if { (eval echo configure:3897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3897    rm -rf conftest*
3898    eval "ac_cv_func_$ac_func=yes"
3899   else
# Line 3893 | Line 3917 | else
3917   fi
3918   done
3919  
3920 < for ac_func in nanosleep clock_gettime timer_create
3920 > for ac_func in clock_gettime timer_create
3921   do
3922   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3923 < echo "configure:3900: checking for $ac_func" >&5
3923 > echo "configure:3924: checking for $ac_func" >&5
3924   if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3925    echo $ac_n "(cached) $ac_c" 1>&6
3926   else
3927    cat > conftest.$ac_ext <<EOF
3928 < #line 3905 "configure"
3928 > #line 3929 "configure"
3929   #include "confdefs.h"
3930   /* System header to define __stub macros and hopefully few prototypes,
3931      which can conflict with char $ac_func(); below.  */
# Line 3924 | Line 3948 | $ac_func();
3948  
3949   ; return 0; }
3950   EOF
3951 < if { (eval echo configure:3928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3951 > if { (eval echo configure:3952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3952    rm -rf conftest*
3953    eval "ac_cv_func_$ac_func=yes"
3954   else
# Line 3966 | Line 3990 | if MACHINE=`uname -s 2>/dev/null`; then
3990      AUDIOSRC=audio_oss_esd.cpp
3991      DEFINES="$DEFINES -DBSD_COMP"
3992          echo $ac_n "checking for cam_open_btl in -lcam""... $ac_c" 1>&6
3993 < echo "configure:3970: checking for cam_open_btl in -lcam" >&5
3993 > echo "configure:3994: checking for cam_open_btl in -lcam" >&5
3994   ac_lib_var=`echo cam'_'cam_open_btl | sed 'y%./+-%__p_%'`
3995   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3996    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3974 | Line 3998 | else
3998    ac_save_LIBS="$LIBS"
3999   LIBS="-lcam  $LIBS"
4000   cat > conftest.$ac_ext <<EOF
4001 < #line 3978 "configure"
4001 > #line 4002 "configure"
4002   #include "confdefs.h"
4003   /* Override any gcc2 internal prototype to avoid an error.  */
4004   /* We use char because int might match the return type of a gcc2
# Line 3985 | Line 4009 | int main() {
4009   cam_open_btl()
4010   ; return 0; }
4011   EOF
4012 < if { (eval echo configure:3989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4012 > if { (eval echo configure:4013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4013    rm -rf conftest*
4014    eval "ac_cv_lib_$ac_lib_var=yes"
4015   else
# Line 4011 | Line 4035 | fi
4035      else
4036              ac_safe=`echo "/sys/cam/cam.h" | sed 'y%./+-%__p_%'`
4037   echo $ac_n "checking for /sys/cam/cam.h""... $ac_c" 1>&6
4038 < echo "configure:4015: checking for /sys/cam/cam.h" >&5
4038 > echo "configure:4039: checking for /sys/cam/cam.h" >&5
4039   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4040    echo $ac_n "(cached) $ac_c" 1>&6
4041   else
4042    cat > conftest.$ac_ext <<EOF
4043 < #line 4020 "configure"
4043 > #line 4044 "configure"
4044   #include "confdefs.h"
4045   #include </sys/cam/cam.h>
4046   EOF
4047   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4048 < { (eval echo configure:4025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4048 > { (eval echo configure:4049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4049   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4050   if test -z "$ac_err"; then
4051    rm -rf conftest*
# Line 4056 | Line 4080 | fi
4080    FreeBSD*)
4081      DEFINES="$DEFINES -DBSD_COMP"
4082          echo $ac_n "checking for scsi_open in -lscsi""... $ac_c" 1>&6
4083 < echo "configure:4060: checking for scsi_open in -lscsi" >&5
4083 > echo "configure:4084: checking for scsi_open in -lscsi" >&5
4084   ac_lib_var=`echo scsi'_'scsi_open | sed 'y%./+-%__p_%'`
4085   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4086    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4064 | Line 4088 | else
4088    ac_save_LIBS="$LIBS"
4089   LIBS="-lscsi  $LIBS"
4090   cat > conftest.$ac_ext <<EOF
4091 < #line 4068 "configure"
4091 > #line 4092 "configure"
4092   #include "confdefs.h"
4093   /* Override any gcc2 internal prototype to avoid an error.  */
4094   /* We use char because int might match the return type of a gcc2
# Line 4075 | Line 4099 | int main() {
4099   scsi_open()
4100   ; return 0; }
4101   EOF
4102 < if { (eval echo configure:4079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4102 > if { (eval echo configure:4103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4103    rm -rf conftest*
4104    eval "ac_cv_lib_$ac_lib_var=yes"
4105   else
# Line 4101 | Line 4125 | fi
4125      else
4126              ac_safe=`echo "scsi.h sys/scsiio.h" | sed 'y%./+-%__p_%'`
4127   echo $ac_n "checking for scsi.h sys/scsiio.h""... $ac_c" 1>&6
4128 < echo "configure:4105: checking for scsi.h sys/scsiio.h" >&5
4128 > echo "configure:4129: checking for scsi.h sys/scsiio.h" >&5
4129   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4130    echo $ac_n "(cached) $ac_c" 1>&6
4131   else
4132    cat > conftest.$ac_ext <<EOF
4133 < #line 4110 "configure"
4133 > #line 4134 "configure"
4134   #include "confdefs.h"
4135   #include <scsi.h sys/scsiio.h>
4136   EOF
4137   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4138 < { (eval echo configure:4115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4138 > { (eval echo configure:4139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4139   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4140   if test -z "$ac_err"; then
4141    rm -rf conftest*
# Line 4164 | Line 4188 | SYSSRCS="$SERIALSRC $ETHERSRC $SCSISRC $
4188  
4189   HAVE_GAS=no
4190   echo $ac_n "checking for GAS .p2align feature""... $ac_c" 1>&6
4191 < echo "configure:4168: checking for GAS .p2align feature" >&5
4191 > echo "configure:4192: checking for GAS .p2align feature" >&5
4192   cat >conftest.S << EOF
4193          .text
4194          .p2align 5
# Line 4174 | Line 4198 | echo "$ac_t""$HAVE_GAS" 1>&6
4198  
4199   HAVE_GCC27=no
4200   echo $ac_n "checking for GCC 2.7 or higher""... $ac_c" 1>&6
4201 < echo "configure:4178: checking for GCC 2.7 or higher" >&5
4201 > echo "configure:4202: checking for GCC 2.7 or higher" >&5
4202   cat > conftest.$ac_ext <<EOF
4203 < #line 4180 "configure"
4203 > #line 4204 "configure"
4204   #include "confdefs.h"
4205   #if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5
4206    yes
# Line 4215 | Line 4239 | elif [ "x$HAVE_GCC27" = "xyes" -a "x$HAV
4239      case "$MACHINE" in
4240    SunOS*)
4241      echo $ac_n "checking SPARC CPU architecture""... $ac_c" 1>&6
4242 < echo "configure:4219: checking SPARC CPU architecture" >&5
4242 > echo "configure:4243: checking SPARC CPU architecture" >&5
4243      SPARC_TYPE=`Solaris/which_sparc`
4244      echo "$ac_t""$SPARC_TYPE" 1>&6
4245      case "$SPARC_TYPE" in

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines