diff options
| author | Stephen Sinclair <radarsat1@gmail.com> | 2013-10-11 17:51:22 +0200 |
|---|---|---|
| committer | Stephen Sinclair <radarsat1@gmail.com> | 2013-10-11 18:57:30 +0200 |
| commit | f4cf104223cde14e2070ef1b97f0405ce4efd937 (patch) | |
| tree | b6f3585387c00fd62ad40b1f43af59b92946d0e9 | |
| parent | f1dc7619d501ca7c5de745213dd3784de279204c (diff) | |
Fix rtaudio-config (test uses = for string comparison, not ==), and install it.
| -rw-r--r-- | Makefile.in | 2 | ||||
| -rw-r--r-- | rtaudio-config.in | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 5f41cc5..a2ab13c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -47,10 +47,12 @@ install: $(LN) -sf @sharedname@ $(PREFIX)/lib/$(SHARED).$(MAJOR) install --mode=644 $(LIBNAME).pc $(PREFIX)/lib/pkgconfig install --mode=644 RtAudio.h RtError.h $(PREFIX)/include/ + install --mode=755 rtaudio-config $(PREFIX)/bin/ uninstall: -@rm -vf $(patsubst %,$(PREFIX)/lib/%, $(LIBRARIES) $(SHARED).$(MAJOR) $(SHARED).$(RELEASE)) -@rm -vf $(PREFIX)/lib/pkgconfig/$(LIBNAME).pc + -@rm -vf $(PREFIX)/bin/rtaudio-config clean : $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)* diff --git a/rtaudio-config.in b/rtaudio-config.in index 2422b60..e7ff828 100644 --- a/rtaudio-config.in +++ b/rtaudio-config.in @@ -8,11 +8,11 @@ LIBRARY="@LIBS@" CXXFLAGS="@CXXFLAGS@" CPPFLAGS="@CPPFLAGS@" -if (test "x$1" == "x--libs") ; then +if (test "x$1" = "x--libs") ; then echo "$LIBRARY" -elif (test "x$1" == "x--cxxflags") ; then +elif (test "x$1" = "x--cxxflags") ; then echo "$CXXFLAGS" -elif (test "x$1" == "x--cppflags") ; then +elif (test "x$1" = "x--cppflags") ; then echo "$CPPFLAGS" else echo "Unknown option: $1" |
