annotate m4/artsc.m4 @ 12617:49499dec9346

[gaim-migrate @ 14953] I need to go to sleep. * Truncate oscar available messages at 60 characters * Change (pending) to (retrieving...) in oscar tooltips The webaware checkbox still doesn't work (it's still permanently disabled, I think) committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 22 Dec 2005 04:07:00 +0000
parents 64d8ef561763
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2179
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
1 dnl Test for the ArtsC interface.
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
2
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
3 AC_DEFUN([AM_PATH_ARTSC],
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
4 [
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
5 AC_ARG_ENABLE(artsc-test,
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
6 [ --disable-artsc-test Do not compile and run a test ArtsC program.],
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
7 [artsc_test="yes"],
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
8 [artsc_test="no"])
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
9
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
10 dnl Search for the arts-config program.
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
11 AC_PATH_PROG(ARTSC_CONFIG, artsc-config, no)
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
12 min_artsc_version=ifelse([$1],,0.9.5,$1)
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
13 AC_MSG_CHECKING(for ArtsC - version >= $min_artsc_version)
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
14
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
15 no_artsc=""
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
16 if test "x$ARTSC_CONFIG" != "xno"; then
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
17 ARTSC_CFLAGS=`$ARTSC_CONFIG --cflags`
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
18 ARTSC_LIBS=`$ARTSC_CONFIG --libs`
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
19
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
20 artsc_major_version=`$ARTSC_CONFIG $artsc_args --version | \
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
21 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
22 artsc_minor_version=`$ARTSC_CONFIG $artsc_args --version | \
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
23 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
24 artsc_micro_version=`$ARTSC_CONFIG $artsc_config_args --version | \
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
25 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
26
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
27 # Test if a simple ArtsC program can be created.
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
28 if test "x$artsc_test" = "xyes"; then
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
29 ac_save_CFLAGS="$CFLAGS"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
30 ac_save_LIBS="$LIBS"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
31 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
32 LIBS="$LIBS $ARTSC_LIBS"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
33
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
34 rm -f conf.artsc
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
35 AC_TRY_RUN([
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
36 #include <stdio.h>
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
37 #include <stdlib.h>
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
38 #include <string.h>
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
39
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
40 #include <artsc.h>
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
41
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
42 char*
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
43 my_strdup(char *str)
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
44 {
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
45 char *new_str;
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
46
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
47 if (str) {
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
48 new_str = malloc((strlen(str) + 1) * sizeof(char));
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
49 strcpy(new_str, str);
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
50 } else {
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
51 new_str = NULL;
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
52 }
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
53
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
54 return new_str;
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
55 }
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
56
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
57 int main()
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
58 {
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
59 int major, minor, micro;
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
60 char *tmp_version;
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
61
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
62 system ("touch conf.artsc");
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
63
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
64 /* HP/UX 9 writes to sscanf strings */
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
65 tmp_version = my_strdup("$min_artsc_version");
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
66 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
67 printf("%s, bad version string\n", "$min_artsc_version");
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
68 exit(1);
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
69 }
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
70
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
71 if (($artsc_major_version > major) ||
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
72 (($artsc_major_version == major) && ($artsc_minor_version > minor)) ||
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
73 (($artsc_major_version == major) && ($artsc_minor_version == minor)
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
74 && ($artsc_micro_version >= micro))) {
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
75 return 0;
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
76 } else {
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
77 printf("\n*** 'artsc-config --version' returned %d.%d.%d, but the minimum version\n", $artsc_major_version, $artsc_minor_version, $artsc_micro_version);
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
78 printf("*** of ARTSC required is %d.%d.%d. If artsc-config is correct, then it is\n", major, minor, micro);
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
79 printf("*** best to upgrade to the required version.\n");
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
80 printf("*** If artsc-config was wrong, set the environment variable ARTSC_CONFIG\n");
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
81 printf("*** to point to the correct copy of artsc-config, and remove the file\n");
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
82 printf("*** config.cache before re-running configure\n");
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
83 return 1;
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
84 }
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
85 }
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
86 ],, no_artsc=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
87 CFLAGS="$ac_save_CFLAGS"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
88 LIBS="$ac_save_LIBS"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
89 fi
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
90 else
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
91 no_artsc=yes
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
92 fi
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
93
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
94 if test "x$no_artsc" != "xyes"; then
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
95 AC_MSG_RESULT(yes)
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
96 ifelse([$2], , :, [$2])
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
97 else
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
98 AC_MSG_RESULT(no)
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
99
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
100 if test "x$ARTSC_CONFIG" = "xno" ; then
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
101 echo "*** The artsc-config script installed by ArtsC could not be found"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
102 echo "*** If ArtsC was installed in PREFIX, make sure PREFIX/bin is in"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
103 echo "*** your path, or set the ARTSC_CONFIG environment variable to the"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
104 echo "*** full path to artsc-config."
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
105 else
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
106 if test -f conf.artsc ; then
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
107 :
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
108 else
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
109 echo "*** Could not run ArtsC test program, checking why..."
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
110 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
111 LIBS="$LIBS $ARTSC_LIBS"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
112 AC_TRY_LINK([
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
113 #include <stdio.h>
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
114 #include <artsc.h>
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
115 ],[return 0;],
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
116 [ echo "*** The test program compiled, but did not run. This usually means"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
117 echo "*** that the run-time linker is not finding ArtsC or finding the wrong"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
118 echo "*** version of ArtsC. If it is not finding ArtsC, you'll need to set your"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
119 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
120 echo "*** to the installed location Also, make sure you have run ldconfig if that"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
121 echo "*** is required on your system"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
122 echo "***"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
123 echo "*** If you have an old version installed, it is best to remove it, although"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
124 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
125 [ echo "*** The test program failed to compile or link. See the file config.log for the"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
126 echo "*** exact error that occured. This usually means ArtsC was incorrectly installed"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
127 echo "*** or that you have moved ArtsC since it was installed. In the latter case, you"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
128 echo "*** may want to edit the artsc-config script: $ARTSC_CONFIG" ])
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
129 CFLAGS="$ac_save_CFLAGS"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
130 LIBS="$ac_save_LIBS"
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
131 fi
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
132 fi
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
133 ARTSC_CFLAGS=""
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
134 ARTSC_LIBS=""
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
135 ifelse([$3], , :, [$3])
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
136 fi
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
137
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
138 AC_SUBST(ARTSC_CFLAGS)
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
139 AC_SUBST(ARTSC_LIBS)
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
140 rm -f conf.artsc
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
141
64d8ef561763 [gaim-migrate @ 2189]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
142 ])