summaryrefslogtreecommitdiff
path: root/configure.ac.in
diff options
context:
space:
mode:
authorGaƫl Bonithon <gael@xfce.org>2021-08-14 13:52:59 +0200
committerAlexander Schwinn <alexxcons@xfce.org>2021-08-15 07:22:26 +0000
commitaacad3057b5a4eabbbdc0cbbcdab9b3056a7fdee (patch)
tree84a97f114102f2426dd73ef47709b3ef56876fa0 /configure.ac.in
parent24feb82521fc1054f61c69524b55e7b58a6a6ae0 (diff)
downloadthunar-aacad3057b5a4eabbbdc0cbbcdab9b3056a7fdee.tar.gz
autoconf: Some updates
* AC_HELP_STRING -> AS_HELP_STRING * AC_AIX, AC_MINIX -> AC_USE_SYSTEM_EXTENSIONS * AC_ISC_POSIX -> AC_SEARCH_LIBS([strerror],[cposix]) * AC_PROG_LD -> LT_PATH_LD * AC_OUTPUT -> AC_CONFIG_FILES + AC_OUTPUT
Diffstat (limited to 'configure.ac.in')
-rw-r--r--configure.ac.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac.in b/configure.ac.in
index 0ef56739..417fe216 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -58,9 +58,8 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
dnl *******************************
dnl *** Check for UNIX variants ***
dnl *******************************
-AC_AIX()
-AC_ISC_POSIX()
-AC_MINIX()
+AC_USE_SYSTEM_EXTENSIONS
+AC_SEARCH_LIBS([strerror],[cposix])
if test "x$target_os" = "xlinux-gnu"; then
AC_DEFINE([HAVE_LINUX], [], [Whether we are building on Linux or not])
@@ -70,7 +69,7 @@ dnl ********************************
dnl *** Check for basic programs ***
dnl ********************************
AC_PROG_CC()
-AC_PROG_LD()
+LT_PATH_LD()
AM_PROG_CC_C_O()
AC_PROG_INSTALL()
IT_PROG_INTLTOOL()
@@ -101,7 +100,7 @@ dnl ******************************
dnl *** Set helper path prefix ***
dnl ******************************
AC_ARG_WITH([helper-path-prefix],
- [AC_HELP_STRING([--with-helper-path-prefix=PATH],
+ [AS_HELP_STRING([--with-helper-path-prefix=PATH],
[Path prefix under which helper executables will be installed (default: $libdir)])],
[HELPER_PATH_PREFIX="$withval"],
[HELPER_PATH_PREFIX="$libdir"])
@@ -226,7 +225,7 @@ BM_THUNAR_PLUGIN_TPA()
BM_THUNAR_PLUGIN_UCA()
BM_THUNAR_PLUGIN_WALLPAPER()
-AC_OUTPUT([
+AC_CONFIG_FILES([
Makefile
docs/Makefile
docs/design/Makefile
@@ -255,6 +254,7 @@ thunarx/Makefile
thunarx/thunarx-3.pc
thunarx/thunarx-config.h
])
+AC_OUTPUT
dnl ***************************
dnl *** Print configuration ***