Sophie

Sophie

distrib > Mageia > 8 > armv7hl > by-pkgid > 9f9b6f968c7282e241f480ada8adfc66 > files > 20

erlang-23.2.1-3.mga8.src.rpm

diff --git a/lib/crypto/configure.in b/lib/crypto/configure.in
index d9e431a..ddf21eb 100644
--- a/lib/crypto/configure.in
+++ b/lib/crypto/configure.in
@@ -26,12 +26,12 @@ dnl define([AC_CACHE_SAVE], )dnl
 AC_INIT(vsn.mk)
 
 if test -z "$ERL_TOP" || test ! -d "$ERL_TOP" ; then
-  AC_CONFIG_AUX_DIRS(autoconf)
+  AC_MSG_ERROR([ERL_TOP is not set])
 else
   erl_top=${ERL_TOP}
-  AC_CONFIG_AUX_DIRS($erl_top/erts/autoconf)
+  AC_CONFIG_AUX_DIRS(${ERL_TOP}/erts/autoconf)
 fi
 
 if test "X$host" != "Xfree_source" -a "X$host" != "Xwin32"; then
     AC_CANONICAL_HOST
 else
diff --git a/lib/megaco/configure.in b/lib/megaco/configure.in
index bf22776..a100ed4 100644
--- a/lib/megaco/configure.in
+++ b/lib/megaco/configure.in
@@ -26,10 +26,10 @@ dnl define([AC_CACHE_SAVE], )dnl
 AC_INIT(vsn.mk)
 
 if test -z "$ERL_TOP" || test ! -d $ERL_TOP ; then
-  AC_CONFIG_AUX_DIRS(autoconf)
+  AC_MSG_ERROR([ERL_TOP is not set])
 else
   erl_top=${ERL_TOP}
-  AC_CONFIG_AUX_DIRS($erl_top/erts/autoconf)
+  AC_CONFIG_AUX_DIRS(${ERL_TOP}/erts/autoconf)
 fi
 
 if test "X$host" != "Xfree_source" -a "X$host" != "Xwin32"; then
diff --git a/lib/odbc/configure.in b/lib/odbc/configure.in
index f13cd8c..c2d71dc 100644
--- a/lib/odbc/configure.in
+++ b/lib/odbc/configure.in
@@ -26,10 +26,10 @@ dnl Process this file with autoconf to produce a configure script.
 AC_INIT(c_src/odbcserver.c)
 
 if test -z "$ERL_TOP" || test ! -d $ERL_TOP ; then
-  AC_CONFIG_AUX_DIRS(autoconf)
+  AC_MSG_ERROR([ERL_TOP is not set])
 else
   erl_top=${ERL_TOP}
-  AC_CONFIG_AUX_DIRS($erl_top/erts/autoconf)
+  AC_CONFIG_AUX_DIRS(${ERL_TOP}/erts/autoconf)
 fi
 
 if test "X$host" != "Xfree_source" -a "X$host" != "Xwin32"; then
diff --git a/lib/snmp/configure.in b/lib/snmp/configure.in
index f9ca8f9..dd5cacb 100644
--- a/lib/snmp/configure.in
+++ b/lib/snmp/configure.in
@@ -5,10 +5,10 @@ define([AC_CACHE_SAVE], )dnl
 AC_INIT(vsn.mk)
 
 if test -z "$ERL_TOP" || test ! -d $ERL_TOP ; then
-  AC_CONFIG_AUX_DIRS(autoconf)
+  AC_MSG_ERROR([ERL_TOP is not set])
 else
   erl_top=${ERL_TOP}
-  AC_CONFIG_AUX_DIRS($erl_top/erts/autoconf)
+  AC_CONFIG_AUX_DIRS(${ERL_TOP}/erts/autoconf)
 fi
 
 if test "X$host" != "Xfree_source" -a "X$host" != "Xwin32"; then
diff --git a/lib/wx/configure.in b/lib/wx/configure.in
index 5a69738..34db0e9 100644
--- a/lib/wx/configure.in
+++ b/lib/wx/configure.in
@@ -33,7 +33,7 @@ if test -z "$ERL_TOP" || test ! -d $ERL_TOP ; then
   AC_MSG_ERROR([ERL_TOP is not set])
 else
   erl_top=${ERL_TOP}
-  AC_CONFIG_AUX_DIRS($erl_top/erts/autoconf)
+  AC_CONFIG_AUX_DIRS(${ERL_TOP}/erts/autoconf)
   WX_BUILDING_INSIDE_ERLSRC=true
 fi
 
diff --git a/make/configure.in b/make/configure.in
index ee2fa84..0a9b9fd 100644
--- a/make/configure.in
+++ b/make/configure.in
@@ -82,7 +82,7 @@ AC_SUBST(ERL_TOP)
 dnl
 dnl Aux programs are found in erts/autoconf
 dnl
-AC_CONFIG_AUX_DIR(${srcdir}/erts/autoconf)
+AC_CONFIG_AUX_DIR(${ERL_TOP}/erts/autoconf)
 
 dnl
 dnl Figure out what we are running on. And in violation of autoconf