Perhaps you need to install pkgconfig on your system? You will also need to make some modifications to backend/Makefile.am. See doc/backend-writing.txt (which really should be updated to suggest not running autoreconf, as per doc/releases.txt)
allan On Mon, Nov 3, 2014 at 6:09 AM, 无极 <[email protected]> wrote: > Hello Mr all: > I want to add a new backend, but failed. Could you please give me some > advice, Thank you. > > step 1>Download the git-version environment > "sane-backends-git20141103.tar.gz", > from: http://www.sane-project.org/snapshots/ > step 2> Add the backend name to ALL_BACKENDS in configure.in > step 3> Add the source code files to the backend/ directories. > step 4> Run autoreconf. > ↑ Errors Occured > Error information: > Possibly undefined macro: AC_DEFINE > If this token and others are legitimate, please use m4_pattern_allow. > > I am not sure if the problem is the git-environment, > > Best Regard, Thanks ! > > -- > sane-devel mailing list: [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to [email protected] -- "well, I stand up next to a mountain- and I chop it down with the edge of my hand" -- sane-devel mailing list: [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to [email protected]
