summaryrefslogtreecommitdiff
path: root/libgfortran/config.h.in
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-15 12:39:47 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-15 12:39:47 +0000
commit99798ba40e3813d50822f00275793e2880383fc7 (patch)
tree62c7c06768cd766d8d1a1c1c50f8a53ec3cebf53 /libgfortran/config.h.in
parenta1758a1397ab575a19ef3d19cbf15122b0950515 (diff)
downloadgcc-99798ba40e3813d50822f00275793e2880383fc7.tar.gz
* gfortran.h (gfc_option_t): Add flag_backtrace field.
* lang.opt: Add -fbacktrace option. * invoke.texi: Document the new option. * trans-decl.c (gfc_build_builtin_function_decls): Add new option to the call to set_std. * options.c (gfc_init_options, gfc_handle_option): Handle the new option. * runtime/backtrace.c: New file. * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE environment variable. * runtime/compile_options.c (set_std): Add new argument. * runtime/main.c (store_exe_path, full_exe_path): New functions. * runtime/error.c (sys_exit): Add call to show_backtrace. * libgfortran.h (options_t): New backtrace field. (store_exe_path, full_exe_path, show_backtrace): New prototypes. * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2, close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols and getppid. * Makefile.am: Add runtime/backtrace.c. * fmain.c (main): Add call to store_exe_path. * Makefile.in: Renegerate. * config.h.in: Renegerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122954 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/config.h.in')
-rw-r--r--libgfortran/config.h.in33
1 files changed, 30 insertions, 3 deletions
diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in
index ab7a8920713..216adba6e82 100644
--- a/libgfortran/config.h.in
+++ b/libgfortran/config.h.in
@@ -81,6 +81,12 @@
/* Define to 1 if the target supports __attribute__((visibility(...))). */
#undef HAVE_ATTRIBUTE_VISIBILITY
+/* Define to 1 if you have the `backtrace' function. */
+#undef HAVE_BACKTRACE
+
+/* Define to 1 if you have the `backtrace_symbols' function. */
+#undef HAVE_BACKTRACE_SYMBOLS
+
/* Define if fpclassify is broken. */
#undef HAVE_BROKEN_FPCLASSIFY
@@ -171,6 +177,9 @@
/* libm includes clogl */
#undef HAVE_CLOGL
+/* Define to 1 if you have the `close' function. */
+#undef HAVE_CLOSE
+
/* complex.h exists */
#undef HAVE_COMPLEX_H
@@ -261,6 +270,9 @@
/* Define to 1 if you have the `ctime' function. */
#undef HAVE_CTIME
+/* Define to 1 if you have the `dup2' function. */
+#undef HAVE_DUP2
+
/* libm includes erf */
#undef HAVE_ERF
@@ -279,9 +291,15 @@
/* libm includes erfl */
#undef HAVE_ERFL
+/* Define to 1 if you have the <execinfo.h> header file. */
+#undef HAVE_EXECINFO_H
+
/* Define to 1 if you have the `execl' function. */
#undef HAVE_EXECL
+/* Define to 1 if you have the `execvp' function. */
+#undef HAVE_EXECVP
+
/* libm includes exp */
#undef HAVE_EXP
@@ -300,6 +318,9 @@
/* libm includes fabsl */
#undef HAVE_FABSL
+/* Define to 1 if you have the `fdopen' function. */
+#undef HAVE_FDOPEN
+
/* libm includes feenableexcept */
#undef HAVE_FEENABLEEXCEPT
@@ -372,15 +393,15 @@
/* libc includes getpid */
#undef HAVE_GETPID
+/* libc includes getppid */
+#undef HAVE_GETPPID
+
/* Define to 1 if you have the `getrlimit' function. */
#undef HAVE_GETRLIMIT
/* Define to 1 if you have the `getrusage' function. */
#undef HAVE_GETRUSAGE
-/* Define to 1 if you have the `gettimeofday' function. */
-#undef HAVE_GETTIMEOFDAY
-
/* libc includes getuid */
#undef HAVE_GETUID
@@ -486,6 +507,9 @@
/* Define to 1 if you have the `perror' function. */
#undef HAVE_PERROR
+/* Define to 1 if you have the `pipe' function. */
+#undef HAVE_PIPE
+
/* libm includes pow */
#undef HAVE_POW
@@ -567,6 +591,9 @@
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
+/* Define to 1 if you have the `strcasestr' function. */
+#undef HAVE_STRCASESTR
+
/* Define to 1 if you have the `strerror' function. */
#undef HAVE_STRERROR