/[pkg-mixmaster]/trunk/Mix/Install
ViewVC logotype

Diff of /trunk/Mix/Install

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 404 by weaselp, Sat Dec 14 20:20:03 2002 UTC revision 408 by weaselp, Sat Dec 14 20:56:04 2002 UTC
# Line 6  Line 6 
6  # ANY KIND, either express or implied. See the file COPYRIGHT for  # ANY KIND, either express or implied. See the file COPYRIGHT for
7  # details.  # details.
8    
9  # $Id: Install,v 1.24 2002/12/14 20:20:03 weaselp Exp $  # $Id: Install,v 1.26 2002/12/14 20:56:04 weaselp Exp $
10    
11  #whereis program default-path  #whereis program default-path
12  whereis()  whereis()
# Line 154  findlib() Line 154  findlib()
154   if [ "$type" = system ]   if [ "$type" = system ]
155   then   then
156    LIB=    LIB=
157    LDFLAG=-l`echo $lib | sed 's/^lib//;s/\.a$//'`    LDFLAG="-l`echo $lib | sed 's/^lib//;s/\.a$//'` -L$found"
158      if [ "$found" = "/usr/local/lib" ]
159      then
160        INCDIR="/usr/local/include $INCDIR"
161      fi
162   fi   fi
163    
164   incdir=$INCDIR   incdir=$INCDIR
# Line 677  int main() { Line 681  int main() {
681    exit(0);    exit(0);
682  }  }
683  END  END
684     if gcc $INC tmptst.c -o /dev/null     if gcc $LDFLAGS $INC tmptst.c -o /dev/null
685     then     then
686       DEF="$DEF -DUSE_IDEA"       DEF="$DEF -DUSE_IDEA"
687     else     else

Legend:
Removed from v.404  
changed lines
  Added in v.408

  ViewVC Help
Powered by ViewVC 1.1.5