sane-project-website/old-archive/2000-11/0249.html

129 wiersze
5.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: Patches for saned/net/scanimage/user-authorizat</TITLE>
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@Wolfsburg.DE)">
<META NAME="Subject" CONTENT="Re: Patches for saned/net/scanimage/user-authorization....">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Patches for saned/net/scanimage/user-authorization....</H1>
<!-- received="Sun Nov 19 03:50:06 2000" -->
<!-- isoreceived="20001119115006" -->
<!-- sent="Sun, 19 Nov 2000 12:59:17 +0100" -->
<!-- isosent="20001119115917" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: Patches for saned/net/scanimage/user-authorization...." -->
<!-- id="3A17C095.B58CA22A@wolfsburg.de" -->
<!-- inreplyto="3A16FA3B.7E1892DC@gno.de" -->
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@Wolfsburg.DE?Subject=Re:%20Patches%20for%20saned/net/scanimage/user-authorization....&In-Reply-To=&lt;3A17C095.B58CA22A@wolfsburg.de&gt;"><EM>oliver.rauch@Wolfsburg.DE</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Nov 19 2000 - 03:59:17 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0250.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0248.html">Oliver Rauch: "Re: scanimage-files in frontend package"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0240.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0250.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0250.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#249">[ date ]</A>
<A HREF="index.html#249">[ thread ]</A>
<A HREF="subject.html#249">[ subject ]</A>
<A HREF="author.html#249">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Jochen Eisinger wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; AC_TRY_COMPILE([
</EM><BR>
<EM>&gt; #include &lt;string.h&gt;],[char *c=index(&quot; &quot;,' ')],,CPPFLAGS=&quot;${CPPFLAGS}
</EM><BR>
<EM>&gt; -DNEED_STRINGS_H&quot;)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; and
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #ifdef NEED_STRINGS_H
</EM><BR>
<EM>&gt; # include &lt;strings.h&gt;
</EM><BR>
<EM>&gt; #else
</EM><BR>
<EM>&gt; # include &lt;string.h&gt;
</EM><BR>
<EM>&gt; #endif
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; should work =)
</EM><BR>
<P>Hi Jochen,
<BR>
<P>I think this test is not nice because
<BR>
you do not test for strings.h at all.
<BR>
<P>Does it work if we include string.h and strings.h if both exist?
<BR>
If yes I suggest to add &quot;strings.h&quot; to
<BR>
AC_CHECK_HEADERS(..)
<BR>
<P>Or we do a AC_TRY_COMPILE([#include &lt;strings.h&gt;...)
<BR>
<P>Bye
<BR>
Oliver
<BR>
<P><P><P><PRE>
--
Homepage: <A HREF="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</A>
sane-umax: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-umax.html">http://www.wolfsburg.de/~rauch/sane/sane-umax.html</A>
xsane: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">http://www.wolfsburg.de/~rauch/sane/sane-xsane.html</A>
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20Patches%20for%20saned/net/scanimage/user-authorization....&In-Reply-To=&lt;3A17C095.B58CA22A@wolfsburg.de&gt;">Oliver.Rauch@Wolfsburg.DE</A>
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Patches%20for%20saned/net/scanimage/user-authorization....&In-Reply-To=&lt;3A17C095.B58CA22A@wolfsburg.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0250.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0248.html">Oliver Rauch: "Re: scanimage-files in frontend package"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0240.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0250.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0250.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#249">[ date ]</A>
<A HREF="index.html#249">[ thread ]</A>
<A HREF="subject.html#249">[ subject ]</A>
<A HREF="author.html#249">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sun Nov 19 2000 - 03:50:55 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>