Changeset 5679:4622adf8136f in roaraudio for build-system


Ignore:
Timestamp:
09/24/12 00:45:34 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support for a function printing help for "common" options as supported by the lib's parser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build-system/configure.lib

    r5678 r5679  
    3131} 
    3232 
     33write_help() { 
     34 echo 'COMMON OPTIONS:' 
     35 echo 
     36 echo '--ldpath DIR                - Add DIR to (compile time) search list for libs' 
     37 echo '--incpath DIR               - Add DIR to search list for headers' 
     38 echo '--addpath DIR               - Add DIR/lib to lib, DIR/include to header search list' 
     39 echo '--root DIR                  - The same as "--addpath DIR --prefix DIR"' 
     40 echo 
     41 echo '--cflags FLAGS              - Sets additional compiler flags (default: '"$CFLAGS"')' 
     42 echo '--ldflags FLAGS             - Sets additional linker flags (default: '"$LDFLAGS"')' 
     43 echo '--opti LEVEL                - Sets optimizer level (default: '"$OPTI_O"')' 
     44 echo '--link-deps MODE            - Model for linking dependencies: auto, full or indirect' 
     45 echo 
     46 echo '--cc CC                     - Set name of C compiler (CC) to CC' 
     47 echo '--ranlib RANLIB             - Set name of ranlib (RANLIB) to RANLIB' 
     48 echo 
     49 echo '--root-uid UID              - Sets User ID (UID) of the root user/superuser' 
     50 echo 
     51 echo '--no-LIB                    - disable library LIB' 
     52 echo '--maybe-LIB                 - autodetect library LIB (default)' 
     53 echo 
     54 echo '--prefix DIR                - Set general prefix (default: '"$PREFIX"')' 
     55 echo '--prefix-bin DIR            - Set prefix for binaries (default: $PREFIX/bin)' 
     56 echo '--prefix-lib DIR            - Set prefix for libraries (default: $PREFIX/libs)' 
     57 echo '--prefix-inc DIR            - Set prefix for include files (default: $PREFIX/include)' 
     58 echo '--prefix-man DIR            - Set prefix for manpages (default: $PREFIX/man)' 
     59 echo '--prefix-pc DIR             - Set prefix for pkg-config (default: $PREFIX_LIB/pkgconfig)' 
     60 echo 
     61 echo '--without-beta              - Disable beta code' 
     62 echo '--without-experimental      - Disable experimental code' 
     63 echo 
     64 echo '--distribution-version-string STRING' 
     65 echo '                            - Sets distribution part of version string' 
     66 echo 
     67 echo '--mmcu MMCU                 - Sets -mmcu compiler/linker option' 
     68 echo '--target-win32              - Disable everything useful' 
     69 echo '--exec-helper HELPER        - Exec all test programms using this command (HELPER $cmd $args)' 
     70 echo '                              use '\''--exec-helper wine'\'' when building win32 binaries' 
     71 echo 
     72} 
     73 
    3374parse_option() { 
    3475 # Options are given via $n. 
Note: See TracChangeset for help on using the changeset viewer.