File: configure.patch

package info (click to toggle)
hypre 2.33.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 51,856 kB
  • sloc: ansic: 403,366; cpp: 62,971; sh: 10,811; fortran: 10,068; perl: 2,994; makefile: 2,959; awk: 147; python: 126
file content (47 lines) | stat: -rw-r--r-- 1,551 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Index: hypre/src/config/configure.in
===================================================================
--- hypre.orig/src/config/configure.in	2024-07-20 12:19:05.010995317 +0200
+++ hypre/src/config/configure.in	2024-07-20 12:19:05.002995221 +0200
@@ -72,7 +72,7 @@
 
 dnl * Change default prefix from /usr/local to ./hypre
 dnl * Note that $ expansion of shell variables doesn't work with this AC macro.
-AC_PREFIX_DEFAULT([M4_HYPRE_SRCDIR/hypre])
+##AC_PREFIX_DEFAULT([M4_HYPRE_SRCDIR/hypre])
 
 dnl *********************************************************************
 dnl * Initialize some variables
@@ -240,19 +240,18 @@
 dnl *********************************************************************
 dnl * Determine BUILD, HOST, and TARGET types
 dnl *********************************************************************
-if test "x$build_alias" = "x"
-then
-   AC_CANONICAL_BUILD
-fi
+AC_CANONICAL_HOST
+AC_CANONICAL_BUILD
+AC_CANONICAL_TARGET
 
 if test "x$host_alias" = "x"
 then
-   AC_CANONICAL_HOST
+   host_alias=$host
 fi
 
 if test "x$target_alias" = "x"
 then
-   target_alias=$host_alias
+   target_alias=$host
 fi
 
 dnl *********************************************************************
@@ -2875,7 +2874,7 @@
 dnl *********************************************************************
 HYPRE_INSTALLDIR="${prefix}"
 HYPRE_LIBINSTALL="${libdir}"
-HYPRE_INCINSTALL="${includedir}"
+HYPRE_INCINSTALL="${includedir}/hypre"
 
 dnl *********************************************************************
 dnl * Define machine architecture