aclocal.m4 (3ffd35307077b69e8e71772d0e2603f8ffbc4804) aclocal.m4 (3e794565fce4e0901d6596368adacc38558278c7)
1dnl $Id: aclocal.m4,v 1.41 2016/12/02 13:03:06 tom Exp $
1dnl $Id: aclocal.m4,v 1.42 2017/02/01 10:12:21 tom Exp $
2dnl Macros for byacc configure script (Thomas E. Dickey)
3dnl ---------------------------------------------------------------------------
2dnl Macros for byacc configure script (Thomas E. Dickey)
3dnl ---------------------------------------------------------------------------
4dnl Copyright 2004-2015,2016 Thomas E. Dickey
4dnl Copyright 2004-2016,2017 Thomas E. Dickey
5dnl
6dnl Permission is hereby granted, free of charge, to any person obtaining a
7dnl copy of this software and associated documentation files (the
8dnl "Software"), to deal in the Software without restriction, including
9dnl without limitation the rights to use, copy, modify, merge, publish,
10dnl distribute, distribute with modifications, sublicense, and/or sell
11dnl copies of the Software, and to permit persons to whom the Software is
12dnl furnished to do so, subject to the following conditions:

--- 785 unchanged lines hidden (view full) ---

798 cf_cv_mixedcase=yes
799 fi
800 rm -f conftest CONFTEST
801fi
802])
803test "$cf_cv_mixedcase" = yes && AC_DEFINE(MIXEDCASE_FILENAMES,1,[Define to 1 if filesystem supports mixed-case filenames.])
804])dnl
805dnl ---------------------------------------------------------------------------
5dnl
6dnl Permission is hereby granted, free of charge, to any person obtaining a
7dnl copy of this software and associated documentation files (the
8dnl "Software"), to deal in the Software without restriction, including
9dnl without limitation the rights to use, copy, modify, merge, publish,
10dnl distribute, distribute with modifications, sublicense, and/or sell
11dnl copies of the Software, and to permit persons to whom the Software is
12dnl furnished to do so, subject to the following conditions:

--- 785 unchanged lines hidden (view full) ---

798 cf_cv_mixedcase=yes
799 fi
800 rm -f conftest CONFTEST
801fi
802])
803test "$cf_cv_mixedcase" = yes && AC_DEFINE(MIXEDCASE_FILENAMES,1,[Define to 1 if filesystem supports mixed-case filenames.])
804])dnl
805dnl ---------------------------------------------------------------------------
806dnl CF_MKSTEMP version: 9 updated: 2012/10/03 04:34:49
806dnl CF_MKSTEMP version: 10 updated: 2017/01/21 11:12:16
807dnl ----------
808dnl Check for a working mkstemp. This creates two files, checks that they are
809dnl successfully created and distinct (AmigaOS apparently fails on the last).
810AC_DEFUN([CF_MKSTEMP],[
807dnl ----------
808dnl Check for a working mkstemp. This creates two files, checks that they are
809dnl successfully created and distinct (AmigaOS apparently fails on the last).
810AC_DEFUN([CF_MKSTEMP],[
811AC_CHECK_HEADERS( \
812unistd.h \
813)
811AC_CACHE_CHECK(for working mkstemp, cf_cv_func_mkstemp,[
812rm -rf conftest*
813AC_TRY_RUN([
814#include <sys/types.h>
814AC_CACHE_CHECK(for working mkstemp, cf_cv_func_mkstemp,[
815rm -rf conftest*
816AC_TRY_RUN([
817#include <sys/types.h>
818#ifdef HAVE_UNISTD_H
819#include <unistd.h>
820#endif
815#include <stdlib.h>
816#include <stdio.h>
817#include <string.h>
818#include <sys/stat.h>
821#include <stdlib.h>
822#include <stdio.h>
823#include <string.h>
824#include <sys/stat.h>
819int main()
825int main(void)
820{
821 char *tmpl = "conftestXXXXXX";
822 char name[2][80];
823 int n;
824 int result = 0;
825 int fd;
826 struct stat sb;
827

--- 621 unchanged lines hidden ---
826{
827 char *tmpl = "conftestXXXXXX";
828 char name[2][80];
829 int n;
830 int result = 0;
831 int fd;
832 struct stat sb;
833

--- 621 unchanged lines hidden ---