2020-05-01 02:24:32 +02:00
|
|
|
$NetBSD: patch-ab,v 1.3 2020/05/01 00:24:32 joerg Exp $
|
2013-06-16 20:56:04 +02:00
|
|
|
|
2013-06-19 02:29:02 +02:00
|
|
|
Fix Solaris support.
|
|
|
|
|
2020-05-01 02:24:32 +02:00
|
|
|
--- configure.orig 2013-12-04 19:27:17.000000000 +0000
|
2013-06-16 20:56:04 +02:00
|
|
|
+++ configure
|
2020-05-01 02:24:32 +02:00
|
|
|
@@ -13963,6 +13963,10 @@ case "$host_os" in
|
2013-06-19 02:29:02 +02:00
|
|
|
MODULE_ARCH="$host_os-$host_cpu"
|
|
|
|
MODULE_EDJE="$host_os-$host_cpu"
|
|
|
|
;;
|
|
|
|
+ solaris*)
|
2020-05-01 02:24:32 +02:00
|
|
|
+ MODULE_ARCH="solaris-$host_cpu-1.7.10"
|
2013-06-19 02:29:02 +02:00
|
|
|
+ MODULE_EDJE="solaris-$host_cpu-${EDJE_VERSION}"
|
|
|
|
+ ;;
|
|
|
|
*)
|
2020-05-01 02:24:32 +02:00
|
|
|
MODULE_ARCH="$host_os-$host_cpu-1.7.10"
|
2013-06-19 02:29:02 +02:00
|
|
|
MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
|
2020-05-01 02:24:32 +02:00
|
|
|
@@ -19211,7 +19215,7 @@ extern char **environ;
|
2013-06-16 20:56:04 +02:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
_ACEOF
|
|
|
|
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
|
+if ac_fn_c_try_link "$LINENO"; then :
|
|
|
|
|
|
|
|
|
|
|
|
$as_echo "#define HAVE_ENVIRON 1" >>confdefs.h
|
2020-05-01 02:24:32 +02:00
|
|
|
@@ -19235,7 +19239,7 @@ clearenv();
|
2013-06-16 20:56:04 +02:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
_ACEOF
|
|
|
|
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
|
+if ac_fn_c_try_link "$LINENO"; then :
|
|
|
|
|
|
|
|
|
|
|
|
$as_echo "#define HAVE_CLEARENV 1" >>confdefs.h
|