pthread-cond: Fix compilation error on native Windows.
[gnulib.git] / modules / openmp-init
blobad5ccc0d781e65e3ccc40da9f7920020057a3395
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 gen-header
11 include_next
12 c-ctype
13 setenv
15 configure.ac:
16 gl_OMP_H
17 AC_PROG_MKDIR_P
19 Makefile.am:
20 BUILT_SOURCES += omp.h
22 # We need the following in order to create <omp.h> when the system
23 # doesn't have one that works with the given compiler.
24 omp.h: omp.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
25   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
26 @NMD@   $(AM_V_GEN)$(MKDIR_P) '%reldir%'
27         $(gl_V_at)$(SED_HEADER_STDOUT) \
28               -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
29               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
30               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
31               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
32               -e 's|@''NEXT_OMP_H''@|$(NEXT_OMP_H)|g' \
33               $(srcdir)/omp.in.h > $@-t
34         $(AM_V_at)mv $@-t $@
35 MOSTLYCLEANFILES += omp.h omp.h-t
37 lib_SOURCES += omp-init.c
39 Include:
40 #include <omp.h>
42 License:
43 LGPL
45 Maintainer:
46 all