Marco Nelissen | 548dde4 | 2014-01-07 10:11:28 -0800 | [diff] [blame] | 1 | dnl |
| 2 | dnl Define external references |
| 3 | dnl |
| 4 | dnl Define once, use many times. |
| 5 | dnl No more URLs and Mail addresses in translated strings and stuff. |
| 6 | dnl |
| 7 | |
| 8 | AC_DEFUN([GP_REF],[ |
| 9 | AC_SUBST([$1],["$2"]) |
| 10 | AC_DEFINE_UNQUOTED([$1],["$2"],[$3]) |
| 11 | ]) |
| 12 | |
| 13 | AC_DEFUN([GP_REFERENCES], |
| 14 | [ |
| 15 | |
| 16 | GP_REF( [URL_GPHOTO_HOME], |
| 17 | [http://www.gphoto.org/], |
| 18 | [gphoto project home page])dnl |
| 19 | |
| 20 | GP_REF( [URL_GPHOTO_PROJECT], |
| 21 | [http://sourceforge.net/projects/gphoto], |
| 22 | [gphoto sourceforge project page]) |
| 23 | |
| 24 | GP_REF( [URL_DIGICAM_LIST], |
| 25 | [http://www.teaser.fr/~hfiguiere/linux/digicam.html], |
| 26 | [camera list with support status]) |
| 27 | |
| 28 | GP_REF( [URL_JPHOTO_HOME], |
| 29 | [http://jphoto.sourceforge.net/], |
| 30 | [jphoto home page]) |
| 31 | |
| 32 | GP_REF( [URL_USB_MASSSTORAGE], |
| 33 | [http://www.linux-usb.org/USB-guide/x498.html], |
| 34 | [information about using USB mass storage]) |
| 35 | |
| 36 | GP_REF( [MAIL_GPHOTO_DEVEL], |
| 37 | [<gphoto-devel@lists.sourceforge.net>], |
| 38 | [gphoto development mailing list]) |
| 39 | |
| 40 | GP_REF( [MAIL_GPHOTO_USER], |
| 41 | [<gphoto-user@lists.sourceforge.net>], |
| 42 | [gphoto user mailing list]) |
| 43 | |
| 44 | GP_REF( [MAIL_GPHOTO_TRANSLATION], |
| 45 | [<gphoto-translation@lists.sourceforge.net>], |
| 46 | [gphoto translation mailing list]) |
| 47 | |
| 48 | ]) |