# 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:
