unicodeio: Fix wrong result on FreeBSD.
[gnulib.git] / modules / openmp-init
blobe3975ca4732a6190e3e301a924ada711a4ef8214
1 Description:
2 Initialization of OpenMP support.
4 Files:
5 lib/omp.in.h
6 lib/omp-init.c
7 m4/omp_h.m4
9 Depends-on:
10 include_next
11 c-ctype
12 setenv
14 configure.ac:
15 gl_OMP_H
17 Makefile.am:
18 BUILT_SOURCES += omp.h
20 # We need the following in order to create <omp.h> when the system
21 # doesn't have one that works with the given compiler.
22 omp.h: omp.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
23   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
24         $(AM_V_GEN)rm -f $@-t $@ && \
25         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
26           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
27               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
28               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
29               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
30               -e 's|@''NEXT_OMP_H''@|$(NEXT_OMP_H)|g' \
31               < $(srcdir)/omp.in.h; \
32         } > $@-t && \
33         mv $@-t $@
34 MOSTLYCLEANFILES += omp.h omp.h-t
36 lib_SOURCES += omp-init.c
38 Include:
39 #ifdef _OPENMP
40 # include <omp.h>
41 #endif
43 License:
44 LGPL
46 Maintainer:
47 all