Changeset 156 for trunk/coin.m4


Ignore:
Timestamp:
Nov 29, 2006 3:33:53 PM (13 years ago)
Author:
andreasw
Message:

make sure trunk has stable version of coin.m4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r135 r156  
    15791579
    15801580if test x"$coin_vpath_link_files" = x; then : ; else
    1581   AC_MSG_NOTICE(Creating VPATH links for data files)
     1581  lnkcmd=
     1582  if test "$enable_doscompile" = yes; then
     1583    lnkcmd=cp
     1584  fi
     1585  case "$CC" in
     1586    cl* | */cl*)
     1587      lnkcmd=cp ;;
     1588  esac
     1589  if test "$lnkcmd" = cp; then
     1590    AC_MSG_NOTICE(Copying data files for VPATH configuration)
     1591  else
     1592    AC_PROG_LN_S
     1593    AC_MSG_NOTICE(Creating VPATH links for data files)
     1594    lnkcmd="$LN_S"
     1595  fi
    15821596  for file in $coin_vpath_link_files; do
     1597    dir=`AS_DIRNAME(["./$file"])`
     1598    if test -d $dir; then : ; else
     1599      AS_MKDIR_P($dir)
     1600    fi
    15831601    rm -f $file
    1584     $LN_S $abs_source_dir/$file $file
     1602    $lnkcmd $abs_source_dir/$file $file
    15851603  done
    15861604fi
Note: See TracChangeset for help on using the changeset viewer.