summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-19 21:26:01 +0200
committerVictor Kareh <[email protected]>2019-10-01 22:06:07 -0400
commit610d0a08d8cb2dea6d380a5bffe6179fdd423589 (patch)
treec7c15154b9f2a19900123177a21e3d5667edf50d /configure.ac
parentf70a69eb07d5b240f1ca7b53bf42077702cded01 (diff)
downloadengrampa-610d0a08d8cb2dea6d380a5bffe6179fdd423589.tar.bz2
engrampa-610d0a08d8cb2dea6d380a5bffe6179fdd423589.tar.xz
Remove internal mkdtemp and define feature test macro
mkdtemp(): /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc 2.19 and earlier: */ _BSD_SOURCE || /* Since glibc 2.10: */ _POSIX_C_SOURCE >= 200809L _POSIX_C_SOURCE 200809L is enabled by _XOPEN_SOURCE >= 700. Ref: http://man7.org/linux/man-pages/man7/feature_test_macros.7.html
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 0 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 6600379..c221bc4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,14 +113,6 @@ AM_CONDITIONAL(ENABLE_JSON_GLIB, test x"$enable_json_glib" != x"no")
dnl ******************************
-dnl Checks for mkdtemp function
-
-mkdtemp_missing=false
-AC_CHECK_FUNC(mkdtemp,
- [AC_DEFINE([HAVE_MKDTEMP], 1, [Have GlibC function to make temp dirs])],
- mkdtemp_missing=true)
-AM_CONDITIONAL(MKDTEMP_MISSING, test x$mkdtemp_missing = xtrue)
-
AC_CHECK_LIB(m, floor)
dnl ==========================================================================
@@ -206,7 +198,6 @@ Configuration:
Source code location: ${srcdir}
Compiler: ${CC}
- Internal mkdtemp: ${mkdtemp_missing}
Caja support: ${enable_caja_actions}
PackageKit support: ${enable_packagekit}
Run in place ${enable_run_in_place}