Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/configure.ac

    • Property mode changed from 100755 to 100644
    r848729 rec4e84  
    1111
    1212AC_CANONICAL_HOST
     13
     14if test x"$CFLAGS" = x; then
     15        CFLAGS_empty=1
     16else
     17        CFLAGS_empty=0
     18fi
     19if test x"$CXXFLAGS" = x; then
     20        CXXFLAGS_empty=1
     21else
     22        CXXFLAGS_empty=0
     23fi
    1324
    1425# Checks for programs.
     
    1829AC_PATH_PROG([TAR],[tar])
    1930AM_MISSING_PROG([DOXYGEN], [doxygen])
     31
     32# Resetting C(XX)FLAGS again
     33if test $CFLAGS_empty -eq 1; then
     34        CFLAGS=""
     35fi
     36if test $CXXFLAGS_empty -eq 1; then
     37        CXXFLAGS=""
     38fi
     39
    2040
    2141dnl Check for MPI-Routines
     
    6585fi
    6686
     87AC_ARG_ENABLE([debug],AS_HELP_STRING([--enable-debug],[debugging level of compiler. Argument is yes or debugging level. (default is no)]),
     88              [enable_debugging=$enableval], [enable_debugging=no])
     89AC_ARG_ENABLE([optimization],AS_HELP_STRING([--enable-optimization],[Optimization level of compiler. Argument is yes or optimization. (default is 2)]),
     90              [enable_optimization=$enableval], [enable_optimization=2])
     91AC_ARG_ENABLE([warnings], AS_HELP_STRING([--enable-warnings],[Output compiler warnings, argument is none, some or full (default is some).]),
     92              [enable_warnings=$enableval], [enable_warnings=some])
     93AC_SET_COMPILER_FLAGS([$enable_optimization], [$enable_debugging], [$enable_warnings])
     94
    6795# Checks for typedefs, structures, and compiler characteristics.
    6896AC_TYPE_PID_T
Note: See TracChangeset for help on using the changeset viewer.