/[cvs]/ccvs/configure
ViewVC logotype

Diff of /ccvs/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.404 by dprice, Wed Jun 15 18:20:33 2005 UTC revision 1.405 by dprice, Sat Jul 16 02:42:12 2005 UTC
# Line 28931  done Line 28931  done
28931    
28932    
28933    if test -z "$GLOB_H"; then    if test -z "$GLOB_H"; then
28934      cat >conftest.$ac_ext <<_ACEOF      echo "$as_me:$LINENO: checking for GNU glob interface version 1" >&5
28935    echo $ECHO_N "checking for GNU glob interface version 1... $ECHO_C" >&6
28936    if test "${gl_cv_gnu_glob_interface_version_1+set}" = set; then
28937      echo $ECHO_N "(cached) $ECHO_C" >&6
28938    else
28939           cat >conftest.$ac_ext <<_ACEOF
28940  #include <gnu-versions.h>  #include <gnu-versions.h>
28941  char a[_GNU_GLOB_INTERFACE_VERSION == 1 ? 1 : -1];  char a[_GNU_GLOB_INTERFACE_VERSION == 1 ? 1 : -1];
28942  _ACEOF  _ACEOF
# Line 28957  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 28962  if { (eval echo "$as_me:$LINENO: \"$ac_c
28962    ac_status=$?    ac_status=$?
28963    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
28965    :    gl_cv_gnu_glob_interface_version_1=yes
28966  else  else
28967    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
28968  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
28969    
28970  GLOB_H=glob.h  gl_cv_gnu_glob_interface_version_1=no
28971  fi  fi
28972  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28973    fi
28974    echo "$as_me:$LINENO: result: $gl_cv_gnu_glob_interface_version_1" >&5
28975    echo "${ECHO_T}$gl_cv_gnu_glob_interface_version_1" >&6
28976    
28977        if test "$gl_cv_gnu_glob_interface_version_1" = "no"; then
28978          GLOB_H=glob.h
28979        fi
28980      fi
28981    
28982      if test -z "$GLOB_H"; then
28983        echo "$as_me:$LINENO: checking whether glob lists broken symlinks" >&5
28984    echo $ECHO_N "checking whether glob lists broken symlinks... $ECHO_C" >&6
28985    if test "${gl_cv_glob_lists_symlinks+set}" = set; then
28986      echo $ECHO_N "(cached) $ECHO_C" >&6
28987    else
28988           if ln -s conf-doesntexist conf$$-globtest 2>/dev/null; then
28989            gl_cv_glob_lists_symlinks=maybe
28990          else
28991            # If we can't make a symlink, then we cannot test this issue.  Be
28992            # pessimistic about this.
28993            gl_cv_glob_lists_symlinks=no
28994          fi
28995    
28996          if test $gl_cv_glob_lists_symlinks = maybe; then
28997            if test "$cross_compiling" = yes; then
28998      gl_cv_glob_lists_symlinks=no
28999    else
29000      cat >conftest.$ac_ext <<_ACEOF
29001    /* confdefs.h.  */
29002    _ACEOF
29003    cat confdefs.h >>conftest.$ac_ext
29004    cat >>conftest.$ac_ext <<_ACEOF
29005    /* end confdefs.h.  */
29006    #include <stddef.h>
29007    #include <glob.h>
29008    int
29009    main ()
29010    {
29011    glob_t found;
29012    if (glob ("conf*-globtest", 0, NULL, &found) == GLOB_NOMATCH) return 1;
29013      ;
29014      return 0;
29015    }
29016    _ACEOF
29017    rm -f conftest$ac_exeext
29018    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29019      (eval $ac_link) 2>&5
29020      ac_status=$?
29021      echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29023      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29024      (eval $ac_try) 2>&5
29025      ac_status=$?
29026      echo "$as_me:$LINENO: \$? = $ac_status" >&5
29027      (exit $ac_status); }; }; then
29028      gl_cv_glob_lists_symlinks=yes
29029    else
29030      echo "$as_me: program exited with status $ac_status" >&5
29031    echo "$as_me: failed program was:" >&5
29032    sed 's/^/| /' conftest.$ac_ext >&5
29033    
29034    ( exit $ac_status )
29035    gl_cv_glob_lists_symlinks=no
29036    fi
29037    rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29038    fi
29039          fi
29040    fi
29041    echo "$as_me:$LINENO: result: $gl_cv_glob_lists_symlinks" >&5
29042    echo "${ECHO_T}$gl_cv_glob_lists_symlinks" >&6
29043    
29044        if test $gl_cv_glob_lists_symlinks = no; then
29045          GLOB_H=glob.h
29046        fi
29047    fi    fi
29048    
29049      rm -f conf$$-globtest
29050    
29051    if test -n "$GLOB_H"; then    if test -n "$GLOB_H"; then
29052    
29053    

Legend:
Removed from v.1.404  
changed lines
  Added in v.1.405

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26