Rev 2 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/bin/sh## $Id: pike-config.in,v 1.1 2002/08/12 01:02:31 grendel Exp $#MY_CFLAGS="@CFLAGS@"MY_LDFLAGS="@LDFLAGS@"MY_VERSION="@MAJOR@.@MINOR@.@BUILD@"if test -z "$1"; thencat <<EOFUsage: pike-config [--cflags] [--ldflags] [--version]--cflags Print the compiler flags required to compile a module--ldflags Print the linker flags required to link a module--version Print the pike version for which the compilation is takingplaceEOFexit 1fiwhile true; doif test -z "$1"; thenbreakficase $1 in--cflags) echo -n "${MY_CFLAGS} " ;;--ldflags) echo -n "${MY_LDFLAGS} " ;;--version) echo -n "${MY_VERSION} " ;;esacshiftdoneecho