- Timestamp:
- Aug 11, 2008, 8:48:52 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build_support/yat-config.in
r1370 r1406 38 38 EXTRA_CXXFLAGS="@EXTRA_CXXFLAGS@" 39 39 EXTRA_LDFLAGS="@EXTRA_LDFLAGS@" 40 YAT_LIBNAME="@YAT_LIBNAME@" 40 41 LA_FILE="$libdir/lib@YAT_LIBNAME@.la" 41 42 42 43 usage() … … 46 47 47 48 Known values for OPTION are: 48 --prefix print @PACKAGE@ installation prefix 49 --bindir print location where binaries are installed 50 --includedir print location where headers are installed 51 --cxx print C++ compiler name 52 --cxxcpp print C++ preprocessor name and any required options 53 --cppflags print C++ preprocessor flags 54 --cxxflags print C++ compiler flags 55 --ldflags print linker flags 56 --libs print additional libraries to link against 57 --link-ld print link switch(es) for linking to @PACKAGE@ 58 --link-libtool print the libtool inputs for linking to @PACKAGE@ 59 --version print @PACKAGE@'s version 60 --version-major print @PACKAGE@'s MAJOR version 61 --version-minor print @PACKAGE@'s MINOR version 62 --version-patch print @PACKAGE@'s PATCH version 63 --help print this help 49 --prefix print prefix 50 --bindir print location where binaries are installed 51 --includedir print location where headers are installed 52 --libdir print location where @PACKAGE@ library is installed 53 --cxx print C++ compiler name 54 --cxxcpp print C++ preprocessor name and required options 55 --cppflags print C++ preprocessor flags 56 --cxxflags print C++ compiler flags 57 --ldflags print linker flags 58 --libs print libraries to link against 59 --link-libtool print the libtool inputs for linking to @PACKAGE@ 60 --atleast-version=VERSION return 0 if yat is at least version VERSION 61 --version print @PACKAGE@'s version 62 --version-major print @PACKAGE@'s MAJOR version 63 --version-minor print @PACKAGE@'s MINOR version 64 --version-patch print @PACKAGE@'s PATCH version 65 --help print this help 64 66 65 67 Report bugs to <@PACKAGE_BUGREPORT@>. … … 106 108 ;; 107 109 --libs) 108 flags="$flags $LIBS"110 flags="$flags -l@YAT_LIBNAME@ $LIBS" 109 111 ;; 110 112 --ldflags) 111 flags="$flags $EXTRA_LDFLAGS $LDFLAGS" 112 ;; 113 --link-ld) 114 flags="$flags -L$libdir -l${YAT_LIBNAME}" 113 flags="$flags -L$libdir $EXTRA_LDFLAGS $LDFLAGS" 115 114 ;; 116 115 --link-libtool) 117 flags="$flags $libdir/@YAT_LIB@" 116 flags="$flags $LA_FILE" 117 ;; 118 --atleast-version=*) 119 min_major=`@ECHO@ "$optarg" | sed 's/\([0-9]*\).*/\1/'` 120 if test "$optarg" = "$min_major"; then 121 min_minor="0"; 122 else 123 min_minor=`@ECHO@ "$optarg" | sed 's/[0-9]*.\([0-9]*\).*/\1/'` 124 fi 125 if test "$optarg" = "$min_major.$min_minor"; then 126 min_patch="0"; 127 else 128 min_patch=`@ECHO@ "$optarg" | sed 's/[0-9]*.[0-9]*.\([0-9]*\).*/\1/'` 129 fi 130 if test "$optarg" = "$min_patch"; then 131 exit 255 132 fi 133 if !(test -n "$min_major" && test -n "$min_minor" \ 134 && test -n "$min_patch"); then 135 exit 255 136 fi 137 if ( test $min_major -gt @YAT_MAJOR_VERSION@ || \ 138 ( test $min_major -eq @YAT_MAJOR_VERSION@ && \ 139 ( test $min_minor -gt @YAT_MINOR_VERSION@ || \ 140 ( test $min_minor -eq @YAT_MINOR_VERSION@ && \ 141 ( test $min_patch -gt @YAT_PATCH_VERSION@ || 142 (test $min_patch -eq @YAT_PATCH_VERSION@ && 143 test "@YAT_DEV_BUILD@" = "true" )))))) ; then 144 exit 1; 145 fi 146 exit 0 118 147 ;; 119 148 --version) -
trunk/configure.ac
r1398 r1406 223 223 # yat specific settings 224 224 YAT_LIBNAME="yat" 225 YAT_LIB="libyat.la"226 225 YAT_LIB_LOCATION="yat" 227 226 AC_SUBST(YAT_LIBNAME)
Note: See TracChangeset
for help on using the changeset viewer.