mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Use sysconfdir variable if was given via '--sysconfdir' flag to configure script.
This commit is contained in:
12
m4/expand.m4
Normal file
12
m4/expand.m4
Normal file
@@ -0,0 +1,12 @@
|
||||
dnl
|
||||
dnl found in https://jim.sh/svn/jim/vendor/sdcc/2.5.0/configure.in
|
||||
dnl Examples: AC_EXPAND(prefix, "/usr/local", expanded_prefix)
|
||||
|
||||
AC_DEFUN([EDE_EXPAND], [
|
||||
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
|
||||
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
||||
ac_expand=[$]$1
|
||||
test "x$ac_expand" = xNONE && ac_expand="[$]$2"
|
||||
ac_expand=`eval echo [$]ac_expand`
|
||||
$3=`eval echo [$]ac_expand`
|
||||
])
|
Reference in New Issue
Block a user