File: configure.patch

package info (click to toggle)
hypre 3.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 58,112 kB
  • sloc: ansic: 408,221; cpp: 62,971; sh: 12,091; fortran: 9,433; makefile: 3,328; perl: 2,994; awk: 147; python: 126
file content (47 lines) | stat: -rw-r--r-- 1,551 bytes parent folder | download
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	2025-12-07 19:39:23.432044719 +0100
+++ hypre/src/config/configure.in	2025-12-07 19:39:23.426528268 +0100
@@ -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
@@ -246,19 +246,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 *********************************************************************
@@ -3012,7 +3011,7 @@
 dnl *********************************************************************
 HYPRE_INSTALLDIR="${prefix}"
 HYPRE_LIBINSTALL="${libdir}"
-HYPRE_INCINSTALL="${includedir}"
+HYPRE_INCINSTALL="${includedir}/hypre"
 
 dnl *********************************************************************
 dnl * Define machine architecture