Changeset 2869


Ignore:
Timestamp:
Nov 12, 2012, 10:42:52 PM (9 years ago)
Author:
Peter
Message:

improve error messages. emove debug code. refs #729

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r2868 r2869  
    6060AM_INIT_AUTOMAKE([1.11 std-options color-tests parallel-tests
    6161                  silent-rules subdir-objects])
     62
     63YAT_MSG_ERROR_PREPARE([
     64        Some pre-requisites were not fulfilled, aborting configure.
     65        Please consult the 'README' file for more information about what
     66        is needed to compile yat and refer to messages below.
     67])
     68
    6269
    6370# Set default programming language
     
    248255
    249256AS_IF([test x"$with_samtools" != x"no"], [
    250   AC_CHECK_HEADER([zlib.h], [], [YAT_MSG_ERROR([zlib.h was not found])])
    251 AC_SEARCH_LIBS([inflateEnd], [z])
    252   AC_CHECK_LIB([z], [inflateEnd], [], [YAT_MSG_ERROR([libz was not found])])
    253   AC_CHECK_HEADER([bam.h], [], [YAT_MSG_ERROR([bam.h was not found])])
     257  AC_CHECK_HEADER([zlib.h], [],
     258    [YAT_MSG_ERROR([Header file 'zlib.h' was not found])])
     259  AC_CHECK_LIB([z], [inflateEnd], [],
     260    [YAT_MSG_ERROR([Library 'libz' was not found])])
     261  AC_CHECK_HEADER([bam.h], [],
     262    [YAT_MSG_ERROR([Header file 'bam.h' was not found])])
    254263  # try link against libbam
    255264  YAT_CHECK_LIBBAM([LIBS="$BAM_LIBS $LIBS"],
    256                    [YAT_MSG_ERROR([libbam was not found])])
     265    [YAT_MSG_ERROR([Library 'libbam' was not found])])
    257266])
    258267AM_CONDITIONAL([HAVE_SAMTOOLS], [test x"$with_samtools" = x"yes"])
Note: See TracChangeset for help on using the changeset viewer.