Changeset 7173c8f8dd6793c944734937c21ebfcdd47c43c0

Show
Ignore:
Timestamp:
06/20/07 23:01:26 (1 year ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1182373286 +0000
git-parent:

[12d8104c4fc3a6187f6cb99fabd293a7cced73f6]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1182373286 +0000
Message:

bootstrap: Make sure we warn the user when no contrib is present on Mac OS X.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bootstrap

    rbfa762d r7173c8f  
    4141  fi 
    4242  if test ".`uname -s`" = ".Darwin"; then 
    43     # Make sure contrib has been built 
    44     if test ! -e ./extras/contrib/config.mak; then 
    45         set +x 
    46         echo "" 
    47         echo "ERR: Contribs haven't been built" 
    48         echo "ERR: Please run:" 
    49         echo "" 
    50         echo "ERR:    'cd extras/contrib && ./bootstrap && make && cd ../..'" 
    51         echo "" 
    52         echo "ERR: Make sure fink has been disabled too" 
    53         echo "" 
    54         set -x 
    55         exit 1 
    56     fi 
    5743    export LD_LIBRARY_PATH=./extras/contrib/lib:$LD_LIBRARY_PATH 
    5844    export DYLD_LIBRARY_PATH=./extras/contrib/lib:$DYLD_LIBRARY_PATH 
     
    6046    export LIBRARY_PATH=./extras/contrib/lib:$LIBRARY_PATH 
    6147    export BELIBRARIES=./extras/contrib/lib:$BELIBRARIES 
     48  fi 
     49elif test ".`uname -s`" = ".Darwin"; then 
     50  # Make sure contrib has been built 
     51  if test ! -e ./extras/contrib/config.mak; then 
     52    set +x 
     53    echo "" 
     54    echo "ERR: Contribs haven't been built" 
     55    echo "ERR: Please run:" 
     56    echo "ERR: " 
     57    echo "ERR:    'cd extras/contrib && ./bootstrap && make && cd ../..'" 
     58    echo "ERR: " 
     59    echo "ERR: Make sure fink has been disabled too." 
     60    echo "" 
     61    set -x 
     62    exit 1 
    6263  fi 
    6364fi