Commits

shl...@7081e830-ea04-0410-ae62-fb6148e2d9db  committed 722b9ef

More headers added.

  • Participants
  • Parent commits f886fe0
  • Branches conversion-to-cmake

Comments (0)

Files changed (3)

File src/wml_backend/p2_mp4h/CMakeLists.txt

 # CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
 # CHECK_INCLUDE_FILE("stdio.h" HAVE_STDIO_H)
 
-SET (INCLUDE_FILES_TO_CHECK stdarg.h stdio.h unistd.h)
+SET (INCLUDE_FILES_TO_CHECK
+    alloca.h
+    argz.h
+    assert.h
+    ctype.h
+    dirent.h
+    dld.h
+    dlfcn.h
+    dl.h
+    errno.h
+    grp.h
+    inttypes.h
+    limits.h
+    locale.h
+    malloc.h
+    memory.h
+    ndir.h
+    nl/types.h
+    pwd.h
+    stdarg.h
+    stddef.h
+    stdint.h
+    stdio.h
+    stdlib.h
+    string.h
+    strings.h
+    strings.h
+    sys/dir.h
+    sys/dl.h
+    sys/ndir.h
+    sys/param.h
+    sys/stat.h
+    sys/times.h
+    sys/types.h
+    time.h
+    unistd.h
+    )
 CHECK_MULTI_INCLUDE_FILES(${INCLUDE_FILES_TO_CHECK})
 
 SET (REQUIRED_STDC_HEADERS float.h string.h stdlib.h stdarg.h)
 CHECK_INCLUDE_FILES("${REQUIRED_STDC_HEADERS}" STDC_HEADERS)
 
-SET (FUNCTIONS_TO_CHECK tmpfile mkstemp strerror vprintf)
+SET (FUNCTIONS_TO_CHECK 
+    alloca
+    argz_append
+    argz_create_sep
+    argz_insert
+    argz_next
+    argz_stringify
+    tmpfile
+    mkstemp
+    strerror
+    vprintf
+    )
 CHECK_MULTI_FUNCTIONS_EXISTS(${FUNCTIONS_TO_CHECK})
 
 SET (VERSION ${PACKAGE_VERSION})

File src/wml_backend/p2_mp4h/Common.cmake

   FOREACH(name ${ARGN})
     STRING(TOUPPER have_${name} SYMBOL_NAME)
     STRING(REGEX REPLACE "\\." "_" SYMBOL_NAME ${SYMBOL_NAME})
+    STRING(REGEX REPLACE "/" "_" SYMBOL_NAME ${SYMBOL_NAME})
     CHECK_INCLUDE_FILE(${name} ${SYMBOL_NAME})
   ENDFOREACH(name)
 ENDMACRO(CHECK_MULTI_INCLUDE_FILES)

File src/wml_backend/p2_mp4h/config.h.cmake

 #undef ENABLE_NLS
 
 /* Define to 1 if you have `alloca', as a function or macro. */
-#undef HAVE_ALLOCA
+#cmakedefine HAVE_ALLOCA 1
 
 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
    */
-#undef HAVE_ALLOCA_H
+#cmakedefine HAVE_ALLOCA_H 1
 
 /* Define to 1 if you have the `argz_append' function. */
-#undef HAVE_ARGZ_APPEND
+#cmakedefine HAVE_ARGZ_APPEND 1
 
 /* Define to 1 if you have the `argz_create_sep' function. */
-#undef HAVE_ARGZ_CREATE_SEP
+#cmakedefine HAVE_ARGZ_CREATE_SEP 1
 
 /* Define to 1 if you have the <argz.h> header file. */
-#undef HAVE_ARGZ_H
+#cmakedefine HAVE_ARGZ_H 1
 
 /* Define to 1 if you have the `argz_insert' function. */
-#undef HAVE_ARGZ_INSERT
+#cmakedefine HAVE_ARGZ_INSERT 1
 
 /* Define to 1 if you have the `argz_next' function. */
-#undef HAVE_ARGZ_NEXT
+#cmakedefine HAVE_ARGZ_NEXT 1
 
 /* Define to 1 if you have the `argz_stringify' function. */
-#undef HAVE_ARGZ_STRINGIFY
+#cmakedefine HAVE_ARGZ_STRINGIFY 1
 
 /* Define to 1 if you have the <assert.h> header file. */
-#undef HAVE_ASSERT_H
+#cmakedefine HAVE_ASSERT_H 1
 
 /* Define to 1 if you have the `bcopy' function. */
-#undef HAVE_BCOPY
+#cmakedefine HAVE_BCOPY 1
 
 /* Define to 1 if you have the <ctype.h> header file. */
-#undef HAVE_CTYPE_H
+#cmakedefine HAVE_CTYPE_H 1
 
 /* Define if the GNU dcgettext() function is already present or preinstalled.
    */
 
 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
    */
-#undef HAVE_DIRENT_H
+#cmakedefine HAVE_DIRENT_H
 
 /* Define if you have the GNU dld library. */
 #undef HAVE_DLD