/[cvs]/eggdrop1.9/aclocal.m4
ViewVC logotype

Diff of /eggdrop1.9/aclocal.m4

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

revision 1.36 by guppy, Fri Jun 22 05:52:39 2001 UTC revision 1.37 by poptix, Sun Jun 24 20:37:15 2001 UTC
# Line 414  EOF Line 414  EOF
414  fi  fi
415  ])dnl  ])dnl
416    
417    dnl  EGG_CHECK_LIBSAFE_SSCANF()
418    dnl
419    AC_DEFUN(EGG_CHECK_LIBSAFE_SSCANF, [dnl
420    AC_CACHE_CHECK(whether libsafe broke sscanf, egg_cv_var_libsafe_sscanf,
421    [dnl
422      AC_TRY_RUN([#include <stdio.h>
423      int main()
424      {
425        char *src = "0x001,guppyism\n";
426        char dst[10];
427        int idx;
428        if (sscanf(src, "0x%x,%10c", &idx, dst) == 1)
429          exit(1);
430        return 0;
431      }],egg_cv_var_libsafe_sscanf="no",egg_cv_var_libsafe_sscanf="yes",
432      egg_cv_var_libsafe_sscanf="no")
433    ])
434    if test "x$egg_cv_var_libsafe_sscanf" == "xyes"; then
435      AC_DEFINE(LIBSAFE_HACKS)dnl
436    fi
437    ])dnl
438    
439  dnl  EGG_HEADER_STDC()  dnl  EGG_HEADER_STDC()
440  dnl  dnl

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23