mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
add patch for ASCO, handle OSX as UNIX
This commit is contained in:
parent
7c0224f76b
commit
f1286a90c8
20
contrib/patch_asco_osx.diff
Normal file
20
contrib/patch_asco_osx.diff
Normal file
@ -0,0 +1,20 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 6d362b0..6300469 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -53,6 +53,13 @@ if test "x$GCC" = xyes; then
|
||||
fi
|
||||
fi
|
||||
|
||||
+dnl Force the Unix definition
|
||||
+case $host_os in
|
||||
+ *darwin*)
|
||||
+ CFLAGS="$CFLAGS -DUNIX -I/usr/include/malloc"
|
||||
+ ;;
|
||||
+esac
|
||||
+
|
||||
dnl Check for MP-ICC.
|
||||
AC_PATH_PROG(CC_MPI, mpicc, :)
|
||||
AM_CONDITIONAL(MPI, test "$CC_MPI" != ":")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user