forked from jmrosinski/GPTL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rosinski
committed
Apr 5, 2008
1 parent
a87e19a
commit ce3d948
Showing
6 changed files
with
38 additions
and
381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
dnl Process this file with autoconf to produce a configure script. | ||
AC_INIT(private.h) | ||
AC_LANG(C) | ||
|
||
echo "This script provides suggestions for settings to apply in macros.make" | ||
echo "You can pass things like FC=gfortran or CC=pathcc to it to override defaults." | ||
AC_PROG_MAKE_SET | ||
AC_PROG_CC() | ||
#AC_PROG_FC() | ||
echo "Assuming C compiler is $CC" | ||
AC_PROG_FC() | ||
echo "Assuming Fortran compiler is $FC" | ||
dnl This barfs when CC is pgcc and F77 pgf90 | ||
AC_FC_FUNC(z_zz,z_zz) | ||
case $z_zz in | ||
z_zz__) echo FORTRANDOUBLEUNDERSCORE ;; | ||
z_zz_) echo FORTRANUNDERSCORE ;; | ||
Z_ZZ) echo FORTRANCAPS ;; | ||
z_zz__) echo "Fortran name mangling: -DFORTRANDOUBLEUNDERSCORE" ;; | ||
z_zz_) echo "Fortran name mangling: -DFORTRANUNDERSCORE" ;; | ||
Z_ZZ) echo "Fortran name mangling: -DFORTRANCAPS" ;; | ||
*) echo "Fortran name mangling: none" ;; | ||
esac | ||
|
||
dnl For proper handling of const and inline | ||
AC_C_INLINE | ||
dnl Checks for library functions. | ||
AC_FUNC_VPRINTF | ||
echo "Inlining: -Dinline=$ac_cv_c_inline" | ||
dnl AC_FUNC_VPRINTF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.