| 17 |
LIBDIRS="-L@libdir@" |
LIBDIRS="-L@libdir@" |
| 18 |
|
|
| 19 |
gedcomparser_libs="$LIBDIRS -lgedcomparser" |
gedcomparser_libs="$LIBDIRS -lgedcomparser" |
| 20 |
|
gedcomeditor_libs="$LIBDIRS -lgedcomparser -lgedcomeditor" |
| 21 |
gedcomparser_cflags="$CFLAGS" |
gedcomparser_cflags="$CFLAGS" |
| 22 |
|
gedcomeditor_cflags="$CFLAGS" |
| 23 |
|
|
| 24 |
usage() |
usage() |
| 25 |
{ |
{ |
| 27 |
Usage: gedcomparser-config [OPTION]... [LIBRARY]... |
Usage: gedcomparser-config [OPTION]... [LIBRARY]... |
| 28 |
|
|
| 29 |
Generic options |
Generic options |
| 30 |
--version output gedcomparser version information |
--version output GHOSTS gedcom libraries version information |
| 31 |
--help display this help and exit |
--help display this help and exit |
| 32 |
|
|
| 33 |
Compilation support options |
Compilation support options |
| 39 |
Known values for LIBRARY are: |
Known values for LIBRARY are: |
| 40 |
|
|
| 41 |
gedcomparser (default) |
gedcomparser (default) |
| 42 |
|
gedcomeditor |
| 43 |
|
|
| 44 |
EOF |
EOF |
| 45 |
|
|
| 86 |
--libs-only-l) |
--libs-only-l) |
| 87 |
libs_l=true |
libs_l=true |
| 88 |
;; |
;; |
| 89 |
|
gedcomeditor) |
| 90 |
|
the_libs="$the_libs $gedcomeditor_libs" |
| 91 |
|
the_flags="$the_flags $gedcomeditor_cflags" |
| 92 |
|
any=yes |
| 93 |
|
;; |
| 94 |
gedcomparser) |
gedcomparser) |
| 95 |
the_libs="$the_libs $gedcomparser_libs" |
the_libs="$the_libs $gedcomparser_libs" |
| 96 |
the_flags="$the_flags $gedcomparser_cflags" |
the_flags="$the_flags $gedcomparser_cflags" |