OLD | NEW |
1 # Configure paths for libopus | 1 # Configure paths for libopus |
2 # Gregory Maxwell <greg@xiph.org> 08-30-2012 | 2 # Gregory Maxwell <greg@xiph.org> 08-30-2012 |
3 # Shamelessly stolen from Jack Moffitt (libogg) who | 3 # Shamelessly stolen from Jack Moffitt (libogg) who |
4 # Shamelessly stole from Owen Taylor and Manish Singh | 4 # Shamelessly stole from Owen Taylor and Manish Singh |
5 | 5 |
6 dnl XIPH_PATH_OPUS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) | 6 dnl XIPH_PATH_OPUS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) |
7 dnl Test for libopus, and define OPUS_CFLAGS and OPUS_LIBS | 7 dnl Test for libopus, and define OPUS_CFLAGS and OPUS_LIBS |
8 dnl | 8 dnl |
9 AC_DEFUN([XIPH_PATH_OPUS], | 9 AC_DEFUN([XIPH_PATH_OPUS], |
10 [dnl | 10 [dnl |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 [ echo "*** The test program compiled, but did not run. This usually mean
s" | 95 [ echo "*** The test program compiled, but did not run. This usually mean
s" |
96 echo "*** that the run-time linker is not finding Opus or finding the wro
ng" | 96 echo "*** that the run-time linker is not finding Opus or finding the wro
ng" |
97 echo "*** version of Opus. If it is not finding Opus, you'll need to set
your" | 97 echo "*** version of Opus. If it is not finding Opus, you'll need to set
your" |
98 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf t
o point" | 98 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf t
o point" |
99 echo "*** to the installed location Also, make sure you have run ldconfi
g if that" | 99 echo "*** to the installed location Also, make sure you have run ldconfi
g if that" |
100 echo "*** is required on your system" | 100 echo "*** is required on your system" |
101 echo "***" | 101 echo "***" |
102 echo "*** If you have an old version installed, it is best to remove it,
although" | 102 echo "*** If you have an old version installed, it is best to remove it,
although" |
103 echo "*** you may also be able to get things to work by modifying LD_LIBR
ARY_PATH"], | 103 echo "*** you may also be able to get things to work by modifying LD_LIBR
ARY_PATH"], |
104 [ echo "*** The test program failed to compile or link. See the file conf
ig.log for the" | 104 [ echo "*** The test program failed to compile or link. See the file conf
ig.log for the" |
105 echo "*** exact error that occured. This usually means Opus was incorrect
ly installed" | 105 echo "*** exact error that occurred. This usually means Opus was incorrec
tly installed" |
106 echo "*** or that you have moved Opus since it was installed." ]) | 106 echo "*** or that you have moved Opus since it was installed." ]) |
107 CFLAGS="$ac_save_CFLAGS" | 107 CFLAGS="$ac_save_CFLAGS" |
108 LIBS="$ac_save_LIBS" | 108 LIBS="$ac_save_LIBS" |
109 fi | 109 fi |
110 OPUS_CFLAGS="" | 110 OPUS_CFLAGS="" |
111 OPUS_LIBS="" | 111 OPUS_LIBS="" |
112 ifelse([$2], , :, [$2]) | 112 ifelse([$2], , :, [$2]) |
113 fi | 113 fi |
114 AC_SUBST(OPUS_CFLAGS) | 114 AC_SUBST(OPUS_CFLAGS) |
115 AC_SUBST(OPUS_LIBS) | 115 AC_SUBST(OPUS_LIBS) |
116 rm -f conf.opustest | 116 rm -f conf.opustest |
117 ]) | 117 ]) |
OLD | NEW |