diff options
author | Bruno Haible <bruno@clisp.org> | 2002-12-31 13:46:30 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2002-12-31 13:46:30 +0000 |
commit | 740e9a30efda7c5323b31860c249b2d9f778209c (patch) | |
tree | 45369b9e36534c2427203bcc49428fb3f24d4450 /modules/alloca | |
parent | ace5b107220299f7c04b6da8288b037d392b6c83 (diff) | |
download | gnulib-740e9a30efda7c5323b31860c249b2d9f778209c.tar.gz |
Module description.
Diffstat (limited to 'modules/alloca')
-rw-r--r-- | modules/alloca | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/modules/alloca b/modules/alloca new file mode 100644 index 0000000000..4d32288ce2 --- /dev/null +++ b/modules/alloca @@ -0,0 +1,46 @@ +Description: + +Files: +lib/alloca.c +m4/alloca.m4 + +Depends-on: +xalloc + +configure.ac: +gl_FUNC_ALLOCA + +Makefile.am: + +Include: +#ifdef __GNUC__ +# ifndef alloca +# define alloca __builtin_alloca +# endif +#else +# ifdef _MSC_VER +# include <malloc.h> +# define alloca _alloca +# else +# if HAVE_ALLOCA_H +# include <alloca.h> +# else +# ifdef _AIX + #pragma alloca +# else +# ifdef __hpux /* This section must match that of bison generated files. */ +# ifdef __cplusplus +extern "C" void *alloca (unsigned int); +# else /* not __cplusplus */ +void *alloca (); +# endif /* not __cplusplus */ +# else /* not __hpux */ +# ifndef alloca +char *alloca (); +# endif +# endif /* __hpux */ +# endif +# endif +# endif +#endif + |