Commit dc923377 authored by chrfranke's avatar chrfranke
Browse files

configure.ac: Add URL to AC_INIT, remove PACKAGE_HOMEPAGE.

Require autoconf >= 2.64.
Replace PACKAGE_HOMEPAGE with PACKAGE_URL in all files.

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5376 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent a88a860a
$Id$
2022-05-01 Christian Franke <franke@computer.org>
configure.ac: Add URL to AC_INIT, remove PACKAGE_HOMEPAGE.
Require autoconf >= 2.64.
Replace PACKAGE_HOMEPAGE with PACKAGE_URL in all files.
2022-04-30 Christian Franke <franke@computer.org>
INSTALL: Update info about MSVC builds.
......
......@@ -618,7 +618,7 @@ int smartcommandhandler(ata_device * device, smart_command_set command, int sele
else {
// We haven't gotten output that makes sense; print out some debugging info
pout("SMART Status command failed\n");
pout("Please get assistance from %s\n", PACKAGE_HOMEPAGE);
pout("Please get assistance from %s\n", PACKAGE_URL);
pout("Register values returned from SMART Status command are:\n");
print_regs(" ", out.out_regs);
device->set_err(ENOSYS, "Invalid ATA output register values");
......
......@@ -2,8 +2,8 @@
# $Id$
#
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.60])
AC_INIT([smartmontools],[7.4],[smartmontools-support@listi.jpberlin.de])
AC_PREREQ([2.64])
AC_INIT([smartmontools],[7.4],[smartmontools-support@listi.jpberlin.de],[],[https://www.smartmontools.org/])
AM_INIT_AUTOMAKE([1.10 foreign])
# Version of drive database branch
......@@ -25,7 +25,6 @@ fi
smartmontools_cvs_tag=`echo '$Id$'`
AC_DEFINE_UNQUOTED(SMARTMONTOOLS_CONFIGURE_ARGS, "$ac_configure_args", [smartmontools Configure Arguments])
AC_DEFINE_UNQUOTED(CONFIG_H_CVSID, "$smartmontools_cvs_tag", [smartmontools CVS Tag])
AC_DEFINE_UNQUOTED(PACKAGE_HOMEPAGE, "https://www.smartmontools.org/", [smartmontools Home Page])
AC_CONFIG_SRCDIR([smartctl.cpp])
AC_CONFIG_HEADERS([config.h])
......
......@@ -504,7 +504,7 @@ int showallpresets()
knowndrives.size(), knowndrives.custom_size());
pout("For information about adding a drive to the database see the FAQ on the\n");
pout("smartmontools home page: " PACKAGE_HOMEPAGE "\n");
pout("smartmontools home page: " PACKAGE_URL "\n");
if (errcnt > 0)
pout("\nFound %d syntax error(s) in database.\n"
......
......@@ -95,7 +95,7 @@ void printwarning(int msgNo, const char* extra) {
static const char* message[]={
"The SMART RETURN STATUS return value (smartmontools -H option/Directive)\n can not be retrieved with this version of ATAng, please do not rely on this value\nYou should update to at least 5.2\n",
"Error SMART Status command failed\nPlease get assistance from \n" PACKAGE_HOMEPAGE "\nRegister values returned from SMART Status command are:\n",
"Error SMART Status command failed\nPlease get assistance from \n" PACKAGE_URL "\nRegister values returned from SMART Status command are:\n",
"You must specify a DISK # for 3ware drives with -d 3ware,<n> where <n> begins with 1 for first disk drive\n",
......
......@@ -412,7 +412,7 @@ int linux_ata_device::ata_command_interface(smart_command_set command, int selec
// We haven't gotten output that makes sense; print out some debugging info
syserror("Error SMART Status command failed");
pout("Please get assistance from " PACKAGE_HOMEPAGE "\n");
pout("Please get assistance from " PACKAGE_URL "\n");
pout("Register values returned from SMART Status command are:\n");
pout("ST =0x%02x\n",(int)buff[0]);
pout("ERR=0x%02x\n",(int)buff[1]);
......@@ -2369,7 +2369,7 @@ int linux_highpoint_device::ata_command_interface(smart_command_set command, int
return 1;
syserror("Error SMART Status command failed");
pout("Please get assistance from " PACKAGE_HOMEPAGE "\n");
pout("Please get assistance from " PACKAGE_URL "\n");
pout("Register values returned from SMART Status command are:\n");
pout("CMD=0x%02x\n",(int)buff[0]);
pout("FR =0x%02x\n",(int)buff[1]);
......@@ -2416,7 +2416,7 @@ void printwarning(smart_command_set command){
const char* message=
"can not be passed through the 3ware 3w-xxxx driver. This can be fixed by\n"
"applying a simple 3w-xxxx driver patch that can be found here:\n"
PACKAGE_HOMEPAGE "\n"
PACKAGE_URL "\n"
"Alternatively, upgrade your 3w-xxxx driver to version 1.02.00.037 or greater.\n\n";
if (command==AUTO_OFFLINE && !printed[0]) {
......
......@@ -508,7 +508,7 @@ int ata_command_interface(int device, smart_command_set command, int select, cha
// We haven't gotten output that makes sense; print out some debugging info
syserror("Error SMART Status command failed");
pout("Please get assistance from " PACKAGE_HOMEPAGE "\n");
pout("Please get assistance from " PACKAGE_URL "\n");
return -1;
}
......
......@@ -853,7 +853,7 @@ int usbcypress_device::ata_command_interface(smart_command_set command, int sele
syserror("Error SMART Status command failed");
pout("This may be due to a race in usbcypress\n");
pout("Retry without other disc access\n");
pout("Please get assistance from " PACKAGE_HOMEPAGE "\n");
pout("Please get assistance from " PACKAGE_URL "\n");
pout("Values from ATA Return Descriptor are:\n");
dStrHex((const uint8_t *)ardp, ard_len, 1);
return -1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment