Skip to content

Commit 7e4f5e2

Browse files
authored
Merge pull request #37 from vijaysm/vijaysm/fix-configuration
Some minor configuration fixes
2 parents 6afc436 + d275dee commit 7e4f5e2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

configure.ac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS CC=$CC CXX=$CXX FC=$FC"
2727
# TODO: Should we check for partial C++11 support also ?
2828
AX_CXX_COMPILE_STDCXX_0X
2929

30-
# Checks for FORTRAN.
30+
# Checks for FORTRAN - required for BLAS/LAPACK symbol name mangling
3131
AC_PROG_F77([ifort gfortran g77 f77])
3232
AC_F77_LIBRARY_LDFLAGS
3333
LIBS="$LIBS $FCLIBS -lm"
3434

35+
# Checks for libraries.
36+
3537
# Checks for BLAS/LAPACK libraries:
3638
AX_BLAS([], [AC_MSG_ERROR([BLAS library not found])])
3739
AX_LAPACK([], [AC_MSG_ERROR([LAPACK library not found])])
3840

39-
# Checks for libraries.
40-
# FIXME: Replace `main' with a function in `-lnetcdf':
4141
# checking for netCDF
4242
AC_LANG_PUSH([C++])
43-
ACX_NETCDF([],[AC_MSG_ERROR(cannot find netCDF fortran library)])
43+
ACX_NETCDF([],[AC_MSG_ERROR(cannot find NetCDF library. Please specify the directory using --with-netcdf=DIR configure option.)])
4444
AC_LANG_POP([C++])
4545

4646
# Checks for header files.

src/FixedPoint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
///////////////////////////////////////////////////////////////////////////////
2121

22-
#include <cstdint>
22+
#include <stdint.h>
2323
#include <vector>
2424
#include <iostream>
2525
#include <cstring>

0 commit comments

Comments
 (0)