mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
3c374d9134
2004-11-13 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am: Define ACLOCAL_AMFLAGS. * acinclude.m4: Remove unnecessary sinclude. * aclocal.m4, Makefile.in, configure: Regenerate (autoreconf 1.9.3). From-SVN: r90583
22 lines
643 B
Plaintext
22 lines
643 B
Plaintext
dnl Define MKDIR_TAKES_ONE_ARG if mkdir accepts only one argument instead
|
|
dnl of the usual 2.
|
|
AC_DEFUN([gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG],
|
|
[AC_CACHE_CHECK([if mkdir takes one argument], gcc_cv_mkdir_takes_one_arg,
|
|
[AC_TRY_COMPILE([
|
|
#include <sys/types.h>
|
|
#ifdef HAVE_SYS_STAT_H
|
|
# include <sys/stat.h>
|
|
#endif
|
|
#ifdef HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif
|
|
#ifdef HAVE_DIRECT_H
|
|
# include <direct.h>
|
|
#endif], [mkdir ("foo", 0);],
|
|
gcc_cv_mkdir_takes_one_arg=no, gcc_cv_mkdir_takes_one_arg=yes)])
|
|
if test $gcc_cv_mkdir_takes_one_arg = yes ; then
|
|
AC_DEFINE(MKDIR_TAKES_ONE_ARG, 1, [Define if host mkdir takes a
|
|
single argument.])
|
|
fi
|
|
])
|