Changeset 2016


Ignore:
Timestamp:
Aug 2, 2009, 4:22:09 PM (11 years ago)
Author:
Peter
Message:

fixed a few bugs in autoconf macros

Location:
trunk/m4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_add_flag.m4

    r1984 r2016  
    4040
    4141#
    42 # serial 4 
     42# serial 5 
    4343#
    4444# see http://www.gnu.org/software/automake/manual/automake.html#Serials
     
    5454           test "x$yat_flag" = "x-I/usr/local/include"],,
    5555          [YAT_FIND_STR([$1], [$yat_flag], ,
    56                         [AX_CXXCPP_CHECK_FLAG([$i], ,, [$1="$$1 $yat_flag"])])])
     56                        [AX_CXXCPP_CHECK_FLAG([$yat_flag], ,,
     57                                              [$1="$$1 $yat_flag"])])])
    5758  done
    5859]) # YAT_CPP_ADD_FLAG
  • trunk/m4/yat_gsl.m4

    r1980 r2016  
    2020
    2121#
    22 # serial 0 
     22# serial 1 
    2323#
    2424# see http://www.gnu.org/software/automake/manual/automake.html#Serials
     
    3333  AX_PATH_GSL([$1],,[yat_gsl_status="no"])
    3434
    35   YAT_CPP_ADD_FLAG([CPPFLAGS], [`$GSL_CONFIG --cflags`])
    3635  AS_IF([test "x$yat_gsl_status" = "xok"],
    3736        [YAT_CHECK_GSL_HEADER([gsl/gsl_version.h],,
     
    5756[
    5857  save_CPPFLAGS=$CPPFLAGS
    59   YAT_CPP_ADD_FLAG([$CPPFLAGS],[`$GSL_CONFIG --cflags`])
     58  YAT_CPP_ADD_FLAG([CPPFLAGS],[`$GSL_CONFIG --cflags`])
    6059  AC_CHECK_HEADER([$1], [$2], [$3])
    6160]) # YAT_CHECK_GSL_HEADER
Note: See TracChangeset for help on using the changeset viewer.