Changeset 63a5739
- Timestamp:
- 06/06/09 13:08:46 (15 years ago)
- Branches:
- master
- Children:
- 44f59b8
- Parents:
- f7b30b9
- git-author:
- Mateusz Hromada <ruanda@…> (06/06/09 13:08:46)
- git-committer:
- Mateusz Hromada <ruanda@…> (06/06/09 13:08:46)
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
auto/options
r8338227 r63a5739 2 2 3 3 help=no 4 quiet=no 4 5 5 PROJECT_NAME='utt' 6 PROJECT_FULLNAME='UAM Text Tools' 7 PROJECT_COPYRIGHT='Copyright (C) UTT Team' 8 PROJECT_VERSION='0.9.3' 9 PROJECT_PAGE='http://utt.wmi.amu.edu.pl' 10 PROJECT_MAIL='utt@wmid.amu.edu.pl' 6 if [ -z "$PROJECT_NAME" ]; then PROJECT_NAME=$DEFAULT_PROJECT_NAME; fi 7 if [ -z "$PROJECT_FULLNAME" ]; then PROJECT_FULLNAME=$DEFAULT_PROJECT_FULLNAME; fi 8 if [ -z "$PROJECT_COPYRIGHT" ]; then PROJECT_COPYRIGHT=$DEFAULT_PROJECT_COPYRIGHT; fi 9 if [ -z "$PROJECT_VERSION" ]; then PROJECT_VERSION=$DEFAULT_PROJECT_VERSION; fi 10 if [ -z "$PROJECT_PAGE" ]; then PROJECT_PAGE=$DEFAULT_PROJECT_PAGE; fi 11 if [ -z "$PROJECT_MAIL" ]; then PROJECT_MAIL=$DEFAULT_PROJECT_MAIL; fi 11 12 12 SHELL='/bin/sh' 13 CC='/usr/bin/gcc' 14 BISON='/usr/bin/bison' 15 RM='/bin/rm -f' 16 RMDIR='/bin/rm -rf' 17 TEST='/usr/bin/test' 18 MAKE='/usr/bin/make' 19 GREP='/bin/grep' 20 CUT='/usr/bin/cut' 21 SORT='/usr/bin/sort' 22 PR='/usr/bin/pr' 13 if [ -z "$SHELL" ]; then SHELL=$DEFAULT_SHELL; fi 14 if [ -z "$CC" ]; then CC=$DEFAULT_CC; fi 15 if [ -z "$BISON" ]; then BISON=$DEFAULT_BISON; fi 16 if [ -z "$RM" ]; then RM=$DEFAULT_RM; fi 17 if [ -z "$RMDIR" ]; then RMDIR=$DEFAULT_RMDIR; fi 18 if [ -z "$TEST" ]; then TEST=$DEFAULT_TEST; fi 19 if [ -z "$MAKE" ]; then MAKE=$DEFAULT_MAKE; fi 20 if [ -z "$GREP" ]; then GREP=$DEFAULT_GREP; fi 21 if [ -z "$CUT" ]; then CUT=$DEFAULT_CUT; fi 22 if [ -z "$SORT" ]; then SORT=$DEFAULT_SORT; fi 23 if [ -z "$PR" ]; then PR=$DEFAULT_PR; fi 23 24 24 CFLAGS='-g -O2 -Wall' 25 LDFLAGS='' 26 LDLIBS='' 27 BFLAGS='' 25 if [ -z "$CFLAGS" ]; then CFLAGS=$DEFAULT_CFLAGS; fi 26 if [ -z "$LDFLAGS" ]; then LDFLAGS=$DEFAULT_LDFLAGS; fi 27 if [ -z "$LDLIBS" ]; then LDLIBS=$DEFAULT_LDLIBS; fi 28 if [ -z "$BFLAGS" ]; then BFLAGS=$DEFAULT_BFLAGS; fi 28 29 29 DESTDIR= 30 if [ -z "$DESTDIR" ]; then DESTDIR=$DEFAULT_DESTDIR; fi 30 31 31 prefix='/usr/local' 32 exec_prefix='$(prefix)' 33 bindir='$(exec_prefix)/bin' 34 sbindir='$(exec_prefix)/sbin' 35 datarootdir='$(prefix)/share' 36 datadir='$(datarootdir)' 37 sysconfdir='$(prefix)/etc' 38 sharedstatedir='$(prefix)/com' 39 localstatedir='$(prefix)/var' 32 if [ -z "$prefix" ]; then prefix=$DEFAULT_prefix; fi 33 if [ -z "$exec_prefix" ]; then exec_prefix=$DEFAULT_exec_prefix; fi 34 if [ -z "$bindir" ]; then bindir=$DEFAULT_bindir; fi 35 if [ -z "$sbindir" ]; then sbindir=$DEFAULT_sbindir; fi 36 if [ -z "$datarootdir" ]; then datarootdir=$DEFAULT_datarootdir; fi 37 if [ -z "$datadir" ]; then datadir=$DEFAULT_datadir; fi 38 if [ -z "$sysconfdir" ]; then sysconfdir=$DEFAULT_sysconfdir; fi 39 if [ -z "$sharedstatedir" ]; then sharedstatedir=$DEFAULT_sharedstatedir; fi 40 if [ -z "$localstatedir" ]; then localstatedir=$DEFAULT_localstatedir; fi 40 41 41 42 for option … … 49 50 case "$option" in 50 51 --help) help=yes ;; 52 --quiet) quiet=yes ;; 51 53 52 54 --prefix=*) prefix="$value" ;; -
auto/summary
rc08f3b1 r63a5739 1 1 #!/bin/sh 2 3 if [ "$quiet" = "yes" ]; then return; fi 2 4 3 5 cat << SUMMARY_END 4 6 7 Project name : $PROJECT_NAME 8 Project fullname : $PROJECT_FULLNAME 9 Project copyright : $PROJECT_COPYRIGHT 10 Project version : $PROJECT_VERSION 11 Project page : $PROJECT_PAGE 12 Project mail : $PROJECT_MAIL 13 5 14 Configuration summary 6 15 7 prefix : $prefix 8 exec-prefix : $exec_prefix 9 bindir : $bindir 10 sbindir : $sbindir 11 datarootdir : $datarootdir 12 datadir : $datadir 13 sysconfdir : $sysconfdir 14 sharedstatedir : $sharedstatedir 15 localstatedir : $localstatedir 16 DESTDIR : $DESTDIR 16 17 17 SHELL : $SHELL 18 CC : $CC 19 BISON : $BISON 20 RM : $RM 21 RMDIR : $RMDIR 22 TEST : $TEST 23 MAKE : $MAKE 24 GREP : $GREP 25 CUT : $CUT 26 SORT : $SORT 27 PR : $PR 18 prefix : $prefix 19 exec_prefix : $exec_prefix 20 bindir : $bindir 21 sbindir : $sbindir 22 datarootdir : $datarootdir 23 datadir : $datadir 24 sysconfdir : $sysconfdir 25 sharedstatedir : $sharedstatedir 26 localstatedir : $localstatedir 28 27 29 CFLAGS : $CFLAGS 30 LDFLAGS : $LDFLAGS 31 LDLIBS : $LDLIBS 32 BFLAGS : $BFLAGS 28 SHELL : $SHELL 29 CC : $CC 30 BISON : $BISON 31 RM : $RM 32 RMDIR : $RMDIR 33 TEST : $TEST 34 MAKE : $MAKE 35 GREP : $GREP 36 CUT : $CUT 37 SORT : $SORT 38 PR : $PR 39 40 CFLAGS : $CFLAGS 41 LDFLAGS : $LDFLAGS 42 LDLIBS : $LDLIBS 43 BFLAGS : $BFLAGS 33 44 34 45 SUMMARY_END 35 -
configure
rf7b30b9 r63a5739 1 1 #!/bin/sh 2 2 3 . ./auto/defaults 3 4 . ./auto/options 4 5
Note: See TracChangeset
for help on using the changeset viewer.