1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# gp-references.m4 - define some URLs as constants -*- Autoconf -*-
# serial 13
dnl | Increment the above serial number every time you edit this file.
dnl | When it finds multiple m4 files with the same name,
dnl | aclocal will use the one with the highest serial.
dnl
dnl
dnl Define external references
dnl
dnl Define once, use many times.
dnl No more URLs and Mail addresses in translated strings and stuff.
dnl
AC_DEFUN([GP_REF],[
AC_SUBST([$1],["$2"])
AC_DEFINE_UNQUOTED([$1],["$2"],[$3])
])
AC_DEFUN([GP_REFERENCES],
[
GP_REF( [URL_GPHOTO_HOME],
[http://www.gphoto.org/],
[gphoto project home page])dnl
GP_REF( [URL_GPHOTO_PROJECT],
[https://github.com/gphoto],
[gphoto github project page])
GP_REF( [URL_DIGICAM_LIST],
[http://gphoto.org/proj/libgphoto2/support.php],
[camera list with support status])
GP_REF( [URL_JPHOTO_HOME],
[http://jphoto.sourceforge.net/],
[jphoto home page])
GP_REF( [URL_USB_MASSSTORAGE],
[http://www.linux-usb.org/USB-guide/x498.html],
[information about using USB mass storage])
GP_REF( [MAIL_GPHOTO_DEVEL],
[<gphoto-devel@lists.sourceforge.net>],
[gphoto development mailing list])
GP_REF( [MAIL_GPHOTO_USER],
[<gphoto-user@lists.sourceforge.net>],
[gphoto user mailing list])
GP_REF( [MAIL_GPHOTO_TRANSLATION],
[<gphoto-translation@lists.sourceforge.net>],
[gphoto translation mailing list])
])
dnl
dnl
dnl ####################################################################
dnl
dnl Local Variables:
dnl mode: autoconf
dnl End:
|