Mercurial > repos > dawe > srf2fastq
comparison srf2fastq/io_lib-1.12.2/io_lib-config.in @ 0:d901c9f41a6a default tip
Migrated tool version 1.0.1 from old tool shed archive to new tool shed repository
author | dawe |
---|---|
date | Tue, 07 Jun 2011 17:48:05 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d901c9f41a6a |
---|---|
1 #!/bin/sh | |
2 # | |
3 # This program prints up a few io_lib configuration parameters. It is | |
4 # designed to be used in other build environments so that programs | |
5 # using io_lib can automatically generate the appropriate CFLAGS and LDFLAGS. | |
6 | |
7 usage() { | |
8 cat << _EOF_ | |
9 Usage: io_lib-config [option] | |
10 | |
11 where 'option' is any one of: | |
12 | |
13 --cflags C and preprocessor flags (eg -I/foo/include) | |
14 --libs Link-line parameters, eg -L/foo/lib -lstaden-read | |
15 --version List io_lib version number | |
16 | |
17 _EOF_ | |
18 | |
19 exit $1 | |
20 } | |
21 | |
22 [ $# -eq 0 ] && usage 1 | |
23 | |
24 prefix=@prefix@ | |
25 exec_prefix=@exec_prefix@ | |
26 includedir=@includedir@ | |
27 | |
28 case "$1" in | |
29 --cflags) | |
30 echo "-I@includedir@" | |
31 ;; | |
32 --libs) | |
33 echo "-L@libdir@ -lstaden-read @LDFLAGS@ @LIBS@ @LIBCURL@ @LIBZ@" | |
34 ;; | |
35 --version) | |
36 echo @VERSION@ | |
37 ;; | |
38 --help) | |
39 usage 0 | |
40 ;; | |
41 *) | |
42 echo "Unknown option '$1'" 1>&2 | |
43 exit 1 | |
44 esac | |
45 |