Skip to content

Commit

Permalink
configure: Fix detection of OS.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmalsburg committed Jan 20, 2016
1 parent 2897186 commit 0052e13
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions configure
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
#!/bin/bash

#make the Makevars file
#if [ ! -e "./src/Makevars" ]; then
touch ./src/Makevars
#fi

#if mac
if [[ `uname` -eq Darwin ]] ; then
if [[ `uname` == Darwin ]] ; then

echo "PKG_LIBS=-framework edfapi -F/Library/Frameworks/" > ./src/Makevars
#if linux
elif [[ `uname` -eq Linux ]] ;then
elif [[ `uname` == Linux ]] ; then

echo "PKG_LIBS=-L/usr/lib -ledfapi -lm" > ./src/Makevars

Expand Down

0 comments on commit 0052e13

Please sign in to comment.