Ignore:
Timestamp:
May 8, 2010 9:54:35 AM (10 years ago)
Author:
stefan
Message:

copy over pkg-config setup and making thirdparty projects installable projects from split branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Metis/trunk/configure.ac

    r1411 r1548  
    5151AC_COIN_PROG_CC
    5252
     53# Check if pkg-config is available (to setup addlibs file)
     54AC_COIN_HAS_PKGCONFIG
     55
    5356# Initialize automake
    5457AC_COIN_INIT_AUTO_TOOLS
    55 
    56 # ## Check if Metis is already provided by user
    57 AC_COIN_HAS_METIS
    58 
    59 rm -f $MAKEOKFILE
    60 if test $coin_has_metis = yes && test "$use_metis" != BUILD; then
    61   AC_MSG_NOTICE([The Metis sources don't need to be compiled])
    62   MAKEOKFILE=
    63 else
    64   touch $MAKEOKFILE
    65 fi
    66 AC_SUBST(MAKEOKFILE)
    67 AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    6858
    6959# We need to create a dummy header file for Windows
     
    7969# By defining __VC__, we can make Metis use an alternative function
    8070AC_CHECK_FUNC(drand48,,[CFLAGS="$CFLAGS -D__VC__"])
    81      
    8271
    8372METISDIR=metis-4.0
    8473AC_SUBST(METISDIR)
    8574
    86 AC_CONFIG_FILES([Makefile])
     75AC_CONFIG_FILES([Makefile coinmetis.pc coinmetis-uninstalled.pc])
    8776
    8877AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.