#ifndef AUTOLINK_H__
#define AUTOLINK_H__
# define MY_STRINGIZE(X) MY_DO_STRINGIZE(X)
# define MY_DO_STRINGIZE(X) #X
#ifdef _MSC_VER
# ifndef MY_LIBEXTNAME
# ifdef _DEBUG
# define MY_LIBEXTNAME "d.lib"
# else
# define MY_LIBEXTNAME ".lib"
# endif
# endif
# ifdef MY_LIB_NAME
# ifndef MY_NO_AUTO_LINK
# pragma comment(lib, MY_STRINGIZE(MY_LIB_NAME) MY_LIBEXTNAME)
# pragma message("Linking to lib file: " MY_STRINGIZE(MY_LIB_NAME) MY_LIBEXTNAME)
# endif
# undef MY_LIB_NAME
# else
# error "undefine MY_LIB_NAME"
# endif
#else
# undef MY_LIB_NAME
#endif
#endif