|
1 |
| -$NetBSD: patch-configure,v 1.3 2021/09/20 01:16:44 mef Exp $ |
| 1 | +$NetBSD: patch-configure,v 1.4 2023/08/11 08:41:09 mef Exp $ |
2 | 2 |
|
3 |
| -=> Checking for portability problems in extracted files |
4 | 3 | ERROR: [check-portability.awk] => Found test ... == ...:
|
5 |
| -ERROR: [check-portability.awk] configure:2974: if test x"${nlopt_libs}" == x""; then |
6 |
| -ERROR: [check-portability.awk] configure:2975: if test x"${PKGCONFIG}" == x"yes"; then |
7 |
| -ERROR: [check-portability.awk] configure:3272: if test x"${PKGCONFIG}" == x"yes"; then |
8 | 4 |
|
9 |
| ---- configure.orig 2020-07-03 02:30:38.000000000 +0900 |
10 |
| -+++ configure 2021-09-18 13:38:30.459037943 +0900 |
11 |
| -@@ -2971,8 +2971,8 @@ nlopt_libs="" |
| 5 | +--- configure.orig 2022-05-26 23:40:24.000000000 +0900 |
| 6 | ++++ configure 2023-08-11 16:48:17.053659088 +0900 |
| 7 | +@@ -3320,7 +3320,7 @@ printf "%s\n" "no" >&6; } |
| 8 | + fi |
12 | 9 |
|
13 |
| - ## also use pkg-config to check for NLopt |
14 |
| - ## |
15 |
| --if test x"${nlopt_libs}" == x""; then |
16 |
| -- if test x"${PKGCONFIG}" == x"yes"; then |
17 |
| -+if test x"${nlopt_libs}" = x""; then |
18 |
| -+ if test x"${PKGCONFIG}" = x"yes"; then |
19 |
| - ## check via pkg-config for nlopt |
20 |
| - if pkg-config --exists nlopt; then |
21 |
| - ## obtain cflags and obtain libs |
22 |
| -@@ -3269,7 +3269,7 @@ fi |
23 |
| - if test x"${nlopt_good}" = x"yes"; then |
24 |
| - { $as_echo "$as_me:${as_lineno-$LINENO}: Now testing for NLopt version 2.4.0 or greater." >&5 |
25 |
| - $as_echo "$as_me: Now testing for NLopt version 2.4.0 or greater." >&6;} |
26 |
| -- if test x"${PKGCONFIG}" == x"yes"; then |
27 |
| -+ if test x"${PKGCONFIG}" = x"yes"; then |
28 |
| - ## check via pkg-config for version number of nlopt |
29 |
| - if pkg-config --exists nlopt; then |
30 |
| - ## obtain version number |
| 10 | + |
| 11 | +- if test x"${have_cmake}" == x"no"; then |
| 12 | ++ if test x"${have_cmake}" = x"no"; then |
| 13 | + . src/scripts/cmake_config.sh |
| 14 | + if test -z "${CMAKE_BIN}"; then |
| 15 | + ## also error to end configure here |
0 commit comments