Changeset 1372


Ignore:
Timestamp:
Jul 25, 2009 9:55:30 AM (11 years ago)
Author:
stefan
Message:

AC_COIN_EXAMPLE_FILES: add and evaluate enable-doscompile option before using it; require AC_PROG_LN_S instead of running it at each call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r1362 r1372  
    24342434[AC_REQUIRE([AC_COIN_CHECK_GNU_ZLIB])
    24352435AC_REQUIRE([AC_COIN_CHECK_VPATH])
     2436AC_REQUIRE([AC_COIN_ENABLE_DOSCOMPILE])
     2437AC_REQUIRE([AC_PROG_LN_S])
     2438
    24362439files=`cd $srcdir; ls $1`
    24372440# We need to do the following loop to make sure that are no newlines
     
    24492452      lnkcmd=cp ;;
    24502453  esac
    2451   if test "$lnkcmd" = cp; then
     2454  if test "x$lnkcmd" = xcp; then
    24522455    AC_MSG_NOTICE([Copying example files ($1)])
    24532456  else
    2454     AC_PROG_LN_S
    24552457    AC_MSG_NOTICE([Creating links to the example files ($1)])
    24562458    lnkcmd="$LN_S"
Note: See TracChangeset for help on using the changeset viewer.