Changeset 2395 for trunk/m4/yat_gsl.m4


Ignore:
Timestamp:
Jan 7, 2011, 1:03:23 AM (11 years ago)
Author:
Peter
Message:

improve portability; avoid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_gsl.m4

    r2130 r2395  
    11## $Id$
    22
    3 #   Copyright (C) 2009 Peter Johansson
     3#   Copyright (C) 2009, 2011 Peter Johansson
    44#
    55#   This file is part of the yat library, http://dev.thep.lu.se/yat
     
    2020
    2121#
    22 # serial 1 
     22# serial 2 
    2323#
    2424# see http://www.gnu.org/software/automake/manual/automake.html#Serials
     
    4747
    4848  AS_IF([test "x$yat_gsl_status" = "xok"],
    49         [# grep words startinging with '-L' in other words LDFLAGS
     49        [# grep words starting with '-L' in other words LDFLAGS
    5050         for i in $GSL_LIBS; do
    51            AS_IF([test ${i:0:2} = "-L"],
     51           AS_IF([AS_ECHO([$i]) | grep '^-L' > /dev/null],
    5252                 [YAT_LD_ADD_FLAG([LDFLAGS], [$i])])
    5353         done         
Note: See TracChangeset for help on using the changeset viewer.